mirror of https://github.com/xemu-project/xemu.git
target/arm/kvm: Unexport kvm_arm_{get, put}_virtual_time
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Gavin Shan <gshan@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
5cba8f26de
commit
46512471c4
|
@ -704,7 +704,13 @@ int kvm_arm_sync_mpstate_to_qemu(ARMCPU *cpu)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void kvm_arm_get_virtual_time(CPUState *cs)
|
/**
|
||||||
|
* kvm_arm_get_virtual_time:
|
||||||
|
* @cs: CPUState
|
||||||
|
*
|
||||||
|
* Gets the VCPU's virtual counter and stores it in the KVM CPU state.
|
||||||
|
*/
|
||||||
|
static void kvm_arm_get_virtual_time(CPUState *cs)
|
||||||
{
|
{
|
||||||
ARMCPU *cpu = ARM_CPU(cs);
|
ARMCPU *cpu = ARM_CPU(cs);
|
||||||
int ret;
|
int ret;
|
||||||
|
@ -722,7 +728,13 @@ void kvm_arm_get_virtual_time(CPUState *cs)
|
||||||
cpu->kvm_vtime_dirty = true;
|
cpu->kvm_vtime_dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void kvm_arm_put_virtual_time(CPUState *cs)
|
/**
|
||||||
|
* kvm_arm_put_virtual_time:
|
||||||
|
* @cs: CPUState
|
||||||
|
*
|
||||||
|
* Sets the VCPU's virtual counter to the value stored in the KVM CPU state.
|
||||||
|
*/
|
||||||
|
static void kvm_arm_put_virtual_time(CPUState *cs)
|
||||||
{
|
{
|
||||||
ARMCPU *cpu = ARM_CPU(cs);
|
ARMCPU *cpu = ARM_CPU(cs);
|
||||||
int ret;
|
int ret;
|
||||||
|
|
|
@ -335,22 +335,6 @@ int kvm_arm_sync_mpstate_to_kvm(ARMCPU *cpu);
|
||||||
*/
|
*/
|
||||||
int kvm_arm_sync_mpstate_to_qemu(ARMCPU *cpu);
|
int kvm_arm_sync_mpstate_to_qemu(ARMCPU *cpu);
|
||||||
|
|
||||||
/**
|
|
||||||
* kvm_arm_get_virtual_time:
|
|
||||||
* @cs: CPUState
|
|
||||||
*
|
|
||||||
* Gets the VCPU's virtual counter and stores it in the KVM CPU state.
|
|
||||||
*/
|
|
||||||
void kvm_arm_get_virtual_time(CPUState *cs);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* kvm_arm_put_virtual_time:
|
|
||||||
* @cs: CPUState
|
|
||||||
*
|
|
||||||
* Sets the VCPU's virtual counter to the value stored in the KVM CPU state.
|
|
||||||
*/
|
|
||||||
void kvm_arm_put_virtual_time(CPUState *cs);
|
|
||||||
|
|
||||||
void kvm_arm_vm_state_change(void *opaque, bool running, RunState state);
|
void kvm_arm_vm_state_change(void *opaque, bool running, RunState state);
|
||||||
|
|
||||||
int kvm_arm_vgic_probe(void);
|
int kvm_arm_vgic_probe(void);
|
||||||
|
|
Loading…
Reference in New Issue