Rev 1893 | Rev 1899 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1893 | Rev 1895 | ||
---|---|---|---|
Line 100... | Line 100... | ||
100 | 100 | ||
101 | extern void ofw_init(void); |
101 | extern void ofw_init(void); |
102 | 102 | ||
103 | extern void ofw_write(const char *str, const int len); |
103 | extern void ofw_write(const char *str, const int len); |
104 | 104 | ||
105 | 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, void *buf, const int buflen); |
106 | extern int ofw_get_proplen(const phandle device, const char *name); |
106 | extern int ofw_get_proplen(const phandle device, const char *name); |
107 | extern int ofw_next_property(const phandle device, char *previous, char *buf); |
107 | extern int ofw_next_property(const phandle device, char *previous, char *buf); |
108 | 108 | ||
109 | extern phandle ofw_get_child_node(const phandle node); |
109 | extern phandle ofw_get_child_node(const phandle node); |
110 | extern phandle ofw_get_peer_node(const phandle node); |
110 | extern phandle ofw_get_peer_node(const phandle node); |
111 | extern phandle ofw_find_device(const char *name); |
111 | extern phandle ofw_find_device(const char *name); |
112 | 112 | ||
- | 113 | extern int ofw_package_to_path(const phandle device, char *buf, const int buflen); |
|
- | 114 | ||
113 | extern int ofw(ofw_args_t *arg); |
115 | extern int ofw(ofw_args_t *arg); |
114 | extern unsigned int ofw_get_address_cells(const phandle device); |
116 | extern unsigned int ofw_get_address_cells(const phandle device); |
115 | extern unsigned int ofw_get_size_cells(const phandle device); |
117 | extern unsigned int ofw_get_size_cells(const phandle device); |
116 | extern void *ofw_translate(const void *virt); |
118 | extern void *ofw_translate(const void *virt); |
117 | extern int ofw_translate_failed(ofw_arg_t flag); |
119 | extern int ofw_translate_failed(ofw_arg_t flag); |