Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 1996 13:17:02 -0700 (PDT)
From:      Soren Schmidt <sos>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/i386/isa syscons.c
Message-ID:  <199610262017.NAA05590@freefall.freebsd.org>

index | next in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610262017.NAA05590>