forked from PoliEcho-holding-org/kern
Minor kmalloc() fix
This commit is contained in:
@@ -11,6 +11,7 @@ TODO
|
||||
[x] Paging
|
||||
[x] Serial monitor
|
||||
[ ] Make dedicated asm functions like lidt(), sti(), ...
|
||||
[ ] Add something like <errno.h> in the kernel
|
||||
[x] PIT
|
||||
[ ] RTC
|
||||
[ ] HPET
|
||||
|
||||
@@ -59,7 +59,7 @@ void kmalloc_merge() {
|
||||
if (current->free && current->next->free) {
|
||||
current->size += current->next->size + sizeof(struct kmalloc_node);
|
||||
current->next = current->next->next;
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
current = current->next;
|
||||
|
||||
Reference in New Issue
Block a user