Skip to content

Commit

Permalink
[HALX64] Do not claim to handle display reset if you don't. Fix bootv…
Browse files Browse the repository at this point in the history
…id 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.
  • Loading branch information
HBelusca committed Mar 27, 2022
1 parent 38b38bb commit 2151482
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hal/halx86/amd64/x86bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 2151482

Please sign in to comment.