From: John Hodge Date: Mon, 6 Jan 2014 14:18:39 +0000 (+0800) Subject: Kernel/Heap - (minor) Commenting spellfixes X-Git-Tag: rel0.15~22 X-Git-Url: https://git.ucc.asn.au/?p=tpg%2Facess2.git;a=commitdiff_plain;h=a5759d100ffe700c4f5d42ca21528592382d425c Kernel/Heap - (minor) Commenting spellfixes --- 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) {