Kernel: Usespace programs are now ran through ELF files

only 64 bit elf files are supported for now.
This commit is contained in:
Bananymous
2023-04-22 15:35:32 +03:00
parent ef0263e32d
commit fadce063a7
4 changed files with 53 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ namespace Kernel
public:
static BAN::ErrorOr<Process*> create_kernel(entry_t, void*);
static BAN::ErrorOr<Process*> create_userspace(void(*)());
static BAN::ErrorOr<Process*> create_userspace(BAN::StringView);
~Process();
[[noreturn]] void exit();