Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/ofw/ebus.c

    r9d58539 r63e27ef  
    3636 */
    3737
     38#include <assert.h>
    3839#include <genarch/ofw/ofw_tree.h>
    3940#include <genarch/ofw/ebus.h>
     
    4142#include <str.h>
    4243#include <panic.h>
    43 #include <debug.h>
    4444#include <macros.h>
    4545
     
    9494        size_t count = prop->size / sizeof(ofw_ebus_intr_map_t);
    9595       
    96         ASSERT(count);
     96        assert(count);
    9797       
    9898        prop = ofw_tree_getprop(node, "interrupt-map-mask");
     
    102102        ofw_ebus_intr_mask_t *intr_mask = prop->value;
    103103       
    104         ASSERT(prop->size == sizeof(ofw_ebus_intr_mask_t));
     104        assert(prop->size == sizeof(ofw_ebus_intr_mask_t));
    105105       
    106106        uint32_t space = reg->space & intr_mask->space_mask;
Note: See TracChangeset for help on using the changeset viewer.