Skip to content
Snippets Groups Projects
Commit a5759d10 authored by John Hodge's avatar John Hodge
Browse files

Kernel/Heap - (minor) Commenting spellfixes

parent 1ef008bf
Branches
Tags
...@@ -68,7 +68,6 @@ static inline tHeapFoot *Heap_PrevFoot(tHeapHead *Head) { ...@@ -68,7 +68,6 @@ static inline tHeapFoot *Heap_PrevFoot(tHeapHead *Head) {
*/ */
void *Heap_Extend(size_t Bytes) void *Heap_Extend(size_t Bytes)
{ {
Debug("Heap_Extend(0x%x)", Bytes); Debug("Heap_Extend(0x%x)", Bytes);
// Bounds Check // Bounds Check
...@@ -88,7 +87,7 @@ void *Heap_Extend(size_t Bytes) ...@@ -88,7 +87,7 @@ void *Heap_Extend(size_t Bytes)
if( new_end > (tHeapHead*)MM_KHEAP_MAX ) if( new_end > (tHeapHead*)MM_KHEAP_MAX )
{ {
Log_Error("Heap", "Heap limit exceeded (%p)", (void*)new_end); 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; return NULL;
} }
...@@ -118,7 +117,7 @@ void *Heap_Extend(size_t Bytes) ...@@ -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) void *Heap_Merge(tHeapHead *Head)
{ {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment