diff options
Diffstat (limited to 'arch/ppc/boot/include/of1275.h')
-rw-r--r-- | arch/ppc/boot/include/of1275.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/arch/ppc/boot/include/of1275.h b/arch/ppc/boot/include/of1275.h deleted file mode 100644 index 4ed88acfa73a..000000000000 --- a/arch/ppc/boot/include/of1275.h +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) Paul Mackerras 1997. | ||
3 | * Copyright (C) Leigh Brown 2002. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License | ||
7 | * as published by the Free Software Foundation; either version | ||
8 | * 2 of the License, or (at your option) any later version. | ||
9 | */ | ||
10 | |||
11 | typedef void *prom_handle; | ||
12 | typedef void *ihandle; | ||
13 | typedef void *phandle; | ||
14 | typedef int (*prom_entry)(void *); | ||
15 | |||
16 | #define OF_INVALID_HANDLE ((prom_handle)-1UL) | ||
17 | |||
18 | extern prom_entry of_prom_entry; | ||
19 | |||
20 | /* function declarations */ | ||
21 | |||
22 | int call_prom(const char *service, int nargs, int nret, ...); | ||
23 | int call_prom_ret(const char *service, int nargs, int nret, | ||
24 | unsigned int *rets, ...); | ||
25 | void * claim(unsigned int virt, unsigned int size, unsigned int align); | ||
26 | int map(unsigned int phys, unsigned int virt, unsigned int size); | ||
27 | void enter(void); | ||
28 | void exit(void); | ||
29 | phandle finddevice(const char *name); | ||
30 | int getprop(phandle node, const char *name, void *buf, int buflen); | ||
31 | void ofinit(prom_entry entry); | ||
32 | int ofstdio(ihandle *stdin, ihandle *stdout, ihandle *stderr); | ||
33 | int read(ihandle instance, void *buf, int buflen); | ||
34 | void release(void *virt, unsigned int size); | ||
35 | int write(ihandle instance, void *buf, int buflen); | ||
36 | |||
37 | /* inlines */ | ||
38 | |||
39 | extern inline void pause(void) | ||
40 | { | ||
41 | enter(); | ||
42 | } | ||