diff options
author | Tyler Murphy <=> | 2023-07-22 11:05:30 -0400 |
---|---|---|
committer | Tyler Murphy <=> | 2023-07-22 11:05:30 -0400 |
commit | da094d011f52a8f1ce879810cd1a4bbbe34f08d4 (patch) | |
tree | 4649b04705b49c2eb5f8691a5d9951351f65df04 /kernel/include/arch/i686/mboot.h | |
parent | refactoring (diff) | |
download | finix-main.tar.gz finix-main.tar.bz2 finix-main.zip |
Diffstat (limited to '')
-rw-r--r-- | kernel/include/arch/i686/mboot.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/include/arch/i686/mboot.h b/kernel/include/arch/i686/mboot.h index 394071f..2ebc983 100644 --- a/kernel/include/arch/i686/mboot.h +++ b/kernel/include/arch/i686/mboot.h @@ -12,7 +12,7 @@ struct BootTag { uint32_t type; uint32_t size; union { - char cmdline[CMDLINE_MAX]; + char cmdline[CMDLINE_MAX + 1]; struct MemoryMap *memory_map; struct RootSystemDescriptionPointer *rsdp; } data; @@ -26,9 +26,9 @@ struct BootInfo { enum BootTagID { ID_CMDLINE = 0, - iD_MEMORYMAP = 6, + ID_MEMORYMAP = 6, ID_RSDP = 14 }; -void load_boot_info(void* boot_info); -bool get_boot_tag(enum BootTagID id, struct BootTag **tag); +extern void load_boot_info(void* boot_info); +extern bool get_boot_tag(enum BootTagID id, struct BootTag **tag); |