mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
accel/hvf: Restrict ARM specific fields of AccelCPUState
Do not expose ARM specific fields to X86 implementation, allowing to use the proper 'hv_vcpu_exit_t' type. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
7da8b562ae
commit
2ad756383e
@@ -59,10 +59,12 @@ extern HVFState *hvf_state;
|
|||||||
|
|
||||||
struct AccelCPUState {
|
struct AccelCPUState {
|
||||||
hvf_vcpuid fd;
|
hvf_vcpuid fd;
|
||||||
void *exit;
|
#ifdef __aarch64__
|
||||||
|
hv_vcpu_exit_t *exit;
|
||||||
bool vtimer_masked;
|
bool vtimer_masked;
|
||||||
sigset_t unblock_ipi_mask;
|
sigset_t unblock_ipi_mask;
|
||||||
bool guest_debug_enabled;
|
bool guest_debug_enabled;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
void assert_hvf_ok_impl(hv_return_t ret, const char *file, unsigned int line,
|
void assert_hvf_ok_impl(hv_return_t ret, const char *file, unsigned int line,
|
||||||
|
|||||||
Reference in New Issue
Block a user