Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/sun4v/as.c

    r63e27ef re08162b  
    3737#include <arch/mm/pagesize.h>
    3838#include <arch/mm/tlb.h>
    39 #include <assert.h>
    4039#include <genarch/mm/page_ht.h>
    4140#include <genarch/mm/asid_fifo.h>
     41#include <debug.h>
    4242#include <config.h>
    4343#include <arch/sun4v/hypercall.h>
     
    5050#include <bitops.h>
    5151#include <macros.h>
    52 #include <mem.h>
     52#include <memstr.h>
    5353
    5454#endif /* CONFIG_TSB */
     
    121121        uintptr_t base = ALIGN_DOWN(config.base, 1 << KERNEL_PAGE_WIDTH);
    122122       
    123         assert(as->arch.tsb_description.tsb_base);
     123        ASSERT(as->arch.tsb_description.tsb_base);
    124124        uintptr_t tsb = PA2KA(as->arch.tsb_description.tsb_base);
    125125       
     
    160160        uintptr_t base = ALIGN_DOWN(config.base, 1 << KERNEL_PAGE_WIDTH);
    161161       
    162         assert(as->arch.tsb_description.tsb_base);
     162        ASSERT(as->arch.tsb_description.tsb_base);
    163163       
    164164        uintptr_t tsb = PA2KA(as->arch.tsb_description.tsb_base);
Note: See TracChangeset for help on using the changeset viewer.