Index: boot/genarch/ofw.c
===================================================================
--- boot/genarch/ofw.c	(revision 94d614ef2057652d47a2a1df5f4c4809bbe31b2f)
+++ boot/genarch/ofw.c	(revision 9a5b556abb26634c82cbd3954b0fdb4db62b828e)
@@ -146,4 +146,13 @@
 }
 
+phandle ofw_get_child_node(const phandle node)
+{
+	return ofw_call("child", 1, 1, NULL, node);
+}
+
+phandle ofw_get_peer_node(const phandle node)
+{
+	return ofw_call("peer", 1, 1, NULL, node);
+}
 
 static ihandle ofw_open(const char *name)
Index: boot/genarch/ofw.h
===================================================================
--- boot/genarch/ofw.h	(revision 94d614ef2057652d47a2a1df5f4c4809bbe31b2f)
+++ boot/genarch/ofw.h	(revision 9a5b556abb26634c82cbd3954b0fdb4db62b828e)
@@ -91,10 +91,20 @@
 extern uintptr_t ofw_cif;
 
+
+extern phandle ofw_chosen;
+extern ihandle ofw_stdout;
+extern phandle ofw_root;
+extern ihandle ofw_mmu;
+extern phandle ofw_memory;
 extern phandle ofw_aliases;
 
 extern void ofw_init(void);
+
 extern void ofw_write(const char *str, const int len);
 
 extern int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen);
+
+extern phandle ofw_get_child_node(const phandle node);
+extern phandle ofw_get_peer_node(const phandle node);
 extern phandle ofw_find_device(const char *name);
 
