https://git.reactos.org/?p=reactos.git;a=commitdiff;h=46831c537fdb7468ea016…
commit 46831c537fdb7468ea0168ebada38986728feecd
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Tue Feb 6 20:01:53 2024 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Feb 11 18:51:40 2024 +0100
[HAL] HalInitializeBios() should not explicitly call HalpBiosDisplayReset().
While the BIOS support for INT10h emulation has been set up, any
modification of the display should wait until the kernel requests
video initialization with INBV/bootvid.
The latter will call HalResetDisplay() (that calls HalpBiosDisplayReset())
at the correct time.
This avoids an useless video mode change and reset when booting ReactOS.
---
hal/halx86/generic/x86bios.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/hal/halx86/generic/x86bios.c b/hal/halx86/generic/x86bios.c
index 6e033e34124..9d583c78789 100644
--- a/hal/halx86/generic/x86bios.c
+++ b/hal/halx86/generic/x86bios.c
@@ -143,8 +143,6 @@ HalInitializeBios(
//DbgDumpPage(x86BiosMemoryMapping, 0xc351);
x86BiosIsInitialized = TRUE;
-
- HalpBiosDisplayReset();
}
}