diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-03-05 16:19:50 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-03-05 16:19:50 -0800 |
commit | 33ed6c6c5e28f016bcfa341479ce97bf80d7d104 (patch) | |
tree | 95e1c9de234426b7508be85b509d9f881765018f /pk/boot.h | |
parent | 80447e5711461fa58cf61d17a6a1b79f7dcd5294 (diff) | |
download | pk-33ed6c6c5e28f016bcfa341479ce97bf80d7d104.zip pk-33ed6c6c5e28f016bcfa341479ce97bf80d7d104.tar.gz pk-33ed6c6c5e28f016bcfa341479ce97bf80d7d104.tar.bz2 |
get rid of struct mainvars
Diffstat (limited to 'pk/boot.h')
-rw-r--r-- | pk/boot.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -8,11 +8,6 @@ #include <stdint.h> #include <stddef.h> -struct mainvars { - uint64_t argc; - uint64_t argv[127]; // this space is shared with the arg strings themselves -}; - typedef struct { int phent; int phnum; @@ -36,7 +31,7 @@ typedef struct { extern elf_info current; void prepare_supervisor_mode(); -void run_loaded_program(struct mainvars*); +void run_loaded_program(size_t argc, char** argv); void boot_loader(); void boot_other_hart(); void load_elf(const char* fn, elf_info* info); |