Go to the documentation of this file. 1 #ifndef __SPARC_OPENPROM_H
2 #define __SPARC_OPENPROM_H
13 #define KADB_DEBUGGER_BEGVM 0x0fee0000
14 #define LINUX_OPPROM_BEGVM 0x0fef0000
15 #define LINUX_OPPROM_ENDVM 0x0ff10000
17 #define KADB_DEBUGGER_BEGVM 0xffc00000
18 #define LINUX_OPPROM_BEGVM 0xffd00000
19 #define LINUX_OPPROM_ENDVM 0xfff00000
20 #define LINUX_OPPROM_MAGIC 0x10010407
40 char * (*v2_dumb_mem_alloc)(
char *
va,
unsigned sz);
44 char * (*v2_dumb_mmap)(
char *virta,
int which_io,
unsigned paddr,
unsigned sz);
90 #if defined(CONFIG_SUN3) || defined(CONFIG_SUN3X)
104 unsigned char *pv_echo;
105 unsigned char *pv_insource;
106 unsigned char *pv_outsink;
110 unsigned int *pv_translation;
111 unsigned char *pv_keybid;
114 struct keybuf *pv_keybuf;
133 unsigned char *pv_linebuf;
134 unsigned char **pv_lineptr;
137 unsigned char (*pv_getnextchar)(
void);
138 unsigned char (*pv_peeknextchar)(
void);
145 unsigned char *pv_leds;
163 struct globram *pv_globram;
167 unsigned char *pv_keyrtick;
168 unsigned *pv_memoryavail;
173 unsigned char *pv_memorybitmap;
204 #define PROMDEV_KBD 0
205 #define PROMDEV_SCREEN 0
206 #define PROMDEV_TTYA 1
207 #define PROMDEV_TTYB 2
255 int thiscontext,
char *prog_counter);
286 #define PROMREG_MAX 16
287 #define PROMVADDR_MAX 16
288 #define PROMINTR_MAX 15