Rev 1895 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1895 | Rev 1899 | ||
---|---|---|---|
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; |
93 | extern phandle ofw_chosen; |
95 | extern ihandle ofw_stdout; |
94 | extern ihandle ofw_stdout; |
96 | extern phandle ofw_root; |
95 | extern phandle ofw_root; |
97 | extern ihandle ofw_mmu; |
96 | extern ihandle ofw_mmu; |
98 | extern phandle ofw_memory; |
97 | extern phandle ofw_memory; |
Line 111... | Line 110... | ||
111 | extern phandle ofw_find_device(const char *name); |
110 | extern phandle ofw_find_device(const char *name); |
112 | 111 | ||
113 | extern int ofw_package_to_path(const phandle device, char *buf, const int buflen); |
112 | extern int ofw_package_to_path(const phandle device, char *buf, const int buflen); |
114 | 113 | ||
115 | extern int ofw(ofw_args_t *arg); |
114 | extern int ofw(ofw_args_t *arg); |
- | 115 | extern unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...); |
|
116 | extern unsigned int ofw_get_address_cells(const phandle device); |
116 | extern unsigned int ofw_get_address_cells(const phandle device); |
117 | extern unsigned int ofw_get_size_cells(const phandle device); |
117 | extern unsigned int ofw_get_size_cells(const phandle device); |
118 | extern void *ofw_translate(const void *virt); |
118 | extern void *ofw_translate(const void *virt); |
119 | extern int ofw_translate_failed(ofw_arg_t flag); |
119 | extern int ofw_translate_failed(ofw_arg_t flag); |
120 | extern void *ofw_claim(const void *virt, const int len); |
120 | extern void *ofw_claim(const void *virt, const int len); |