qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] cpu_regs in target-i386
@ 2011-11-27 13:46 Xin Tong
  2011-11-27 14:12 ` Andreas Färber
  0 siblings, 1 reply; 13+ messages in thread
From: Xin Tong @ 2011-11-27 13:46 UTC (permalink / raw)
  To: qemu-devel

When the x86 vcpu is initialized, a CPUX86State is qemu_mallocz'ed.
env is used to point to it and modifications to the CPUX86State can
thereby be done via the register that contains the env. I do not get
what the cpu_regs[CPU_NB_REGS] are for, do not we already have a set
of emulated x86 registers when we allocate the CPUX86State ?

Thanks

Xin

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-11-28  1:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-27 13:46 [Qemu-devel] cpu_regs in target-i386 Xin Tong
2011-11-27 14:12 ` Andreas Färber
2011-11-27 14:36   ` Xin Tong
2011-11-27 14:53     ` Andreas Färber
2011-11-27 15:23       ` Xin Tong
2011-11-27 15:43         ` Peter Maydell
2011-11-27 16:17           ` Xin Tong
2011-11-27 20:59             ` Peter Maydell
2011-11-27 23:07               ` Xin Tong
2011-11-27 23:33                 ` Peter Maydell
2011-11-28  0:32                   ` Xin Tong
2011-11-28  1:00                     ` Xin Tong
2011-11-27 16:10         ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).