]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The second phase of syscons reorganization.
authorKazutaka YOKOTA <yokota@FreeBSD.org>
Tue, 22 Jun 1999 14:14:06 +0000 (14:14 +0000)
committerKazutaka YOKOTA <yokota@FreeBSD.org>
Tue, 22 Jun 1999 14:14:06 +0000 (14:14 +0000)
commit6e8394b8baa7d5d9153ab90de6824bcd19b3b4e1
tree9e351e9bc1321f8edd02ee62faa03602423b4604
parent6ca65df0a7aafa67751b58ef83e58b556aa627ca
The second phase of syscons reorganization.

- Split syscons source code into manageable chunks and reorganize
  some of complicated functions.

- Many static variables are moved to the softc structure.

- Added a new key function, PREV.  When this key is pressed, the vty
  immediately before the current vty will become foreground.  Analogue
  to PREV, which is usually assigned to the PrntScrn key.
  PR: kern/10113
  Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>

- Modified the kernel console input function sccngetc() so that it
  handles function keys properly.

- Reorganized the screen update routine.

- VT switching code is reorganized.  It now should be slightly more
  robust than before.

- Added the DEVICE_RESUME function so that syscons no longer hooks the
  APM resume event directly.

- New kernel configuration options: SC_NO_CUTPASTE, SC_NO_FONT_LOADING,
  SC_NO_HISTORY and SC_NO_SYSMOUSE.
  Various parts of syscons can be omitted so that the kernel size is
  reduced.

  SC_PIXEL_MODE
  Made the VESA 800x600 mode an option, rather than a standard part of
  syscons.

  SC_DISABLE_DDBKEY
  Disables the `debug' key combination.

  SC_ALT_MOUSE_IMAGE
  Inverse the character cell at the mouse cursor position in the text
  console, rather than drawing an arrow on the screen.
  Submitted by: Nick Hibma (n_hibma@FreeBSD.ORG)

  SC_DFLT_FONT
  makeoptions "SC_DFLT_FONT=_font_name_"
  Include the named font as the default font of syscons.  16-line,
  14-line and 8-line font data will be compiled in.  This option replaces
  the existing STD8X16FONT option, which loads 16-line font data only.

- The VGA driver is split into /sys/dev/fb/vga.c and /sys/isa/vga_isa.c.

- The video driver provides a set of ioctl commands to manipulate the
  frame buffer.

- New kernel configuration option: VGA_WIDTH90
  Enables 90 column modes: 90x25, 90x30, 90x43, 90x50, 90x60.  These
  modes are mot always supported by the video card.
  PR: i386/7510
  Submitted by: kbyanc@freedomnet.com and alexv@sui.gda.itesm.mx.

- The header file machine/console.h is reorganized; its contents is now
  split into sys/fbio.h, sys/kbio.h (a new file) and sys/consio.h
  (another new file).  machine/console.h is still maintained for
  compatibility reasons.

- Kernel console selection/installation routines are fixed and
  slightly rebumped so that it should now be possible to switch between
  the interanl kernel console (sc or vt) and a remote kernel console
  (sio) again, as it was in 2.x, 3.0 and 3.1.

- Screen savers and splash screen decoders
  Because of the header file reorganization described above, screen
  savers and splash screen decoders are slightly modified.  After this
  update, /sys/modules/syscons/saver.h is no longer necessary and is
  removed.
68 files changed:
sys/alpha/alpha/cons.c
sys/alpha/conf/files.alpha
sys/alpha/conf/options.alpha
sys/alpha/include/cons.h
sys/alpha/include/console.h
sys/conf/NOTES
sys/conf/files.alpha
sys/conf/files.i386
sys/conf/options.alpha
sys/conf/options.i386
sys/dev/fb/fb.c
sys/dev/fb/fbreg.h
sys/dev/fb/splash.c
sys/dev/fb/splash_bmp.c
sys/dev/fb/splash_pcx.c
sys/dev/fb/splashreg.h
sys/dev/fb/vga.c [new file with mode: 0644]
sys/dev/fb/vgareg.h
sys/dev/sio/sio.c
sys/dev/syscons/blank/blank_saver.c
sys/dev/syscons/daemon/daemon_saver.c
sys/dev/syscons/fade/fade_saver.c
sys/dev/syscons/fire/fire_saver.c
sys/dev/syscons/green/green_saver.c
sys/dev/syscons/logo/logo_saver.c
sys/dev/syscons/rain/rain_saver.c
sys/dev/syscons/scgfbrndr.c [new file with mode: 0644]
sys/dev/syscons/schistory.c [new file with mode: 0644]
sys/dev/syscons/scmouse.c [new file with mode: 0644]
sys/dev/syscons/scvesactl.c
sys/dev/syscons/scvgarndr.c [new file with mode: 0644]
sys/dev/syscons/scvidctl.c
sys/dev/syscons/scvtb.c [new file with mode: 0644]
sys/dev/syscons/snake/snake_saver.c
sys/dev/syscons/star/star_saver.c
sys/dev/syscons/syscons.c
sys/dev/syscons/syscons.h
sys/dev/syscons/warp/warp_saver.c
sys/i386/conf/LINT
sys/i386/conf/NOTES
sys/i386/conf/files.i386
sys/i386/conf/options.i386
sys/i386/i386/cons.c
sys/i386/i386/cons.h
sys/i386/include/console.h
sys/i386/isa/pcvt/pcvt_drv.c
sys/i386/isa/vesa.c
sys/isa/sio.c
sys/isa/syscons_isa.c
sys/isa/vga_isa.c
sys/kern/tty_cons.c
sys/modules/splash/bmp/splash_bmp.c
sys/modules/splash/pcx/splash_pcx.c
sys/modules/syscons/blank/blank_saver.c
sys/modules/syscons/daemon/daemon_saver.c
sys/modules/syscons/fade/fade_saver.c
sys/modules/syscons/fire/fire_saver.c
sys/modules/syscons/green/green_saver.c
sys/modules/syscons/logo/logo_saver.c
sys/modules/syscons/rain/rain_saver.c
sys/modules/syscons/saver.h [deleted file]
sys/modules/syscons/snake/snake_saver.c
sys/modules/syscons/star/star_saver.c
sys/modules/syscons/warp/warp_saver.c
sys/sys/cons.h
sys/sys/consio.h [new file with mode: 0644]
sys/sys/fbio.h
sys/sys/kbio.h [new file with mode: 0644]