Kernel: Remove Shell from kernel

This is now obsolete since we have a userspace Shell.
This commit is contained in:
2023-06-12 02:04:52 +03:00
parent 9f9a70713e
commit 2253c45feb
4 changed files with 0 additions and 755 deletions

View File

@@ -18,7 +18,6 @@
#include <kernel/Process.h>
#include <kernel/Scheduler.h>
#include <kernel/Serial.h>
#include <kernel/Shell.h>
#include <kernel/Syscall.h>
#include <kernel/Terminal/TTY.h>
#include <kernel/Terminal/VesaTerminalDriver.h>
@@ -181,14 +180,4 @@ static void init2(void* tty1)
((TTY*)tty1)->initialize_device();
MUST(Process::create_userspace({ 0, 0, 0, 0 }, "/usr/bin/init"sv));
return;
Process::create_kernel(
[](void*)
{
Shell* shell = new Shell();
ASSERT(shell);
shell->run();
}, nullptr
);
}