From 215148267e7bad7587f5e09757013e221d4cf122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Mon, 28 Mar 2022 00:28:35 +0200 Subject: [PATCH] [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 } -