[BOOTVID] Fixes for VgaIsPresent() and VidInitialize().
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 23 Jun 2019 01:03:40 +0000 (03:03 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 23 Jun 2019 01:07:19 +0000 (03:07 +0200)
commit8f04a09e748ce5c9f3e5779d5964aeffa8979eda
tree31a4ee092cdfe436be377931bfda29cda285aa93
parent025cfb108bdadda46523750d9859aadd5bce353d
[BOOTVID] Fixes for VgaIsPresent() and VidInitialize().

- VgaIsPresent(): Re-select the memory mode register before playing
  around with the sequencer flag. Otherwise the VGA may not be detected
  correctly from time to time.

- VidInitialize(): Simplify the initialization loop, reset AddressSpace
  to its "default" value of 1 when calling HalFindBusAddressTranslation()
  on 'NullAddress'.
drivers/base/bootvid/i386/bootvid.c