Add support for some basic system calls and args handling correctly. #29

Merged
sb3923 merged 49 commits from system-calls into master 2024-11-07 19:36:30 +00:00
5 changed files with 347 additions and 7 deletions
Showing only changes of commit 26ae7ac02e - Show all commits

View File

@@ -102,7 +102,7 @@ start_process (void *file_name_)
struct list arg_list;
list_init (&arg_list);
int arg_count = 1;
int arg_count = 0;
while (arg != NULL)
{
push_to_stack (&if_.esp, arg, (strlen (arg) + 1) * sizeof (char));