the syscall stack frame and Context::regs method

"watermirror" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel,gmane.spam.detected
Message-ID <[email protected]>
hi,
i am reading the code about system call.


after the sys_ipc_wrapper (in file kern/syscalls.cpp) is called.it get the thread's pointer by current_thread and then get the Syscall_frame. the code is like this:
...
Thread *curr=current_thread();
Syscall_frame *f = curr->regs();
...


i can not understand the relationship between curr->regs() and the system call's stack frame.

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.