Browse Source
Code taken from HVF and adapted for WHPX use. Note that WHPX doesn't have a default vs maximum IPA distinction. Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>master
committed by
Peter Maydell
6 changed files with 111 additions and 0 deletions
@ -1,3 +1,5 @@ |
|||
arm_system_ss.add(when: 'CONFIG_WHPX', if_true: files( |
|||
'whpx-all.c', |
|||
)) |
|||
|
|||
arm_common_system_ss.add(when: 'CONFIG_WHPX', if_false: files('whpx-stub.c')) |
|||
|
|||
@ -0,0 +1,15 @@ |
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|||
/*
|
|||
* WHPX stubs for ARM |
|||
* |
|||
* Copyright (c) 2025 Mohamed Mediouni |
|||
* |
|||
*/ |
|||
|
|||
#include "qemu/osdep.h" |
|||
#include "whpx_arm.h" |
|||
|
|||
uint32_t whpx_arm_get_ipa_bit_size(void) |
|||
{ |
|||
g_assert_not_reached(); |
|||
} |
|||
@ -0,0 +1,16 @@ |
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|||
/*
|
|||
* WHPX support -- ARM specifics |
|||
* |
|||
* Copyright (c) 2025 Mohamed Mediouni |
|||
* |
|||
*/ |
|||
|
|||
#ifndef QEMU_WHPX_ARM_H |
|||
#define QEMU_WHPX_ARM_H |
|||
|
|||
#include "target/arm/cpu-qom.h" |
|||
|
|||
uint32_t whpx_arm_get_ipa_bit_size(void); |
|||
|
|||
#endif |
|||
Loading…
Reference in new issue