Date: Sun, 23 Jul 2006 21:24:39 -0700 From: Julian Elischer <julian@elischer.org> To: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Cc: hackers@freebsd.org Subject: Re: i386 registers during a syscall Message-ID: <44C44B87.8070100@elischer.org> In-Reply-To: <20060723112332.GA83581@stud.fit.vutbr.cz> References: <20060723112332.GA83581@stud.fit.vutbr.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Divacky Roman wrote: >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" ? > > pcb is when the process is sleeping or otherwise suspended. frame is when enterring the kernel, and reloaded when leaving the kernel >thnx for info > >roman > > >---------------------- >www.liberalnistrana.cz >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C44B87.8070100>