Skip to content

Commit

Permalink
include: move cpu_exec* declarations to cpu-common.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
elmarco authored and bonzini committed Apr 6, 2022
1 parent 415b732 commit 1f269c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions include/exec/cpu-common.h
Expand Up @@ -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.
*/
Expand Down
3 changes: 0 additions & 3 deletions include/qemu-common.h
Expand Up @@ -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
Expand Down

0 comments on commit 1f269c1

Please sign in to comment.