From 2cd1f928e17e18ce6ab683c0cf59bb69726373c9 Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 16 Apr 2021 21:38:52 +0300 Subject: [PATCH] Kernel: Drop support of GRUB VBE modesetting We used GRUB to modeset the resolution for a long time, but for good reasons I see no point with keeping it supported in our kernel. We support bochs-display device on QEMU (both the VGA compatible and non-VGA compatible variants), so for QEMU we can still boot the system in graphical mode even without GRUB help. Also, we now have a native driver for Intel graphics and although it doesn't support most Intel graphics cards out there yet, it's a good starting point to support more cards. If a user wants to boot on bare-metal in graphical mode, all he needs to do is to add the removed flag back again, as the kernel still supports pre-set framebuffers. --- Kernel/Arch/i386/Boot/boot.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Arch/i386/Boot/boot.S b/Kernel/Arch/i386/Boot/boot.S index 31d9b9e5d7..c164ff5e7a 100644 --- a/Kernel/Arch/i386/Boot/boot.S +++ b/Kernel/Arch/i386/Boot/boot.S @@ -2,7 +2,7 @@ .set MULTIBOOT_PAGE_ALIGN, 0x1 .set MULTIBOOT_MEMORY_INFO, 0x2 .set MULTIBOOT_VIDEO_MODE, 0x4 -.set multiboot_flags, MULTIBOOT_PAGE_ALIGN | MULTIBOOT_MEMORY_INFO | MULTIBOOT_VIDEO_MODE +.set multiboot_flags, MULTIBOOT_PAGE_ALIGN | MULTIBOOT_MEMORY_INFO .set multiboot_checksum, -(MULTIBOOT_MAGIC + multiboot_flags) .section .multiboot