From e6915fb6dd715e39e37702a6d69c220c0f1798bf Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 31 Jul 2024 17:16:21 -0400 Subject: remove argc, argv; arguments will be passed via environment variables --- kernel/source/entry.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'kernel/source/entry.cpp') diff --git a/kernel/source/entry.cpp b/kernel/source/entry.cpp index 73e79c7..f412838 100644 --- a/kernel/source/entry.cpp +++ b/kernel/source/entry.cpp @@ -218,10 +218,6 @@ extern "C" [[noreturn]] void entry() { application::process *init_process = new application::process(init_memory, utility::string("init", 4)); - init_process->add_environment_variable( - utility::string("ARGC", 4), utility::string("1", 1)); - init_process->add_environment_variable( - utility::string("ARGV0", 5), utility::string("/bin/init", 9)); application::add_process(init_process); application::thread *init_thread = -- cgit v1.2.3