I'll stop the world and melt with you
(but I won't stop the world to load binaries)
This commit is contained in:
parent
48fe17ff19
commit
ae08c74115
@ -52,7 +52,13 @@ exec(
|
||||
alloc_frame(get_page(x, 1, current_directory), 0, 1);
|
||||
}
|
||||
Elf32_Header * header = (Elf32_Header *)TMP_ZONE; //(Elf32_Header *)malloc(file->length + 100);
|
||||
|
||||
|
||||
debug_print(NOTICE, "---> Starting load.");
|
||||
IRQ_RES;
|
||||
read_fs(file, 0, file->length, (uint8_t *)header);
|
||||
IRQ_OFF;
|
||||
debug_print(NOTICE, "---> Finished load.");
|
||||
|
||||
current_process->name = malloc(strlen(path) + 1);
|
||||
memcpy(current_process->name, path, strlen(path) + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user