Re: i386 registers during a syscall

2006-07-24 Thread Divacky Roman
On Sun, Jul 23, 2006 at 11:18:56PM +0200, Attilio Rao wrote: 2006/7/23, Divacky Roman [EMAIL PROTECTED]: 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

Re: i386 registers during a syscall

2006-07-24 Thread Julian Elischer
Divacky Roman wrote: On Sun, Jul 23, 2006 at 11:18:56PM +0200, Attilio Rao wrote: 2006/7/23, Divacky Roman [EMAIL PROTECTED]: 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

i386 registers during a syscall

2006-07-23 Thread Divacky Roman
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 --

Re: i386 registers during a syscall

2006-07-23 Thread Attilio Rao
2006/7/23, Divacky Roman [EMAIL PROTECTED]: 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 ?

Re: i386 registers during a syscall

2006-07-23 Thread Julian Elischer
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