Home
last modified time | relevance | path

Searched refs:debug_cpus (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/riscv/vmm/
H A Dvmm.c119 volatile cpuset_t debug_cpus; /* (i) vcpus stopped for debug*/ member
292 CPU_ZERO(&vm->debug_cpus); in vm_init()
656 vm->debug_cpus = vm->active_cpus; in vm_suspend_cpu()
665 CPU_SET_ATOMIC(vcpu->vcpuid, &vm->debug_cpus); in vm_suspend_cpu()
676 CPU_ZERO(&vm->debug_cpus); in vm_resume_cpu()
678 if (!CPU_ISSET(vcpu->vcpuid, &vm->debug_cpus)) in vm_resume_cpu()
681 CPU_CLR_ATOMIC(vcpu->vcpuid, &vm->debug_cpus); in vm_resume_cpu()
690 return (CPU_ISSET(vcpu->vcpuid, &vcpu->vm->debug_cpus)); in vcpu_debugged()
704 return (vm->debug_cpus); in vm_debug_cpus()
/freebsd/sys/arm64/vmm/
H A Dvmm.c124 volatile cpuset_t debug_cpus; /* (i) vcpus stopped for debug */ member
396 CPU_ZERO(&vm->debug_cpus); in vm_init()
934 vm->debug_cpus = vm->active_cpus; in vm_suspend_cpu()
943 CPU_SET_ATOMIC(vcpu->vcpuid, &vm->debug_cpus); in vm_suspend_cpu()
954 CPU_ZERO(&vm->debug_cpus); in vm_resume_cpu()
956 if (!CPU_ISSET(vcpu->vcpuid, &vm->debug_cpus)) in vm_resume_cpu()
959 CPU_CLR_ATOMIC(vcpu->vcpuid, &vm->debug_cpus); in vm_resume_cpu()
968 return (CPU_ISSET(vcpu->vcpuid, &vcpu->vm->debug_cpus)); in vcpu_debugged()
982 return (vm->debug_cpus); in vm_debug_cpus()
/freebsd/sys/amd64/vmm/
H A Dvmm.c155 volatile cpuset_t debug_cpus; /* (i) vcpus stopped for debug */ member
513 CPU_ZERO(&vm->debug_cpus); in vm_init()
2144 vm->debug_cpus = vm->active_cpus; in vm_suspend_cpu()
2153 CPU_SET_ATOMIC(vcpu->vcpuid, &vm->debug_cpus); in vm_suspend_cpu()
2164 CPU_ZERO(&vm->debug_cpus); in vm_resume_cpu()
2166 if (!CPU_ISSET(vcpu->vcpuid, &vm->debug_cpus)) in vm_resume_cpu()
2169 CPU_CLR_ATOMIC(vcpu->vcpuid, &vm->debug_cpus); in vm_resume_cpu()
2178 return (CPU_ISSET(vcpu->vcpuid, &vcpu->vm->debug_cpus)); in vcpu_debugged()
2192 return (vm->debug_cpus); in vm_debug_cpus()