include: move cpu_exec* declarations to cpu-common.h
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Mar 2022 15:57:33 +0000 (19:57 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Apr 2022 12:31:43 +0000 (14:31 +0200)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-23-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/exec/cpu-common.h
include/qemu-common.h

index 5979fc1f8e1b4600f52d18010b329f507fbb4742..5968551a05561f1e838ba6ba2449a9dfc7d9ddca 100644 (file)
@@ -19,6 +19,9 @@ typedef uint64_t vaddr;
 #define VADDR_PRIX PRIX64
 #define VADDR_MAX UINT64_MAX
 
+void cpu_exec_init_all(void);
+void cpu_exec_step_atomic(CPUState *cpu);
+
 /* Using intptr_t ensures that qemu_*_page_mask is sign-extended even
  * when intptr_t is 32-bit and we are aligning a long long.
  */
index 08f40a9d1ed3efacdc24f9f3538460bed9d158e5..ced260d08be0fa8c50227ec1ba1d2e55f664df29 100644 (file)
@@ -24,9 +24,6 @@
 int qemu_main(int argc, char **argv, char **envp);
 #endif
 
-void cpu_exec_init_all(void);
-void cpu_exec_step_atomic(CPUState *cpu);
-
 /**
  * set_preferred_target_page_bits:
  * @bits: number of bits needed to represent an address within the page