How to pass a value into a system call function in XV6?
问题 I am attempting to create a simple priority based scheduler in XV6. To do this, I also have to create a system call that will allow a process to set its priority. I have done everything required to create the system call as discussed here and elsewhere: how do i add a system call / utility in xv6 The problem is, I cannot pass any variables when I call the function, or rather, it runs like nothing is wrong but the correct values do not show up inside the function. Extern declaration (syscall.c