Rev 2410 | Rev 2415 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2410 | Rev 2411 | ||
|---|---|---|---|
| Line 48... | Line 48... | ||
| 48 | 48 | ||
| 49 | ::: "r1" |
49 | ::: "r1" |
| 50 | ); |
50 | ); |
| 51 | } |
51 | } |
| 52 | 52 | ||
| - | 53 | ||
| 53 | /** Invalidate all entries in TLB that belong to specified address space. |
54 | /** Invalidate all entries in TLB that belong to specified address space. |
| 54 | * |
55 | * |
| 55 | * @param asid This parameter is ignored as the ARM architecture doesn't support it. |
56 | * @param asid This parameter is ignored as the ARM architecture doesn't support it. |
| 56 | */ |
57 | */ |
| 57 | void tlb_invalidate_asid(asid_t asid) |
58 | void tlb_invalidate_asid(asid_t asid) |
| 58 | { |
59 | { |
| 59 | tlb_invalidate_all(); |
60 | tlb_invalidate_all(); |
| 60 | } |
61 | } |
| 61 | 62 | ||
| - | 63 | ||
| 62 | /** Invalidate single entry in TLB |
64 | /** Invalidate single entry in TLB |
| 63 | * |
65 | * |
| 64 | * @param page Virtual adress of the page |
66 | * @param page Virtual adress of the page |
| 65 | */ |
67 | */ |
| 66 | static inline void invalidate_page(uintptr_t page) |
68 | static inline void invalidate_page(uintptr_t page) |
| Line 71... | Line 73... | ||
| 71 | : /* no output */ |
73 | : /* no output */ |
| 72 | : "r"(page) /* input */ |
74 | : "r"(page) /* input */ |
| 73 | ); |
75 | ); |
| 74 | } |
76 | } |
| 75 | 77 | ||
| - | 78 | ||
| 76 | /** Invalidate TLB entries for specified page range belonging to specified address space. |
79 | /** Invalidate TLB entries for specified page range belonging to specified address space. |
| 77 | * |
80 | * |
| 78 | * @param asid This parameter is ignored as the ARM architecture doesn't support it. |
81 | * @param asid This parameter is ignored as the ARM architecture doesn't support it. |
| 79 | * @param page Address of the first page whose entry is to be invalidated. |
82 | * @param page Address of the first page whose entry is to be invalidated. |
| 80 | * @param cnt Number of entries to invalidate. |
83 | * @param cnt Number of entries to invalidate. |