From 6a85c6ede66f723e1415552482e1c6640653efa2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 1 Aug 2022 16:33:44 +0200 Subject: amd64: /video/b device, provided by grub --- src/kernel/arch/amd64/multiboot.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/kernel/arch/amd64/multiboot.h') diff --git a/src/kernel/arch/amd64/multiboot.h b/src/kernel/arch/amd64/multiboot.h index c6a2650..526dd4c 100644 --- a/src/kernel/arch/amd64/multiboot.h +++ b/src/kernel/arch/amd64/multiboot.h @@ -25,5 +25,13 @@ struct multiboot_info { uint32_t mods_count; uint32_t mods; - // [...] + uint8_t _padding[60]; + + uint64_t framebuffer_addr; + uint32_t framebuffer_pitch; + uint32_t framebuffer_width; + uint32_t framebuffer_height; + uint8_t framebuffer_bpp; + uint8_t framebuffer_type; + uint8_t color_info[6]; } __attribute__((packed)); -- cgit v1.2.3