From owner-cvs-sys Sat Oct 26 13:17:15 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05628 for cvs-sys-outgoing; Sat, 26 Oct 1996 13:17:15 -0700 (PDT) Received: (from sos@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05590; Sat, 26 Oct 1996 13:17:02 -0700 (PDT) Date: Sat, 26 Oct 1996 13:17:02 -0700 (PDT) From: Soren Schmidt Message-Id: <199610262017.NAA05590@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 96/10/26 13:17:01 Modified: sys/i386/isa syscons.c Log: Use the calibrated/adjustable i8254 frequency `timer_freq' instead of TIMER_FREQ. Fixed missing splx() in scrn_timer(). The bug was harmless because of the undocumented behaviour that the ipl is automatically restored for timeout functions (see softclock()). Perhaps we should depend on this behaviour. Fixed the ddb fix in rev.1.176. The in_debugger flag was no use because it only works when the debugger is entered via the keyboard hotkey. The debugger may be entered for breakpoints and traps, and the console putc routine has no way of knowing when it was, so the console putc routine must (almost?) always remove the cursor image. Not fixed: console switching in ddb doesn't work (ISTR it working), and console 0 shouldn't be switched to for the debugger hotkey unless console 0 is /dev/console. Fixed side effects from calling add_keyboard_randomness() in the console getc routine by not calling it. add_keyboard_randomness() currently always reenables interrupts on 386's and 486's. This is very bad if the console getc routine is called from the debugger and the debugger was entered with interrupts disabled. Fixed preservation of initial screen and now-bogus comment about it. It was broken by setting the initial scr_buf to `buffer' instead of Crtat. `buffer' was full of nulls and the first scroll cleared everything above the things written through syscons. Submitted by: bruce (bde@freebsd.org) Revision Changes Path 1.182 +30 -23 src/sys/i386/isa/syscons.c