mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-29 00:27:52 +01:00
Kmem: fix alignment for heap struct
This commit is contained in:
@@ -20,7 +20,7 @@ struct HeapEntry {
|
|||||||
struct HeapEntry *prev;
|
struct HeapEntry *prev;
|
||||||
uint64_t len;
|
uint64_t len;
|
||||||
char data[] __attribute__((aligned(16)));
|
char data[] __attribute__((aligned(16)));
|
||||||
} __attribute__((packed, aligned(1)));
|
} __attribute__((packed, aligned(16)));
|
||||||
|
|
||||||
extern struct HeapEntry *KERN_HeapBegin;
|
extern struct HeapEntry *KERN_HeapBegin;
|
||||||
extern uintptr_t KERN_HeapEnd; // Past the end
|
extern uintptr_t KERN_HeapEnd; // Past the end
|
||||||
|
|||||||
Reference in New Issue
Block a user