David Gibson | 2e60161 | 2007-06-13 14:52:54 +1000 | [diff] [blame^] | 1 | #ifndef _PPC_BOOT_OF_H_ |
2 | #define _PPC_BOOT_OF_H_ | ||||
3 | |||||
4 | typedef void *phandle; | ||||
5 | typedef void *ihandle; | ||||
6 | |||||
7 | void of_init(void *promptr); | ||||
8 | int of_call_prom(const char *service, int nargs, int nret, ...); | ||||
9 | void *of_claim(unsigned long virt, unsigned long size, unsigned long align); | ||||
10 | void of_exit(void); | ||||
11 | |||||
12 | /* Console functions */ | ||||
13 | void of_console_init(void); | ||||
14 | |||||
15 | #endif /* _PPC_BOOT_OF_H_ */ |