Changeset 0b414b5 in mainline for kernel/genarch/include/ofw/ofw_tree.h
- Timestamp:
- 2006-10-02T21:07:23Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 233af8c5
- Parents:
- 36db5ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/ofw/ofw_tree.h
r36db5ac r0b414b5 50 50 unsigned properties; /**< Number of properties. */ 51 51 ofw_tree_property_t *property; 52 53 /** 54 * Pointer to a structure representing respective device. 55 * Its semantics is device dependent. 56 */ 57 void *device; 52 58 }; 53 59 … … 105 111 typedef struct ofw_ebus_range ofw_ebus_range_t; 106 112 113 struct ofw_ebus_intr_map { 114 uint32_t space; 115 uint32_t addr; 116 uint32_t intr; 117 uint32_t controller_handle; 118 uint32_t controller_ino; 119 } __attribute__ ((packed)); 120 typedef struct ofw_ebus_intr_map ofw_ebus_intr_map_t; 121 122 struct ofw_ebus_intr_mask { 123 uint32_t space_mask; 124 uint32_t addr_mask; 125 uint32_t intr_mask; 126 } __attribute__ ((packed)); 127 typedef struct ofw_ebus_intr_mask ofw_ebus_intr_mask_t; 128 107 129 struct ofw_pci_reg { 108 uint32_t space; /* needs to masked to obtain pure space id */130 uint32_t space; /* needs to be masked to obtain pure space id */ 109 131 uint64_t addr; /* group phys.mid and phys.lo together */ 110 132 uint64_t size; … … 144 166 extern bool ofw_pci_reg_absolutize(ofw_tree_node_t *node, ofw_pci_reg_t *reg, ofw_pci_reg_t *out); 145 167 168 extern bool ofw_fhc_map_interrupts(ofw_tree_node_t *node, ofw_fhc_reg_t *reg, uint32_t interrupt, int *ino); 169 extern bool ofw_ebus_map_interrupts(ofw_tree_node_t *node, ofw_ebus_reg_t *reg, uint32_t interrupt, int *ino); 170 146 171 #endif
Note:
See TracChangeset
for help on using the changeset viewer.