Skip to content

Commit 1f269c1

Browse files
elmarcobonzini
authored andcommitted
include: move cpu_exec* declarations to cpu-common.h
Signed-off-by: Marc-André Lureau <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 415b732 commit 1f269c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/exec/cpu-common.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ typedef uint64_t vaddr;
1919
#define VADDR_PRIX PRIX64
2020
#define VADDR_MAX UINT64_MAX
2121

22+
void cpu_exec_init_all(void);
23+
void cpu_exec_step_atomic(CPUState *cpu);
24+
2225
/* Using intptr_t ensures that qemu_*_page_mask is sign-extended even
2326
* when intptr_t is 32-bit and we are aligning a long long.
2427
*/

include/qemu-common.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
int qemu_main(int argc, char **argv, char **envp);
2525
#endif
2626

27-
void cpu_exec_init_all(void);
28-
void cpu_exec_step_atomic(CPUState *cpu);
29-
3027
/**
3128
* set_preferred_target_page_bits:
3229
* @bits: number of bits needed to represent an address within the page

0 commit comments

Comments
 (0)