Kernel: Make BananBootloader info struct header compatible with C

This commit is contained in:
Bananymous 2024-08-18 20:49:07 +03:00
parent c7b134ba4b
commit 5cd7b40165
1 changed files with 8 additions and 8 deletions

View File

@ -7,12 +7,12 @@
struct BananBootFramebufferInfo struct BananBootFramebufferInfo
{ {
uint32_t address; uint32_t address;
uint32_t pitch; uint32_t pitch;
uint32_t width; uint32_t width;
uint32_t height; uint32_t height;
uint8_t bpp; uint8_t bpp;
uint8_t type; uint8_t type;
}; };
struct BananBootloaderMemoryMapEntry struct BananBootloaderMemoryMapEntry
@ -24,8 +24,8 @@ struct BananBootloaderMemoryMapEntry
struct BananBootloaderMemoryMapInfo struct BananBootloaderMemoryMapInfo
{ {
uint32_t entry_count; uint32_t entry_count;
BananBootloaderMemoryMapEntry entries[]; struct BananBootloaderMemoryMapEntry entries[];
} __attribute__((packed)); } __attribute__((packed));
struct BananBootloaderInfo struct BananBootloaderInfo