Changeset 9a5b556 in mainline for boot/genarch
- Timestamp:
- 2006-09-12T13:03:55Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6eabb6e6
- Parents:
- 7bb6b06
- Location:
- boot/genarch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/genarch/ofw.c
r7bb6b06 r9a5b556 146 146 } 147 147 148 phandle ofw_get_child_node(const phandle node) 149 { 150 return ofw_call("child", 1, 1, NULL, node); 151 } 152 153 phandle ofw_get_peer_node(const phandle node) 154 { 155 return ofw_call("peer", 1, 1, NULL, node); 156 } 148 157 149 158 static ihandle ofw_open(const char *name) -
boot/genarch/ofw.h
r7bb6b06 r9a5b556 91 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 99 extern phandle ofw_aliases; 94 100 95 101 extern void ofw_init(void); 102 96 103 extern void ofw_write(const char *str, const int len); 97 104 98 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 109 extern phandle ofw_find_device(const char *name); 100 110
Note:
See TracChangeset
for help on using the changeset viewer.
