Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2006 13:23:32 +0200
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        hackers@freebsd.org
Subject:   i386 registers during a syscall
Message-ID:  <20060723112332.GA83581@stud.fit.vutbr.cz>

next in thread | raw e-mail | index | archive | help
hi,

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

roman


----------------------
www.liberalnistrana.cz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060723112332.GA83581>