From 5cd7b401654a8e2e35dad981e3453192a184cb2c Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sun, 18 Aug 2024 20:49:07 +0300 Subject: [PATCH] Kernel: Make BananBootloader info struct header compatible with C --- kernel/include/kernel/BananBootloader.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/kernel/include/kernel/BananBootloader.h b/kernel/include/kernel/BananBootloader.h index 0696a007..40300376 100644 --- a/kernel/include/kernel/BananBootloader.h +++ b/kernel/include/kernel/BananBootloader.h @@ -7,12 +7,12 @@ struct BananBootFramebufferInfo { - uint32_t address; - uint32_t pitch; - uint32_t width; - uint32_t height; - uint8_t bpp; - uint8_t type; + uint32_t address; + uint32_t pitch; + uint32_t width; + uint32_t height; + uint8_t bpp; + uint8_t type; }; struct BananBootloaderMemoryMapEntry @@ -24,8 +24,8 @@ struct BananBootloaderMemoryMapEntry struct BananBootloaderMemoryMapInfo { - uint32_t entry_count; - BananBootloaderMemoryMapEntry entries[]; + uint32_t entry_count; + struct BananBootloaderMemoryMapEntry entries[]; } __attribute__((packed)); struct BananBootloaderInfo