[BOOTVID] Diverse enhancements.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 23 Jun 2019 19:05:28 +0000 (21:05 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 23 Jun 2019 21:59:48 +0000 (23:59 +0200)
commitede3fddad734ff37f6ab33d672f377c0e57b8be1
tree457f0050f268903259c0c9dba92f0ad4ca8272c6
parenta75e4db855059604ef29989a2fa5b8e75189cf8c
[BOOTVID] Diverse enhancements.

- Import cmdcnst.h and vga.h headers from the 'vga_new' VGA Miniport Driver,
  that contain definitions related to VGA registers as well as command-stream
  functionality.

- Replace a bunch of hardcoded values by their corresponding defintions.

- Replace "Captain-Obvious" comments in VgaIsPresent() with actual
  explanations from the corresponding function in 'vga_new'.

- Simplify the VgaInterpretCmdStream() function, based on the
  corresponding one from 'vga_new'.

- Use concise comments in the 'AT_Initialization' command stream definition.

- Import the 'VGA_640x480' initialization command stream from 'vga_new'
  and use it as the full VGA initialization stream whenever the HAL
  does not handle the VGA display (HalResetDisplay() returning FALSE).
  Otherwise we just use the 'AT_Initialization' command stream that
  performs minimal initialization.

- Remove unused AT_Initialization and other declarations from ARM build.
drivers/base/bootvid/arm/bootdata.c
drivers/base/bootvid/cmdcnst.h [new file with mode: 0644]
drivers/base/bootvid/i386/bootdata.c
drivers/base/bootvid/i386/bootvid.c
drivers/base/bootvid/i386/vga.c
drivers/base/bootvid/precomp.h
drivers/base/bootvid/vga.h [new file with mode: 0644]