mirror of
https://github.com/qemu/qemu.git
synced 2025-08-01 02:05:48 +00:00
exec: do not define use_icount for user-mode emulation
use_icount is also defined by stubs/cpu-get-icount.c, we do not need to have a useless definition in exec.c. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: <20200204161036.20889-1-pbonzini@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
1b29af2f41
commit
fe3dada317
8
exec.c
8
exec.c
@ -98,15 +98,15 @@ CPUTailQ cpus = QTAILQ_HEAD_INITIALIZER(cpus);
|
|||||||
/* current CPU in the current thread. It is only valid inside
|
/* current CPU in the current thread. It is only valid inside
|
||||||
cpu_exec() */
|
cpu_exec() */
|
||||||
__thread CPUState *current_cpu;
|
__thread CPUState *current_cpu;
|
||||||
/* 0 = Do not count executed instructions.
|
|
||||||
1 = Precise instruction counting.
|
|
||||||
2 = Adaptive rate instruction counting. */
|
|
||||||
int use_icount;
|
|
||||||
|
|
||||||
uintptr_t qemu_host_page_size;
|
uintptr_t qemu_host_page_size;
|
||||||
intptr_t qemu_host_page_mask;
|
intptr_t qemu_host_page_mask;
|
||||||
|
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
#if !defined(CONFIG_USER_ONLY)
|
||||||
|
/* 0 = Do not count executed instructions.
|
||||||
|
1 = Precise instruction counting.
|
||||||
|
2 = Adaptive rate instruction counting. */
|
||||||
|
int use_icount;
|
||||||
|
|
||||||
typedef struct PhysPageEntry PhysPageEntry;
|
typedef struct PhysPageEntry PhysPageEntry;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user