Home
last modified time | relevance | path

Searched refs:vpmtmr (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/amd64/vmm/io/
H A Dvpmtmr.c54 struct vpmtmr { struct
62 struct vpmtmr *
65 struct vpmtmr *vpmtmr; in vpmtmr_init() local
68 vpmtmr = malloc(sizeof(struct vpmtmr), M_VPMTMR, M_WAITOK | M_ZERO); in vpmtmr_init()
70 vpmtmr->baseval = 0; in vpmtmr_init()
75 return (vpmtmr); in vpmtmr_init()
79 vpmtmr_cleanup(struct vpmtmr *vpmtmr) in vpmtmr_cleanup() argument
89 struct vpmtmr *vpmtmr; in vpmtmr_handler() local
95 vpmtmr = vm_pmtmr(vm); in vpmtmr_handler()
105 *val = vpmtmr->baseval + delta / vpmtmr->freq_sbt; in vpmtmr_handler()
[all …]
H A Dvpmtmr.h36 struct vpmtmr;
39 struct vpmtmr *vpmtmr_init(struct vm *vm);
40 void vpmtmr_cleanup(struct vpmtmr *pmtmr);
46 int vpmtmr_snapshot(struct vpmtmr *vpmtmr, struct vm_snapshot_meta *meta);
/f-stack/freebsd/amd64/vmm/
H A Dvmm.c162 struct vpmtmr *vpmtmr; /* (i) virtual ACPI PM timer */ member
450 vm->vpmtmr = vpmtmr_init(vm); in vm_init()
553 vpmtmr_cleanup(vm->vpmtmr); in vm_cleanup()
2607 struct vpmtmr *
2611 return (vm->vpmtmr); in vm_pmtmr()
/f-stack/freebsd/amd64/include/
H A Dvmm.h382 struct vpmtmr *vm_pmtmr(struct vm *vm);