Implement Heap allocation (#3)

* Implement Maloc

* Implement Dealloc

* Migrate to a struct based heap implementation
This commit is contained in:
Alexander Neuhäuser
2025-09-14 18:17:24 +02:00
committed by GitHub
parent 981a6cd65c
commit afe1128139
9 changed files with 265 additions and 71 deletions

2
.vscode/tasks.json vendored
View File

@@ -14,7 +14,7 @@
{
"label": "Run QEMU",
"type": "shell",
"command": "qemu-system-aarch64 -M raspi3b -cpu cortex-a53 -serial stdio -sd sd.img -display none -kernel ${workspaceFolder}/target/aarch64-unknown-none/debug/kernel8.img -S -s -m 1024",
"command": "llvm-objcopy -O binary target/aarch64-unknown-none/debug/nova target/aarch64-unknown-none/debug/kernel8.img && qemu-system-aarch64 -M raspi3b -cpu cortex-a53 -serial stdio -sd sd.img -kernel ${workspaceFolder}/target/aarch64-unknown-none/debug/kernel8.img -S -s -m 1024",
"isBackground": true,
"dependsOn": ["Build"]
}