mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
malloc: Add comments spelling out the MAGIC_HEADERS in ascii
This commit is contained in:
parent
96ff0971ea
commit
344090a5b0
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@
|
|||
//#define MALLOC_DEBUG
|
||||
#define RECYCLE_BIG_ALLOCATIONS
|
||||
|
||||
#define MAGIC_PAGE_HEADER 0x42657274
|
||||
#define MAGIC_BIGALLOC_HEADER 0x42697267
|
||||
#define MAGIC_PAGE_HEADER 0x42657274 // 'Bert'
|
||||
#define MAGIC_BIGALLOC_HEADER 0x42697267 // 'Birg'
|
||||
#define PAGE_ROUND_UP(x) ((((size_t)(x)) + PAGE_SIZE - 1) & (~(PAGE_SIZE - 1)))
|
||||
|
||||
ALWAYS_INLINE static void ue_notify_malloc(const void* ptr, size_t size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue