mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
831 B
C
45 lines
831 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 "cpu.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);
|
|
|
|
#ifdef CONFIG_HVF
|
|
|
|
uint32_t hvf_arm_get_default_ipa_bit_size(void);
|
|
uint32_t hvf_arm_get_max_ipa_bit_size(void);
|
|
|
|
#else
|
|
|
|
static inline uint32_t hvf_arm_get_default_ipa_bit_size(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline uint32_t hvf_arm_get_max_ipa_bit_size(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|