mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
target/xtensa/cpu: Include missing "memory.h" header
Under system emulation, xtensa_cpu_initfn() calls memory_region_init_io(), itself declared in "exec/memory.h". Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20221217172907.8364-10-philmd@linaro.org>
This commit is contained in:
parent
c3ae4b0a52
commit
9585201a8b
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@
|
|||
#include "qemu/module.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "hw/qdev-clock.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "exec/memory.h"
|
||||
#endif
|
||||
|
||||
|
||||
static void xtensa_cpu_set_pc(CPUState *cs, vaddr value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue