mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
include: avoid useless includes of exec/ headers
Headers in include/exec/ are for the deepest innards of QEMU, they should almost never be included directly. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
dccfcd0e5f
commit
0bc3cd624f
9 changed files with 9 additions and 11 deletions
6
dump.c
6
dump.c
|
@ -23,7 +23,6 @@
|
|||
#include "sysemu/memory_mapping.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qmp-commands.h"
|
||||
#include "exec/gdbstub.h"
|
||||
|
||||
static uint16_t cpu_convert_to_target16(uint16_t val, int endian)
|
||||
{
|
||||
|
@ -268,6 +267,11 @@ static int write_elf64_note(DumpState *s)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static inline int cpu_index(CPUState *cpu)
|
||||
{
|
||||
return cpu->cpu_index + 1;
|
||||
}
|
||||
|
||||
static int write_elf64_notes(DumpState *s)
|
||||
{
|
||||
CPUArchState *env;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue