diff options
Diffstat (limited to 'include/asm-sparc/oplib.h')
| -rw-r--r-- | include/asm-sparc/oplib.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-sparc/oplib.h b/include/asm-sparc/oplib.h index 17ba82ee220a..7becc846544a 100644 --- a/include/asm-sparc/oplib.h +++ b/include/asm-sparc/oplib.h | |||
| @@ -34,9 +34,6 @@ extern unsigned int prom_rev, prom_prev; | |||
| 34 | */ | 34 | */ |
| 35 | extern int prom_root_node; | 35 | extern int prom_root_node; |
| 36 | 36 | ||
| 37 | /* PROM stdin and stdout */ | ||
| 38 | extern int prom_stdin, prom_stdout; | ||
| 39 | |||
| 40 | /* Pointer to prom structure containing the device tree traversal | 37 | /* Pointer to prom structure containing the device tree traversal |
| 41 | * and usage utility functions. Only prom-lib should use these, | 38 | * and usage utility functions. Only prom-lib should use these, |
| 42 | * users use the interface defined by the library only! | 39 | * users use the interface defined by the library only! |
| @@ -84,20 +81,6 @@ extern int prom_devclose(int device_handle); | |||
| 84 | extern void prom_seek(int device_handle, unsigned int seek_hival, | 81 | extern void prom_seek(int device_handle, unsigned int seek_hival, |
| 85 | unsigned int seek_lowval); | 82 | unsigned int seek_lowval); |
| 86 | 83 | ||
| 87 | /* Machine memory configuration routine. */ | ||
| 88 | |||
| 89 | /* This function returns a V0 format memory descriptor table, it has three | ||
| 90 | * entries. One for the total amount of physical ram on the machine, one | ||
| 91 | * for the amount of physical ram available, and one describing the virtual | ||
| 92 | * areas which are allocated by the prom. So, in a sense the physical | ||
| 93 | * available is a calculation of the total physical minus the physical mapped | ||
| 94 | * by the prom with virtual mappings. | ||
| 95 | * | ||
| 96 | * These lists are returned pre-sorted, this should make your life easier | ||
| 97 | * since the prom itself is way too lazy to do such nice things. | ||
| 98 | */ | ||
| 99 | extern struct linux_mem_v0 *prom_meminfo(void); | ||
| 100 | |||
| 101 | /* Miscellaneous routines, don't really fit in any category per se. */ | 84 | /* Miscellaneous routines, don't really fit in any category per se. */ |
| 102 | 85 | ||
| 103 | /* Reboot the machine with the command line passed. */ | 86 | /* Reboot the machine with the command line passed. */ |
