summaryrefslogtreecommitdiff
path: root/include/qom/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-08-26 05:39:29 +0200
committerAndreas Färber <afaerber@suse.de>2014-03-13 19:20:46 +0100
commitefee734004c42ba185098086e5185d8a85ed02af (patch)
treec833ce3ecabba6aa1595db4e5312ccd023b639b6 /include/qom/cpu.h
parent99df7dce8ae81e4a42dac98094ccca3a32dcf8f8 (diff)
downloadqemu-efee734004c42ba185098086e5185d8a85ed02af.tar.gz
qemu-efee734004c42ba185098086e5185d8a85ed02af.tar.bz2
qemu-efee734004c42ba185098086e5185d8a85ed02af.zip
cpu: Move icount_extra field from CPU_COMMON to CPUState
Reset it. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/qom/cpu.h')
-rw-r--r--include/qom/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qom/cpu.h b/include/qom/cpu.h
index f80036e99b..012a7e6e79 100644
--- a/include/qom/cpu.h
+++ b/include/qom/cpu.h
@@ -157,6 +157,7 @@ struct kvm_run;
* @tcg_exit_req: Set to force TCG to stop executing linked TBs for this
* CPU and return to its top level loop.
* @singlestep_enabled: Flags for single-stepping.
+ * @icount_extra: Instructions until next timer event.
* @can_do_io: Nonzero if memory-mapped IO is safe.
* @env_ptr: Pointer to subclass-specific CPUArchState field.
* @current_tb: Currently executing TB.
@@ -196,6 +197,7 @@ struct CPUState {
volatile sig_atomic_t tcg_exit_req;
uint32_t interrupt_request;
int singlestep_enabled;
+ int64_t icount_extra;
AddressSpace *as;
MemoryListener *tcg_as_listener;