Fix stivale2 memmap struct being misdefined

This commit is contained in:
mintsuki 2020-09-05 02:50:53 +02:00
parent 7bde0c80ca
commit 734a3e268f

View File

@ -68,7 +68,7 @@ struct stivale2_mmap_entry {
struct stivale2_struct_tag_memmap { struct stivale2_struct_tag_memmap {
struct stivale2_tag tag; struct stivale2_tag tag;
uint64_t entries; uint64_t entries;
uint64_t memmap; struct stivale2_mmap_entry memmap[];
} __attribute__((packed)); } __attribute__((packed));
#define STIVALE2_STRUCT_TAG_FRAMEBUFFER_ID 0x506461d2950408fa #define STIVALE2_STRUCT_TAG_FRAMEBUFFER_ID 0x506461d2950408fa