Kernel: Make BananBootloader info struct header compatible with C
This commit is contained in:
parent
c7b134ba4b
commit
5cd7b40165
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue