From 912d2e3c7eb1baa71dda2c0a28aa5809eaa96f27 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 16 Jul 2022 13:33:00 +0200 Subject: amd64: barely boot into kernel code --- src/kernel/arch/i386/multiboot.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/kernel/arch/i386/multiboot.h (limited to 'src/kernel/arch/i386/multiboot.h') diff --git a/src/kernel/arch/i386/multiboot.h b/src/kernel/arch/i386/multiboot.h deleted file mode 100644 index 1d6718f..0000000 --- a/src/kernel/arch/i386/multiboot.h +++ /dev/null @@ -1,34 +0,0 @@ -#pragma once -#include - -#ifndef __CHECKER__ -_Static_assert(sizeof(void*) == 4, - "this code assumes that pointers have 4 bytes"); -#endif - -struct multiboot_mod { - void *start; - void *end; - const char *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; - - const char *cmdline; - - uint32_t mods_count; - struct multiboot_mod *mods; - - // [...] -} __attribute__((packed)); -- cgit v1.2.3