Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/include/vmm.h
Show First 20 Lines • Show All 280 Lines • ▼ Show 20 Lines | |||||
void *vcpu_stats(struct vm *vm, int vcpu); | void *vcpu_stats(struct vm *vm, int vcpu); | ||||
void vcpu_notify_event(struct vm *vm, int vcpuid, bool lapic_intr); | void vcpu_notify_event(struct vm *vm, int vcpuid, bool lapic_intr); | ||||
struct vmspace *vm_get_vmspace(struct vm *vm); | struct vmspace *vm_get_vmspace(struct vm *vm); | ||||
int vm_assign_pptdev(struct vm *vm, int bus, int slot, int func); | int vm_assign_pptdev(struct vm *vm, int bus, int slot, int func); | ||||
int vm_unassign_pptdev(struct vm *vm, int bus, int slot, int func); | int vm_unassign_pptdev(struct vm *vm, int bus, int slot, int func); | ||||
struct vatpic *vm_atpic(struct vm *vm); | struct vatpic *vm_atpic(struct vm *vm); | ||||
struct vatpit *vm_atpit(struct vm *vm); | struct vatpit *vm_atpit(struct vm *vm); | ||||
struct vpmtmr *vm_pmtmr(struct vm *vm); | struct vpmtmr *vm_pmtmr(struct vm *vm); | ||||
struct vrtc *vm_rtc(struct vm *vm); | |||||
/* | /* | ||||
* Inject exception 'vme' into the guest vcpu. This function returns 0 on | * Inject exception 'vme' into the guest vcpu. This function returns 0 on | ||||
* success and non-zero on failure. | * success and non-zero on failure. | ||||
* | * | ||||
* Wrapper functions like 'vm_inject_gp()' should be preferred to calling | * Wrapper functions like 'vm_inject_gp()' should be preferred to calling | ||||
* this function directly because they enforce the trap-like or fault-like | * this function directly because they enforce the trap-like or fault-like | ||||
* behavior of an exception. | * behavior of an exception. | ||||
▲ Show 20 Lines • Show All 334 Lines • Show Last 20 Lines |