diff --git a/kernel/src/memory/Heap.cpp b/kernel/src/memory/Heap.cpp index 4259e61b..41ddf176 100644 --- a/kernel/src/memory/Heap.cpp +++ b/kernel/src/memory/Heap.cpp @@ -11,7 +11,7 @@ static constexpr int BLOCK_USED = 1 << 0; static constexpr int BLOCK_START_MEM = 1 << 1; static constexpr int BLOCK_END_MEM = 1 << 2; -static constexpr usize BLOCK_MAGIC = 0x6d616c6c6f63210a; // echo "malloc\!" | hexdump -C +static constexpr usize BLOCK_MAGIC = 0x6d616c6c6f63210a; // echo 'malloc!' | hexdump -C (includes a newline) static constexpr usize BLOCK_DEAD = 0xdeaddeaddeaddead; static constexpr usize MINIMUM_PAGES_PER_ALLOCATION = 4;