mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
sysemu/memory_mapping: Become target-agnostic
target_ulong is target-specific, while vaddr isn't. Remove the unnecessary "exec/cpu-defs.h" target-speficic header from "memory_mapping.h" and use the target-agnostic "hw/core/cpu.h" locally in memory_mapping.c. Remove "exec/memory.h" since MemoryRegion is forward-declared in "qemu/typedefs.h". Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220207075426.81934-6-f4bug@amsat.org>
This commit is contained in:
parent
73842ef04a
commit
4e27e76541
2 changed files with 3 additions and 3 deletions
|
@ -17,6 +17,7 @@
|
|||
#include "sysemu/memory_mapping.h"
|
||||
#include "exec/memory.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/core/cpu.h"
|
||||
|
||||
//#define DEBUG_GUEST_PHYS_REGION_ADD
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue