fix(baremetal): 512GB identity paging, early GOP splash, dual-output console & COM1/RTC timeout guards
- arch/x86_64/boot.s: Map 8GB..512GB using 1GB huge pages in PDPT; set Multiboot2 FB tag to required native 32bpp - drivers/serial.c: Add scratch register hardware probe & 50k timeout guard to prevent infinite polling hang on modern AMD chipsets - drivers/rtc.c: Add timeout guard to CMOS status register polling - drivers/vga.c: Bypass legacy 0x3D4/0x3D5 CRT ports in GOP mode; mirror all characters to active hardware framebuffer - drivers/vbe.c: Implement vbe_early_boot_splash, direct front-buffer console rendering & dynamic backbuffer allocation - kernel/kmain.c: Initialize GOP linear framebuffer at Step 0 for instant physical screen illumination; use pause+counter in render loop - scripts/build_iso.sh: Support universal GOP/VBE/VGA multi-resolution auto-detect for both bare metal and VirtualBox
This commit is contained in:
1 parent
6165197d0a
commit
da3f0788d0
11 files changed
+274
-57
No files matched your search
+19
-2
@@ -24,18 +24,24 @@ cat << 'EOF' > "${ISO_DIR}/boot/grub/grub.cfg"
|
||||
insmod all_video
|
||||
insmod efi_gop
|
||||
insmod efi_uga
|
||||
insmod video_bochs
|
||||
insmod video_cirrus
|
||||
insmod vbe
|
||||
insmod vga
|
||||
insmod font
|
||||
|
||||
set gfxmode=auto
|
||||
set gfxmode=1920x1080x32,1024x768x32,auto
|
||||
set gfxpayload=keep
|
||||
|
||||
set timeout=5
|
||||
set default=0
|
||||
|
||||
menuentry "Airlys Sovereign OS (x86_64 Long Mode - UEFI GOP)" {
|
||||
menuentry "Airlys Sovereign OS (Universal Auto-Detect - Bare Metal & VM)" {
|
||||
insmod all_video
|
||||
insmod efi_gop
|
||||
insmod efi_uga
|
||||
insmod vbe
|
||||
insmod vga
|
||||
set gfxpayload=keep
|
||||
multiboot2 /boot/airlys.elf
|
||||
boot
|
||||
@@ -43,12 +49,23 @@ menuentry "Airlys Sovereign OS (x86_64 Long Mode - UEFI GOP)" {
|
||||
|
||||
menuentry "Airlys Sovereign OS (1024x768 TrueColor Framebuffer)" {
|
||||
insmod all_video
|
||||
insmod vbe
|
||||
insmod efi_gop
|
||||
set gfxmode=1024x768x32,auto
|
||||
set gfxpayload=1024x768x32,keep
|
||||
multiboot2 /boot/airlys.elf
|
||||
boot
|
||||
}
|
||||
|
||||
menuentry "Airlys Sovereign OS (1920x1080 Native FHD Framebuffer)" {
|
||||
insmod all_video
|
||||
insmod efi_gop
|
||||
set gfxmode=1920x1080x32,auto
|
||||
set gfxpayload=1920x1080x32,keep
|
||||
multiboot2 /boot/airlys.elf
|
||||
boot
|
||||
}
|
||||
|
||||
menuentry "Airlys Sovereign OS (Fallback Multiboot 1)" {
|
||||
insmod all_video
|
||||
set gfxpayload=keep
|
||||
|
||||
Reference in new issue
Block a user