summaryrefslogtreecommitdiff
path: root/kernel/source/entry.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-31 17:16:21 -0400
committerBenji Dial <benji@benjidial.net>2024-07-31 17:16:21 -0400
commite6915fb6dd715e39e37702a6d69c220c0f1798bf (patch)
tree2e3b59335f70f2725802d254168ceaee85faf891 /kernel/source/entry.cpp
parentb1cf9e5dfbc8967bd7cb2a22ec1e5e521f4e0e6e (diff)
downloadhilbert-os-e6915fb6dd715e39e37702a6d69c220c0f1798bf.tar.gz
remove argc, argv; arguments will be passed via environment variables
Diffstat (limited to 'kernel/source/entry.cpp')
-rw-r--r--kernel/source/entry.cpp4
1 files changed, 0 insertions, 4 deletions
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 =