Rev 4377 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4377 | Rev 4692 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | 44 | ||
45 | bool ofw_fhc_apply_ranges(ofw_tree_node_t *node, ofw_fhc_reg_t *reg, uintptr_t *pa) |
45 | bool ofw_fhc_apply_ranges(ofw_tree_node_t *node, ofw_fhc_reg_t *reg, uintptr_t *pa) |
46 | { |
46 | { |
47 | ofw_tree_property_t *prop; |
47 | ofw_tree_property_t *prop; |
48 | ofw_fhc_range_t *range; |
48 | ofw_fhc_range_t *range; |
49 | count_t ranges; |
49 | size_t ranges; |
50 | 50 | ||
51 | prop = ofw_tree_getprop(node, "ranges"); |
51 | prop = ofw_tree_getprop(node, "ranges"); |
52 | if (!prop) |
52 | if (!prop) |
53 | return false; |
53 | return false; |
54 | 54 | ||
Line 86... | Line 86... | ||
86 | if (node->parent->parent) |
86 | if (node->parent->parent) |
87 | panic("Unexpected parent node: %s.", ofw_tree_node_name(node->parent)); |
87 | panic("Unexpected parent node: %s.", ofw_tree_node_name(node->parent)); |
88 | 88 | ||
89 | ofw_tree_property_t *prop; |
89 | ofw_tree_property_t *prop; |
90 | ofw_central_range_t *range; |
90 | ofw_central_range_t *range; |
91 | count_t ranges; |
91 | size_t ranges; |
92 | 92 | ||
93 | prop = ofw_tree_getprop(node, "ranges"); |
93 | prop = ofw_tree_getprop(node, "ranges"); |
94 | if (!prop) |
94 | if (!prop) |
95 | return false; |
95 | return false; |
96 | 96 |