Rev 1790 | Rev 1893 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1790 | Rev 1881 | ||
---|---|---|---|
Line 88... | Line 88... | ||
88 | uint32_t size_lo; |
88 | uint32_t size_lo; |
89 | } pci_reg_t; |
89 | } pci_reg_t; |
90 | 90 | ||
91 | extern uintptr_t ofw_cif; |
91 | extern uintptr_t ofw_cif; |
92 | 92 | ||
- | 93 | ||
- | 94 | extern phandle ofw_chosen; |
|
- | 95 | extern ihandle ofw_stdout; |
|
- | 96 | extern phandle ofw_root; |
|
- | 97 | extern ihandle ofw_mmu; |
|
- | 98 | extern phandle ofw_memory; |
|
93 | extern phandle ofw_aliases; |
99 | extern phandle ofw_aliases; |
94 | 100 | ||
95 | extern void ofw_init(void); |
101 | extern void ofw_init(void); |
- | 102 | ||
96 | extern void ofw_write(const char *str, const int len); |
103 | extern void ofw_write(const char *str, const int len); |
97 | 104 | ||
98 | extern int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen); |
105 | extern int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen); |
- | 106 | ||
- | 107 | extern phandle ofw_get_child_node(const phandle node); |
|
- | 108 | extern phandle ofw_get_peer_node(const phandle node); |
|
99 | extern phandle ofw_find_device(const char *name); |
109 | extern phandle ofw_find_device(const char *name); |
100 | 110 | ||
101 | extern int ofw(ofw_args_t *arg); |
111 | extern int ofw(ofw_args_t *arg); |
102 | extern unsigned int ofw_get_address_cells(const phandle device); |
112 | extern unsigned int ofw_get_address_cells(const phandle device); |
103 | extern unsigned int ofw_get_size_cells(const phandle device); |
113 | extern unsigned int ofw_get_size_cells(const phandle device); |