]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/powerpc/boot/of.h
arm64: don't kill the kernel on a bad esr from el0
[mirror_ubuntu-artful-kernel.git] / arch / powerpc / boot / of.h
CommitLineData
2e601613
DG
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);
08464712 10void *of_vmlinux_alloc(unsigned long size);
2e601613 11void of_exit(void);
08464712
DG
12void *of_finddevice(const char *name);
13int of_getprop(const void *phandle, const char *name, void *buf,
14 const int buflen);
15int of_setprop(const void *phandle, const char *name, const void *buf,
16 const int buflen);
2e601613
DG
17
18/* Console functions */
19void of_console_init(void);
20
21#endif /* _PPC_BOOT_OF_H_ */