1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:57:44 +00:00

Kernel: Add basic aarch64 support to MemoryManager

FIXME: There's still a lot to do like for example, port `quickmap_page`.
This does however get us further into the boot process than before.
This commit is contained in:
Filiph Sandström 2022-08-17 12:38:58 +02:00 committed by Linus Groh
parent 14fe03569a
commit 7e1e208d08
6 changed files with 41 additions and 18 deletions

View file

@ -43,7 +43,12 @@ struct multiboot_mmap_entry {
u64 addr;
u64 len;
u32 type;
#if ARCH(AARCH64)
// __attribute__((packed)) causes alignment issues on aarch64
};
#else
} __attribute__((packed));
#endif
typedef struct multiboot_mmap_entry multiboot_memory_map_t;
#define MULTIBOOT_INFO_FRAMEBUFFER_INFO (1 << 12)