diff options
| author | rtm | 2006-08-29 14:45:45 +0000 |
|---|---|---|
| committer | rtm | 2006-08-29 14:45:45 +0000 |
| commit | 2b19190c13a12b276ac5cd3a69187d2ab504f36e (patch) | |
| tree | dac7e7bdb8e6a8fced5ac1fed65ed0322c86927c /console.c | |
| parent | b52151e032025f97e42ddc0147c9e49fb958a948 (diff) | |
clean up stale error checks and panics
delete unused functions
a few comments
Diffstat (limited to 'console.c')
| -rw-r--r-- | console.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -9,10 +9,6 @@ struct spinlock console_lock; int panicked = 0; int use_console_lock = 0; -// per-cpu copy of output to help panic/lock debugging -char obuf[NCPU][1024]; -uint obufi[NCPU]; - /* * copy console output to parallel port, which you can tell * .bochsrc to copy to the stdout: @@ -37,10 +33,6 @@ cons_putc(int c) ushort *crt = (ushort *) 0xB8000; // base of CGA memory int ind; - obuf[rcr4()][obufi[rcr4()]++] = c; - if(obufi[rcr4()] >= 1024) - obufi[rcr4()] = 0; - if(panicked){ cli(); for(;;) |
