A little more information:
I tracked through misc.c and placed printfs:
#if defined(PCBIOS) && !defined(IBM_L40)
static void empty_8042(void)
{
unsigned long time;
char st;
printf("empty_8042 0\n");
time = currticks() + TICKS_PER_SEC; /* max wait of 1 second
*/
printf("empty_8042 1\n");
while ((((st = inb(K_CMD)) & K_OBUF_FUL) ||
(st & K_IBUF_FUL)) &&
currticks() < time)
inb(K_RDWR);
printf("empty_8042 2\n");
}
#endif /* IBM_L40 */
I only received the first printf: empty_8042 0. I then moved into
arch/i386/core/i386_timer.c but non of the printfs I placed in currticks
displayed anything.
Thinking it might be dieing as a result of a previous operation, I
changed the first printf("empty_8042 0\n"); to:
int x;
for(x=0;x<1000;x++)
printf("empty_8042 %d\n", x);
This properly displayed the correct number of llines, but again failed.
Is it possible that it cannot find currticks?
Tim
|