feature (shell): starting shell on startup

This commit is contained in:
antifallobst 2023-05-02 00:44:20 +02:00
parent 1101b83939
commit ce905f1a36
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ void kmain(boot_info_T boot_info) {
log(LOG_INFO, "!=====[ Kernel Initialized ]=====!\n"); log(LOG_INFO, "!=====[ Kernel Initialized ]=====!\n");
void* buffer = vfs_resolve_path(&g_root_fs, "/initrd/test.elf")->cache->buffer; void* buffer = vfs_resolve_path(&g_root_fs, "/initrd/shell.elf")->cache->buffer;
elf_executable_T* exec = elf_executable_create(buffer); elf_executable_T* exec = elf_executable_create(buffer);
pid_t proc = process_spawn(PROCESS_KERNEL, "shell", exec, buffer); pid_t proc = process_spawn(PROCESS_KERNEL, "shell", exec, buffer);