Changes in kernel/generic/src/mm/tlb.c [63e27ef:9432f08] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/tlb.c
r63e27ef r9432f08 43 43 #include <mm/asid.h> 44 44 #include <arch/mm/tlb.h> 45 #include <assert.h>46 45 #include <smp/ipi.h> 47 46 #include <synch/spinlock.h> … … 51 50 #include <arch.h> 52 51 #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.