Subversion Repositories HelenOS

Rev

Rev 1909 | Rev 1912 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1909 Rev 1910
Line 113... Line 113...
113
struct ofw_ebus_intr_map {
113
struct ofw_ebus_intr_map {
114
    uint32_t space;
114
    uint32_t space;
115
    uint32_t addr;
115
    uint32_t addr;
116
    uint32_t intr;
116
    uint32_t intr;
117
    uint32_t controller_handle;
117
    uint32_t controller_handle;
118
    uint32_t controller_ino;
118
    uint32_t controller_inr;
119
} __attribute__ ((packed));
119
} __attribute__ ((packed));
120
typedef struct ofw_ebus_intr_map ofw_ebus_intr_map_t;
120
typedef struct ofw_ebus_intr_map ofw_ebus_intr_map_t;
121
 
121
 
122
struct ofw_ebus_intr_mask {
122
struct ofw_ebus_intr_mask {
123
    uint32_t space_mask;
123
    uint32_t space_mask;
Line 163... Line 163...
163
extern bool ofw_pci_apply_ranges(ofw_tree_node_t *node, ofw_pci_reg_t *reg, uintptr_t *pa);
163
extern bool ofw_pci_apply_ranges(ofw_tree_node_t *node, ofw_pci_reg_t *reg, uintptr_t *pa);
164
extern bool ofw_upa_apply_ranges(ofw_tree_node_t *node, ofw_upa_reg_t *reg, uintptr_t *pa);
164
extern bool ofw_upa_apply_ranges(ofw_tree_node_t *node, ofw_upa_reg_t *reg, uintptr_t *pa);
165
 
165
 
166
extern bool ofw_pci_reg_absolutize(ofw_tree_node_t *node, ofw_pci_reg_t *reg, ofw_pci_reg_t *out);
166
extern bool ofw_pci_reg_absolutize(ofw_tree_node_t *node, ofw_pci_reg_t *reg, ofw_pci_reg_t *out);
167
 
167
 
168
extern bool ofw_fhc_map_interrupts(ofw_tree_node_t *node, ofw_fhc_reg_t *reg, uint32_t interrupt, int *ino);
168
extern bool ofw_fhc_map_interrupts(ofw_tree_node_t *node, ofw_fhc_reg_t *reg, uint32_t interrupt, int *inr);
169
extern bool ofw_ebus_map_interrupts(ofw_tree_node_t *node, ofw_ebus_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 *inr);
170
 
170
 
171
#endif
171
#endif