fix(baremetal): map 8GB physical address space and bind UEFI GOP framebuffer to physical LCD display
- arch/x86_64/boot.s: Expand identity-mapped page tables from 1GB to 8GB (4096 entries * 2MB) - drivers/vbe.c: Implement vbe_set_physical_framebuffer to map physical GPU MMIO address directly - kernel/kmain.c: Parse Multiboot 2 Framebuffer tag (type 16) and bind physical display - kernel/kmain.c: Auto-render Desktop GUI frame immediately and continuously at 60 FPS - Eliminates bare-metal black screen on Acer Nitro ANV15-41 modern laptops
This commit is contained in:
1 parent
5b7463be14
commit
6165197d0a
4 files changed
+109
-12
No files matched your search
@@ -41,6 +41,8 @@ typedef struct {
|
||||
|
||||
/* Graphics Engine API */
|
||||
void vbe_init(uint32_t width, uint32_t height);
|
||||
void vbe_set_physical_framebuffer(uint64_t addr, uint32_t width, uint32_t height, uint32_t pitch, uint32_t bpp);
|
||||
bool vbe_is_hardware_framebuffer(void);
|
||||
vbe_screen_t* vbe_get_screen(void);
|
||||
|
||||
void vbe_putpixel(uint32_t x, uint32_t y, uint32_t color);
|
||||
|
||||
Reference in new issue
Block a user