mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
target/arm/kvm: Move kvm_arm_hw_debug_active and unexport
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
ec4145f728
commit
ea79c59989
3 changed files with 11 additions and 13 deletions
|
@ -1021,6 +1021,17 @@ int kvm_arch_process_async_events(CPUState *cs)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* kvm_arm_hw_debug_active:
|
||||
* @cs: CPU State
|
||||
*
|
||||
* Return: TRUE if any hardware breakpoints in use.
|
||||
*/
|
||||
static bool kvm_arm_hw_debug_active(CPUState *cs)
|
||||
{
|
||||
return ((cur_hw_wps > 0) || (cur_hw_bps > 0));
|
||||
}
|
||||
|
||||
/**
|
||||
* kvm_arm_copy_hw_debug_data:
|
||||
* @ptr: kvm_guest_debug_arch structure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue