i386 registers during a syscall

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Sun Jul 23 11:23:38 UTC 2006


I need to get content of %esi register as it was during a syscall. Should I get
this info from td->td_pcb->pcb_esi or td->td_frame->tf_esi?

Is it so that trapframe is "content of registers when entering a kernel" and
pcb is "when leaving a kernel" ?

thnx for info



More information about the freebsd-hackers mailing list