diff options
author | dzwdz | 2022-08-15 20:48:23 +0200 |
---|---|---|
committer | dzwdz | 2022-08-15 20:48:23 +0200 |
commit | 3e80780859c4cbe5223ca4329bfd6176f5c2c879 (patch) | |
tree | 92f42d2720d84434276c5382f1b43b8d73124827 /src/kernel/arch/amd64/multiboot.h | |
parent | fa082df2da6b3be52c66ce0d48c209a3df38115d (diff) |
kernel: port to multiboot2
Diffstat (limited to 'src/kernel/arch/amd64/multiboot.h')
-rw-r--r-- | src/kernel/arch/amd64/multiboot.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/kernel/arch/amd64/multiboot.h b/src/kernel/arch/amd64/multiboot.h deleted file mode 100644 index 526dd4c..0000000 --- a/src/kernel/arch/amd64/multiboot.h +++ /dev/null @@ -1,37 +0,0 @@ -#pragma once -#include <stdint.h> - -struct multiboot_mod { - uint32_t start; - uint32_t end; - uint32_t str; - uint32_t _reserved; -} __attribute__((packed)); - -struct multiboot_info { - uint32_t flag_mem : 1; - uint32_t flag_boot_device : 1; - uint32_t flag_cmdline : 1; - uint32_t flag_mods : 1; - uint32_t _flag_other : 28; // unimplemented - - uint32_t mem_lower; - uint32_t mem_upper; - - uint32_t boot_device; - - uint32_t cmdline; - - 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)); |