summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/multiboot.h
diff options
context:
space:
mode:
authordzwdz2022-08-01 16:33:44 +0200
committerdzwdz2022-08-01 20:35:49 +0200
commit6a85c6ede66f723e1415552482e1c6640653efa2 (patch)
treebb3790a2d1f42d9cf3c69654f20cbd53cc929038 /src/kernel/arch/amd64/multiboot.h
parent24a5f2bf46432aef70fd8d2ebf6c7ba94a6ce5a2 (diff)
amd64: /video/b device, provided by grub
Diffstat (limited to 'src/kernel/arch/amd64/multiboot.h')
-rw-r--r--src/kernel/arch/amd64/multiboot.h10
1 files changed, 9 insertions, 1 deletions
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));