Kernel: Allow kernel to pass arguments to init process

This commit is contained in:
2024-11-17 22:38:02 +02:00
parent 36d07065fb
commit 458a362f98
3 changed files with 33 additions and 14 deletions

View File

@@ -45,7 +45,7 @@ namespace Kernel
public:
static Process* create_kernel();
static Process* create_kernel(entry_t, void*);
static BAN::ErrorOr<Process*> create_userspace(const Credentials&, BAN::StringView);
static BAN::ErrorOr<Process*> create_userspace(const Credentials&, BAN::StringView path, BAN::Span<BAN::StringView> arguments);
~Process();
void cleanup_function();