X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fheap.c;h=ccb5db1b6d76943f24823116c3a73d0bc641b0ba;hb=2462d860630674d10d554f86aa669163f6f2db6b;hp=ba2957b84077edccbe4abf29a01131c7c0675344;hpb=4d4d4959b022d6e098b74f78565c4b1336672cfe;p=tpg%2Facess2.git 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) {