Rev 1787 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1904 | ||
---|---|---|---|
Line 159... | Line 159... | ||
159 | asid = CPU->tlb_messages[i].asid; |
159 | asid = CPU->tlb_messages[i].asid; |
160 | page = CPU->tlb_messages[i].page; |
160 | page = CPU->tlb_messages[i].page; |
161 | count = CPU->tlb_messages[i].count; |
161 | count = CPU->tlb_messages[i].count; |
162 | 162 | ||
163 | switch (type) { |
163 | switch (type) { |
164 | case TLB_INVL_ALL: |
164 | case TLB_INVL_ALL: |
165 | tlb_invalidate_all(); |
165 | tlb_invalidate_all(); |
166 | break; |
166 | break; |
167 | case TLB_INVL_ASID: |
167 | case TLB_INVL_ASID: |
168 | tlb_invalidate_asid(asid); |
168 | tlb_invalidate_asid(asid); |
169 | break; |
169 | break; |
170 | case TLB_INVL_PAGES: |
170 | case TLB_INVL_PAGES: |
171 | ASSERT(count); |
171 | ASSERT(count); |
172 | tlb_invalidate_pages(asid, page, count); |
172 | tlb_invalidate_pages(asid, page, count); |
173 | break; |
173 | break; |
174 | default: |
174 | default: |
175 | panic("unknown type (%d)\n", type); |
175 | panic("unknown type (%d)\n", type); |
176 | break; |
176 | break; |
177 | } |
177 | } |
178 | if (type == TLB_INVL_ALL) |
178 | if (type == TLB_INVL_ALL) |
179 | break; |
179 | break; |