Changes in kernel/genarch/src/ofw/ebus.c [9d58539:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/ofw/ebus.c
r9d58539 r63e27ef 36 36 */ 37 37 38 #include <assert.h> 38 39 #include <genarch/ofw/ofw_tree.h> 39 40 #include <genarch/ofw/ebus.h> … … 41 42 #include <str.h> 42 43 #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.