diff options
Diffstat (limited to 'i386/i386at/kd.c')
-rw-r--r-- | i386/i386at/kd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index 4ac1dfe..eaeea1b 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -748,6 +748,9 @@ int regs; if (kd_pollc) return; /* kdb polling kbd */ + if (!kd_initialized) + return; + tp = &kd_tty; #ifdef old while ((inb(K_STATUS) & K_OBUF_FUL) == 0); /* this should never loop */ |