mini kalloc change

This commit is contained in:
2026-09-23 22:12:56 +02:00
parent ce75e8c195
commit eba8b5ad4f
2 changed files with 24 additions and 0 deletions
+3
View File
@@ -35,6 +35,9 @@ void* kzalloc(size_t size) {
}
void* kmalloc(size_t size) {
if (!size) {
return NULL;
}
uint32_t core_id;
__asm__ volatile(
"rdtscp"