Changes in kernel/generic/src/mm/tlb.c [9432f08:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/tlb.c
r9432f08 r63e27ef 43 43 #include <mm/asid.h> 44 44 #include <arch/mm/tlb.h> 45 #include <assert.h> 45 46 #include <smp/ipi.h> 46 47 #include <synch/spinlock.h> … … 50 51 #include <arch.h> 51 52 #include <panic.h> 52 #include <debug.h>53 53 #include <cpu.h> 54 54 … … 152 152 void tlb_shootdown_ipi_recv(void) 153 153 { 154 ASSERT(CPU);154 assert(CPU); 155 155 156 156 CPU->tlb_active = false; … … 159 159 160 160 irq_spinlock_lock(&CPU->lock, false); 161 ASSERT(CPU->tlb_messages_count <= TLB_MESSAGE_QUEUE_LEN);161 assert(CPU->tlb_messages_count <= TLB_MESSAGE_QUEUE_LEN); 162 162 163 163 size_t i; … … 176 176 break; 177 177 case TLB_INVL_PAGES: 178 ASSERT(count);178 assert(count); 179 179 tlb_invalidate_pages(asid, page, count); 180 180 break;
Note:
See TracChangeset
for help on using the changeset viewer.