Kmem: fix alignment for heap struct

This commit is contained in:
2024-05-01 17:50:06 +02:00
parent a81ac96e30
commit dbd86c48a3

View File

@@ -20,7 +20,7 @@ struct HeapEntry {
struct HeapEntry *prev;
uint64_t len;
char data[] __attribute__((aligned(16)));
} __attribute__((packed, aligned(1)));
} __attribute__((packed, aligned(16)));
extern struct HeapEntry *KERN_HeapBegin;
extern uintptr_t KERN_HeapEnd; // Past the end