diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-24 22:24:03 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-30 12:45:05 -0700 |
| commit | 5f2446eb82bcb89c0969feffdd88c4eea05edfcd (patch) | |
| tree | b55b41342e6f6c00a2d92e933367b48aa941d4fd /linux-user/user-internals.h | |
| parent | 5627d5c00a256cc180b659f7c21383e36934a80c (diff) | |
| download | focaccia-qemu-5f2446eb82bcb89c0969feffdd88c4eea05edfcd.tar.gz focaccia-qemu-5f2446eb82bcb89c0969feffdd88c4eea05edfcd.zip | |
include/exec: Include missing headers in exec-all.h
"exec/exec-all.h" declares prototypes such:
void *probe_access(CPUArchState *env, vaddr addr, int size,
^^^^^
MMUAccessType access_type, int mmu_idx,
uintptr_t retaddr);
MemoryRegionSection *iotlb_to_section(CPUState *cpu,
hwaddr index,
^^^^^^
MemTxAttrs attrs);
^^^^^^^^^^
vaddr is defined in "exec/vaddr.h", hwaddr in "exec/hwaddr.h"
and MemTxAttrs in "exec/memattrs.h". All these headers are
indirectly pulled in via "exec/translation-block.h". Since
we will remove "exec/translation-block.h" in the next commit,
include the missing ones, otherwise we'd get errors such:
include/exec/exec-all.h:51:1: error: unknown type name 'hwaddr'
51 | hwaddr memory_region_section_get_iotlb(CPUState *cpu,
| ^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250424202412.91612-5-philmd@linaro.org>
Diffstat (limited to 'linux-user/user-internals.h')
0 files changed, 0 insertions, 0 deletions