Kernel/Heap - (minor) Commenting spellfixes
authorJohn Hodge <[email protected]>
Mon, 6 Jan 2014 14:18:39 +0000 (22:18 +0800)
committerJohn Hodge <[email protected]>
Mon, 6 Jan 2014 14:18:39 +0000 (22:18 +0800)
KernelLand/Kernel/heap.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index ba2957b..ccb5db1
@@ -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)
 {

UCC git Repository :: git.ucc.asn.au