Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/vmm/amd/svm.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | struct svm_regctx { | ||||
register_t host_dr3; | register_t host_dr3; | ||||
register_t host_dr6; | register_t host_dr6; | ||||
register_t host_dr7; | register_t host_dr7; | ||||
uint64_t host_debugctl; | uint64_t host_debugctl; | ||||
}; | }; | ||||
void svm_launch(uint64_t pa, struct svm_regctx *gctx, struct pcpu *pcpu); | void svm_launch(uint64_t pa, struct svm_regctx *gctx, struct pcpu *pcpu); | ||||
#ifdef BHYVE_SNAPSHOT | #ifdef BHYVE_SNAPSHOT | ||||
int svm_set_tsc_offset(struct svm_softc *sc, struct svm_vcpu *vcpu, | void svm_set_tsc_offset(struct svm_vcpu *vcpu, uint64_t offset); | ||||
uint64_t offset); | |||||
#endif | #endif | ||||
#endif /* _SVM_H_ */ | #endif /* _SVM_H_ */ |