cvs commit: src/sys/dev/fb creator.c fb.c fbreg.h machfb.c splash_bmp.c splash_pcx.c vga.c src/sys/dev/syscons scgfbrndr.c scvgarndr.c scvidctl.c syscons.c src/sys/dev/syscons/blank blank_saver.c src/sys/dev/syscons/daemon daemon_saver.c ...

Wojciech A. Koszek wkoszek at FreeBSD.org
Sat Dec 29 15:27:00 PST 2007


wkoszek     2007-12-29 23:27:00 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/fb           creator.c fb.c fbreg.h machfb.c 
                         splash_bmp.c splash_pcx.c vga.c 
    sys/dev/syscons      scgfbrndr.c scvgarndr.c scvidctl.c 
                         syscons.c 
    sys/dev/syscons/blank blank_saver.c 
    sys/dev/syscons/daemon daemon_saver.c 
    sys/dev/syscons/dragon dragon_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/snake snake_saver.c 
    sys/dev/syscons/star star_saver.c 
    sys/dev/syscons/warp warp_saver.c 
    sys/i386/xbox        xboxfb.c 
    sys/isa              vga_isa.c 
    sys/pc98/cbus        gdc.c scgdcrndr.c 
  Log:
  Replace explicit calls to video methods with their respective variants
  implemented with macros. This patch improves code readability. Reasoning
  behind vidd_* is a sort of "video discipline".
  
  List of macros is supposed to be complete--all methods of video_switch
  ought to have their respective macros from now on.
  
  Functionally, this code should be no-op. My intention is to leave current
  behaviour of touched code as is.
  
  No objections:  rwatson
  Silence on:     freebsd-current@
  Approved by:    cognet
  
  Revision  Changes    Path
  1.14      +2 -2      src/sys/dev/fb/creator.c
  1.34      +9 -10     src/sys/dev/fb/fb.c
  1.22      +66 -12    src/sys/dev/fb/fbreg.h
  1.6       +1 -1      src/sys/dev/fb/machfb.c
  1.21      +11 -11    src/sys/dev/fb/splash_bmp.c
  1.9       +7 -7      src/sys/dev/fb/splash_pcx.c
  1.37      +16 -16    src/sys/dev/fb/vga.c
  1.18      +2 -4      src/sys/dev/syscons/blank/blank_saver.c
  1.24      +1 -1      src/sys/dev/syscons/daemon/daemon_saver.c
  1.3       +4 -4      src/sys/dev/syscons/dragon/dragon_saver.c
  1.20      +7 -9      src/sys/dev/syscons/fade/fade_saver.c
  1.12      +7 -7      src/sys/dev/syscons/fire/fire_saver.c
  1.18      +3 -4      src/sys/dev/syscons/green/green_saver.c
  1.14      +9 -9      src/sys/dev/syscons/logo/logo_saver.c
  1.14      +8 -8      src/sys/dev/syscons/rain/rain_saver.c
  1.25      +25 -32    src/sys/dev/syscons/scgfbrndr.c
  1.22      +10 -15    src/sys/dev/syscons/scvgarndr.c
  1.39      +7 -7      src/sys/dev/syscons/scvidctl.c
  1.32      +1 -1      src/sys/dev/syscons/snake/snake_saver.c
  1.27      +1 -1      src/sys/dev/syscons/star/star_saver.c
  1.456     +15 -17    src/sys/dev/syscons/syscons.c
  1.15      +8 -8      src/sys/dev/syscons/warp/warp_saver.c
  1.6       +4 -5      src/sys/i386/xbox/xboxfb.c
  1.35      +4 -6      src/sys/isa/vga_isa.c
  1.51      +3 -3      src/sys/pc98/cbus/gdc.c
  1.14      +7 -9      src/sys/pc98/cbus/scgdcrndr.c


More information about the cvs-src mailing list