[feat] Simple Filesystem

This commit is contained in:
2026-05-29 19:59:41 +08:00
Unverified
parent 7f4fb6473f
commit 45693c96b5
6 changed files with 741 additions and 5 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ void* kmalloc(UINTN size) {
split->size = block_sz - alloc_size;
// Insert split into free list
split->next = block->next;
block->size = alloc_size;
block->size = alloc_size | 1;
*prev = split;
} else {
// Use the whole block