Changes in kernel/genarch/src/ofw/ebus.c [63e27ef:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/ofw/ebus.c
r63e27ef r9d58539 36 36 */ 37 37 38 #include <assert.h>39 38 #include <genarch/ofw/ofw_tree.h> 40 39 #include <genarch/ofw/ebus.h> … … 42 41 #include <str.h> 43 42 #include <panic.h> 43 #include <debug.h> 44 44 #include <macros.h> 45 45 … … 94 94 size_t count = prop->size / sizeof(ofw_ebus_intr_map_t); 95 95 96 assert(count);96 ASSERT(count); 97 97 98 98 prop = ofw_tree_getprop(node, "interrupt-map-mask"); … … 102 102 ofw_ebus_intr_mask_t *intr_mask = prop->value; 103 103 104 assert(prop->size == sizeof(ofw_ebus_intr_mask_t));104 ASSERT(prop->size == sizeof(ofw_ebus_intr_mask_t)); 105 105 106 106 uint32_t space = reg->space & intr_mask->space_mask;
Note:
See TracChangeset
for help on using the changeset viewer.