loading initrd now...

This commit is contained in:
2026-06-30 00:03:21 -05:00
parent 5983212da0
commit ce81d4eb31
8 changed files with 247 additions and 17 deletions

View File

@@ -58,6 +58,14 @@ int strncmp(const char *s1, const char *s2, size_t n) {
return 0;
}
char* strcpy(char* dest, const char* src) {
char* saved_dest = dest;
while ((*dest++ = *src++) != '\0') {}
return saved_dest;
}
static void* kernel_heap_start = (void*)KHEAP_START;
static void* kernel_heap_end = (void*)KHEAP_START;
alloc_header_t* blk_list = NULL;