Utcb in syscall

"watermirror" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel,gmane.spam.detected
Message-ID <[email protected]>
hi ,in sys_ipc_wrapper, the code first get the current thread's syscall entry frame:
....
Thread *curr=current_thread();
Syscall_frame *f = curr-regs();
...


according to the Syscall_frame's implemention, it can get the Utcb by Syscall_frame::utcb().


but the following code get the Utcb in another way:


Utcb *utcb = curr->utcb().access(true);


what's the difference between those two Utcb?

_______________________________________________
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.