exec: remove non-TCG stuff from exec-all.h header.
The header is included from basically everywhere, thanks to cpu.h. It should be moved to the (TCG only) files that actually need it. As a start, remove non-TCG stuff. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
46eb8f98f2
commit
88401cbc5b
@ -84,7 +84,6 @@ void QEMU_NORETURN cpu_loop_exit(CPUState *cpu);
|
|||||||
void QEMU_NORETURN cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc);
|
void QEMU_NORETURN cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc);
|
||||||
|
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
#if !defined(CONFIG_USER_ONLY)
|
||||||
bool qemu_in_vcpu_thread(void);
|
|
||||||
void cpu_reloading_memory_map(void);
|
void cpu_reloading_memory_map(void);
|
||||||
void tcg_cpu_address_space_init(CPUState *cpu, AddressSpace *as);
|
void tcg_cpu_address_space_init(CPUState *cpu, AddressSpace *as);
|
||||||
/* cputlb.c */
|
/* cputlb.c */
|
||||||
@ -357,8 +356,6 @@ extern uintptr_t tci_tb_ptr;
|
|||||||
|
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
#if !defined(CONFIG_USER_ONLY)
|
||||||
|
|
||||||
void phys_mem_set_alloc(void *(*alloc)(size_t, uint64_t *align));
|
|
||||||
|
|
||||||
struct MemoryRegion *iotlb_to_region(CPUState *cpu,
|
struct MemoryRegion *iotlb_to_region(CPUState *cpu,
|
||||||
hwaddr index);
|
hwaddr index);
|
||||||
|
|
||||||
@ -408,7 +405,4 @@ extern int singlestep;
|
|||||||
extern CPUState *tcg_current_cpu;
|
extern CPUState *tcg_current_cpu;
|
||||||
extern bool exit_request;
|
extern bool exit_request;
|
||||||
|
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
|
||||||
void migration_bitmap_extend(ram_addr_t old, ram_addr_t new);
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -289,5 +289,6 @@ uint64_t cpu_physical_memory_sync_dirty_bitmap(unsigned long *dest,
|
|||||||
return num_dirty;
|
return num_dirty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void migration_bitmap_extend(ram_addr_t old, ram_addr_t new);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#define QEMU_CPUS_H
|
#define QEMU_CPUS_H
|
||||||
|
|
||||||
/* cpus.c */
|
/* cpus.c */
|
||||||
|
bool qemu_in_vcpu_thread(void);
|
||||||
void qemu_init_cpu_loop(void);
|
void qemu_init_cpu_loop(void);
|
||||||
void resume_all_vcpus(void);
|
void resume_all_vcpus(void);
|
||||||
void pause_all_vcpus(void);
|
void pause_all_vcpus(void);
|
||||||
|
@ -210,6 +210,10 @@ int kvm_set_signal_mask(CPUState *cpu, const sigset_t *sigset);
|
|||||||
int kvm_on_sigbus_vcpu(CPUState *cpu, int code, void *addr);
|
int kvm_on_sigbus_vcpu(CPUState *cpu, int code, void *addr);
|
||||||
int kvm_on_sigbus(int code, void *addr);
|
int kvm_on_sigbus(int code, void *addr);
|
||||||
|
|
||||||
|
/* interface with exec.c */
|
||||||
|
|
||||||
|
void phys_mem_set_alloc(void *(*alloc)(size_t, uint64_t *align));
|
||||||
|
|
||||||
/* internal API */
|
/* internal API */
|
||||||
|
|
||||||
int kvm_ioctl(KVMState *s, int type, ...);
|
int kvm_ioctl(KVMState *s, int type, ...);
|
||||||
|
Loading…
Reference in New Issue
Block a user