mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-28 16:17:51 +01:00
Kmem: fix alignment for heap struct
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user