Utcb in syscall

watermirror 357836635 at qq.com
Tue May 12 05:01:13 CEST 2015

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20150512/2e663feb/attachment.html>

More information about the l4-hackers mailing list