Andrew Schultz
2005-09-20 08:57:10 UTC
I am having trouble getting the contents of the Process_Info array from the
syscall to ps.c. I set a Process_Info* to state->ebx, which should just be
a pointer, I make modifications to that array in Sys_PS but when I return
fromt he Syscall to ps.c those values are not in the array I orriginally
passed in. I conclude I must be messing something up with passing by
reference, my lack of proficiency in c halting my progress. Any tips on
this? Am I messing up the syntax or pointer logic or is there a larger
problem here? Any help would be appreciated.
syscall to ps.c. I set a Process_Info* to state->ebx, which should just be
a pointer, I make modifications to that array in Sys_PS but when I return
fromt he Syscall to ps.c those values are not in the array I orriginally
passed in. I conclude I must be messing something up with passing by
reference, my lack of proficiency in c halting my progress. Any tips on
this? Am I messing up the syntax or pointer logic or is there a larger
problem here? Any help would be appreciated.