]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/riscv/opentitan: Include missing 'exec/address-spaces.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Feb 2025 15:24:25 +0000 (16:24 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 16 Feb 2025 13:25:08 +0000 (14:25 +0100)
commitbb741c4f405cf5ade6d2cf3cbbf776a6f26016dc
tree0920e7c1d39719752455baba20bb0238c89ed387
parent2be22bc72d18d92ca9e0c16e56bf309839360f5d
hw/riscv/opentitan: Include missing 'exec/address-spaces.h' header

opentitan_machine_init() calls get_system_memory(),
which is declared in "exec/address-spaces.h". Include
it in order to avoid when refactoring unrelated headers:

  hw/riscv/opentitan.c:83:29: error: call to undeclared function 'get_system_memory'
     83 |     MemoryRegion *sys_mem = get_system_memory();
        |                             ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20250206181827.41557-4-philmd@linaro.org>
hw/riscv/opentitan.c