Changeset 3abe07f5 in mainline
- Timestamp:
- 2006-09-19T19:03:55Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 61e90dd
- Parents:
- 19dba2b
- Location:
- boot
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/loader/Makefile
r19dba2b r3abe07f5 54 54 ../../../generic/string.c \ 55 55 ../../../genarch/ofw.c \ 56 ../../../genarch/ofw_tree.c \ 56 57 ofwarch.c \ 57 58 asm.S \ -
boot/genarch/ofw.c
r19dba2b r3abe07f5 110 110 } 111 111 112 113 112 phandle ofw_find_device(const char *name) 114 113 { … … 116 115 } 117 116 118 119 117 int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen) 120 118 { … … 122 120 } 123 121 122 int ofw_get_proplen(const phandle device, const char *name) 123 { 124 return ofw_call("getproplen", 2, 1, NULL, device, name); 125 } 126 127 int ofw_next_property(const phandle device, char *previous, char *buf) 128 { 129 return ofw_call("nextprop", 3, 1, NULL, device, previous, buf); 130 } 124 131 125 132 unsigned int ofw_get_address_cells(const phandle device) -
boot/genarch/ofw.h
r19dba2b r3abe07f5 104 104 105 105 extern int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen); 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); 106 108 107 109 extern phandle ofw_get_child_node(const phandle node);
Note:
See TracChangeset
for help on using the changeset viewer.