From a5759d100ffe700c4f5d42ca21528592382d425c Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 6 Jan 2014 22:18:39 +0800 Subject: [PATCH] Kernel/Heap - (minor) Commenting spellfixes --- KernelLand/Kernel/heap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 KernelLand/Kernel/heap.c diff --git a/KernelLand/Kernel/heap.c b/KernelLand/Kernel/heap.c old mode 100644 new mode 100755 index ba2957b8..ccb5db1b --- a/KernelLand/Kernel/heap.c +++ b/KernelLand/Kernel/heap.c @@ -68,7 +68,6 @@ static inline tHeapFoot *Heap_PrevFoot(tHeapHead *Head) { */ void *Heap_Extend(size_t Bytes) { - Debug("Heap_Extend(0x%x)", Bytes); // Bounds Check @@ -88,7 +87,7 @@ void *Heap_Extend(size_t Bytes) if( new_end > (tHeapHead*)MM_KHEAP_MAX ) { Log_Error("Heap", "Heap limit exceeded (%p)", (void*)new_end); - // TODO: Clip allocation to avaliable space, and have caller check returned block + // TODO: Clip allocation to available space, and have caller check returned block return NULL; } @@ -118,7 +117,7 @@ void *Heap_Extend(size_t Bytes) } /** - * \brief Merges two ajacent heap blocks + * \brief Merges two adjacent heap blocks */ void *Heap_Merge(tHeapHead *Head) { -- 2.20.1