kernel: Check early safemode options in frame_buffer_console_init.

(cherry picked from commit 596150abbbf4e79d6c50d253c867e5200ae60017)

Change-Id: I691540cad733a342f50ad54bcbcedb878a549863
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11315
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Augustin Cavalier
2026-07-22 03:09:24 +00:00
committed by waddlesplash
parent 7dc7df27e9
commit e0ff341bce
@@ -510,7 +510,7 @@ frame_buffer_console_init_post_vm(kernel_args* args)
add_boot_item(FRAME_BUFFER_BOOT_INFO, &sBootInfo,
sizeof(frame_buffer_boot_info));
if (get_safemode_boolean(B_SAFEMODE_DISABLE_BIOS_CALLS, false)) {
if (get_safemode_boolean_early(args, B_SAFEMODE_DISABLE_BIOS_CALLS, false)) {
// If BIOS calls are disabled, then the VESA driver can't work.
// So, don't report any VESA information in this case.
return B_OK;