MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vm_extint_pending

Function vm_extint_pending

freebsd/amd64/vmm/vmm.c:2200–2211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2198}
2199
2200int
2201vm_extint_pending(struct vm *vm, int vcpuid)
2202{
2203 struct vcpu *vcpu;
2204
2205 if (vcpuid < 0 || vcpuid >= vm->maxcpus)
2206 panic("vm_extint_pending: invalid vcpuid %d", vcpuid);
2207
2208 vcpu = &vm->vcpu[vcpuid];
2209
2210 return (vcpu->extint_pending);
2211}
2212
2213void
2214vm_extint_clear(struct vm *vm, int vcpuid)

Callers 3

vm_handle_hltFunction · 0.85
svm_inj_interruptsFunction · 0.85
vmx_inject_interruptsFunction · 0.85

Calls 1

panicFunction · 0.50

Tested by

no test coverage detected