feature (shell): starting shell on startup
This commit is contained in:
parent
1101b83939
commit
ce905f1a36
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue