I'm now able to run system calls, i.e AC makes system call, and TC runs it.

Things are getting garbled, and at some point, things go wrong enough to
panic
the kernel.

Not quite sure what's wrong, people are invited to take a look,
particularly at pc64/nix.s

but it's closer, by the day.

Part of this was relearning what we did in 2011 ... it was pretty cool. I
can see why it took the 6 or so of us a few days to get it right :-)

I still don't totally believe I'm setting  up the stack right when I go to
reset it:
MOVQ RMACH, RSP
ADDQ $MACHSIZE, SP // hmm. Is that really right? Or too big?

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb67e80a60bd01ca5-M278d594700b917b76c4030b4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to