qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] cpu_regs in target-i386


From: Xin Tong
Subject: [Qemu-devel] cpu_regs in target-i386
Date: Sun, 27 Nov 2011 08:46:10 -0500

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]