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 143... | Line 143... | ||
143 | ret = OFW_SIZE_CELLS; |
143 | ret = OFW_SIZE_CELLS; |
144 | 144 | ||
145 | return ret; |
145 | return ret; |
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 | static ihandle ofw_open(const char *name) |
158 | static ihandle ofw_open(const char *name) |
150 | { |
159 | { |
151 | return ofw_call("open", 1, 1, NULL, name); |
160 | return ofw_call("open", 1, 1, NULL, name); |
152 | } |
161 | } |