aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/of.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/of.h')
-rw-r--r--arch/powerpc/boot/of.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/boot/of.h b/arch/powerpc/boot/of.h
new file mode 100644
index 000000000000..169d31106991
--- /dev/null
+++ b/arch/powerpc/boot/of.h
@@ -0,0 +1,15 @@
1#ifndef _PPC_BOOT_OF_H_
2#define _PPC_BOOT_OF_H_
3
4typedef void *phandle;
5typedef void *ihandle;
6
7void of_init(void *promptr);
8int of_call_prom(const char *service, int nargs, int nret, ...);
9void *of_claim(unsigned long virt, unsigned long size, unsigned long align);
10void of_exit(void);
11
12/* Console functions */
13void of_console_init(void);
14
15#endif /* _PPC_BOOT_OF_H_ */