https://git.reactos.org/?p=reactos.git;a=commitdiff;h=215148267e7bad7587f5e09757013e221d4cf122

commit 215148267e7bad7587f5e09757013e221d4cf122
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Mon Mar 28 00:28:35 2022 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Mon Mar 28 00:32:25 2022 +0200

    [HALX64] Do not claim to handle display reset if you don't. Fix bootvid 
display initialization in x64 as a result.
    
    The HalpBiosDisplayReset() function is currently stub-plemented.
    Returning FALSE will make bootvid take the route of fully
    re-initializing the VGA display all by itself.
---
 hal/halx86/amd64/x86bios.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/hal/halx86/amd64/x86bios.c b/hal/halx86/amd64/x86bios.c
index cbcc75de6cc..3baef39f69c 100644
--- a/hal/halx86/amd64/x86bios.c
+++ b/hal/halx86/amd64/x86bios.c
@@ -510,7 +510,9 @@ HalpBiosDisplayReset(VOID)
 
     /* Restore previous flags */
     __writeeflags(OldEflags);
-#endif
     return TRUE;
+#else
+    /* This x64 HAL does NOT currently handle display reset (TODO) */
+    return FALSE;
+#endif
 }
-

Reply via email to