Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/vmm/vmm.c
Show First 20 Lines • Show All 997 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
void | void | ||||
vm_gpa_release(void *cookie) | vm_gpa_release(void *cookie) | ||||
{ | { | ||||
vm_page_t m = cookie; | vm_page_t m = cookie; | ||||
vm_page_lock(m); | vm_page_lock(m); | ||||
vm_page_unhold(m); | vm_page_unwire(m, PQ_ACTIVE); | ||||
vm_page_unlock(m); | vm_page_unlock(m); | ||||
} | } | ||||
int | int | ||||
vm_get_register(struct vm *vm, int vcpu, int reg, uint64_t *retval) | vm_get_register(struct vm *vm, int vcpu, int reg, uint64_t *retval) | ||||
{ | { | ||||
if (vcpu < 0 || vcpu >= vm->maxcpus) | if (vcpu < 0 || vcpu >= vm->maxcpus) | ||||
▲ Show 20 Lines • Show All 1,705 Lines • Show Last 20 Lines |