mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00

ARMCPU typedef is declared in "cpu-qom.h". Include it in order to avoid when refactoring unrelated headers: target/arm/hvf_arm.h:23:41: error: unknown type name 'ARMCPU' 23 | void hvf_arm_set_cpu_features_from_host(ARMCPU *cpu); | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250513173928.77376-10-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
28 lines
654 B
C
28 lines
654 B
C
/*
|
|
* QEMU Hypervisor.framework (HVF) support -- ARM specifics
|
|
*
|
|
* Copyright (c) 2021 Alexander Graf
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#ifndef QEMU_HVF_ARM_H
|
|
#define QEMU_HVF_ARM_H
|
|
|
|
#include "target/arm/cpu-qom.h"
|
|
|
|
/**
|
|
* hvf_arm_init_debug() - initialize guest debug capabilities
|
|
*
|
|
* Should be called only once before using guest debug capabilities.
|
|
*/
|
|
void hvf_arm_init_debug(void);
|
|
|
|
void hvf_arm_set_cpu_features_from_host(ARMCPU *cpu);
|
|
|
|
uint32_t hvf_arm_get_default_ipa_bit_size(void);
|
|
uint32_t hvf_arm_get_max_ipa_bit_size(void);
|
|
|
|
#endif
|