Lines Matching defs:om_vector
158 struct om_vector { struct
159 char *initSp; /* Initial system stack ptr for hardware */
160 int (*startMon)(void); /* Initial PC for hardware */
161 int *diagberr; /* Bus err handler for diags */
164 struct om_bootparam **bootParam; /* Info for bootstrapped pgm */
165 u_long *memorySize; /* Usable memory in bytes */
168 int (*getChar)(void); /* Get char from input source */
169 void (*putChar)(int); /* Put char to output sink */
170 int (*mayGet)(void); /* Maybe get char, or -1 */
171 int (*mayPut)(int); /* Maybe put char, or -1 */
172 u_char *echo; /* Should getchar echo? */
173 u_char *inSource; /* Input source selector */
174 u_char *outSink; /* Output sink selector */
181 int (*getKey)(void); /* Get next key if one exists */
182 int (*initGetKey)(void); /* Initialize get key */
183 u_int *translation; /* Kbd translation selector */
184 u_char *keyBid; /* Keyboard ID byte */
185 int *screen_x; /* V2: Screen x pos (R/O) */
186 int *screen_y; /* V2: Screen y pos (R/O) */
187 struct keybuf *keyBuf; /* Up/down keycode buffer */
190 char *monId;
193 int (*fbWriteChar)(void); /* Write a character to FB */
194 int *fbAddr; /* Address of frame buffer */
195 char **font; /* Font table for FB */
196 void (*fbWriteStr)(const char *, int);
200 void (*reBoot)(const char *) /* e.g. reBoot("xy()vmunix") */
204 u_char *lineBuf; /* The line input buffer */
205 u_char **linePtr; /* Cur pointer into linebuf */
206 int *lineSize; /* length of line in linebuf */
207 int (*getLine)(void); /* Get line from user */
208 u_char (*getNextChar)(void); /* Get next char from linebuf */
209 u_char (*peekNextChar)(void); /* Peek at next char */
210 int *fbThere; /* =1 if frame buffer there */
211 int (*getNum)(void); /* Grab hex num from line */
214 int (*printf)(void); /* Similar to "Kernel printf" */
215 int (*printHex)(void); /* Format N digits in hex */
218 u_char *leds; /* RAM copy of LED register */
219 int (*setLeds)(void); /* Sets LED's and RAM copy */
222 int (*nmiAddr)(void); /* Addr for level 7 vector */
223 void (*abortEntry)(void); /* Entry for keyboard abort */
224 int *nmiClock; /* Counts up in msec */
227 int *fbType;
230 u_long romvecVersion; /* Version # of Romvec */
231 struct globram *globRam; /* monitor global variables */
232 void * kbdZscc; /* Addr of keyboard in use */
256 #define romVectorPtr ((struct om_vector *)PROM_BASE) argument