diff options
Diffstat (limited to 'include/asm-sparc64/oplib.h')
-rw-r--r-- | include/asm-sparc64/oplib.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/include/asm-sparc64/oplib.h b/include/asm-sparc64/oplib.h index 992f9f7a476c..3f23c5dc5f21 100644 --- a/include/asm-sparc64/oplib.h +++ b/include/asm-sparc64/oplib.h | |||
@@ -140,32 +140,6 @@ extern void prom_putchar(char character); | |||
140 | extern void prom_printf(const char *fmt, ...); | 140 | extern void prom_printf(const char *fmt, ...); |
141 | extern void prom_write(const char *buf, unsigned int len); | 141 | extern void prom_write(const char *buf, unsigned int len); |
142 | 142 | ||
143 | /* Query for input device type */ | ||
144 | |||
145 | enum prom_input_device { | ||
146 | PROMDEV_IKBD, /* input from keyboard */ | ||
147 | PROMDEV_ITTYA, /* input from ttya */ | ||
148 | PROMDEV_ITTYB, /* input from ttyb */ | ||
149 | PROMDEV_IRSC, /* input from rsc */ | ||
150 | PROMDEV_IVCONS, /* input from virtual-console */ | ||
151 | PROMDEV_I_UNK, | ||
152 | }; | ||
153 | |||
154 | extern enum prom_input_device prom_query_input_device(void); | ||
155 | |||
156 | /* Query for output device type */ | ||
157 | |||
158 | enum prom_output_device { | ||
159 | PROMDEV_OSCREEN, /* to screen */ | ||
160 | PROMDEV_OTTYA, /* to ttya */ | ||
161 | PROMDEV_OTTYB, /* to ttyb */ | ||
162 | PROMDEV_ORSC, /* to rsc */ | ||
163 | PROMDEV_OVCONS, /* to virtual-console */ | ||
164 | PROMDEV_O_UNK, | ||
165 | }; | ||
166 | |||
167 | extern enum prom_output_device prom_query_output_device(void); | ||
168 | |||
169 | /* Multiprocessor operations... */ | 143 | /* Multiprocessor operations... */ |
170 | #ifdef CONFIG_SMP | 144 | #ifdef CONFIG_SMP |
171 | /* Start the CPU with the given device tree node at the passed program | 145 | /* Start the CPU with the given device tree node at the passed program |
@@ -319,6 +293,8 @@ extern int prom_inst2pkg(int); | |||
319 | extern int prom_service_exists(const char *service_name); | 293 | extern int prom_service_exists(const char *service_name); |
320 | extern void prom_sun4v_guest_soft_state(void); | 294 | extern void prom_sun4v_guest_soft_state(void); |
321 | 295 | ||
296 | extern int prom_ihandle2path(int handle, char *buffer, int bufsize); | ||
297 | |||
322 | /* Client interface level routines. */ | 298 | /* Client interface level routines. */ |
323 | extern void prom_set_trap_table(unsigned long tba); | 299 | extern void prom_set_trap_table(unsigned long tba); |
324 | extern void prom_set_trap_table_sun4v(unsigned long tba, unsigned long mmfsa); | 300 | extern void prom_set_trap_table_sun4v(unsigned long tba, unsigned long mmfsa); |