Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/amd64/vmm/io/
HDvpmtmr.c51 struct vpmtmr { struct
59 struct vpmtmr *
62 struct vpmtmr *vpmtmr; in vpmtmr_init() local
65 vpmtmr = malloc(sizeof(struct vpmtmr), M_VPMTMR, M_WAITOK | M_ZERO); in vpmtmr_init()
66 vpmtmr->baseuptime = sbinuptime(); in vpmtmr_init()
67 vpmtmr->baseval = 0; in vpmtmr_init()
70 vpmtmr->freq_sbt = bttosbt(bt); in vpmtmr_init()
72 return (vpmtmr); in vpmtmr_init()
76 vpmtmr_cleanup(struct vpmtmr *vpmtmr) in vpmtmr_cleanup() argument
79 free(vpmtmr, M_VPMTMR); in vpmtmr_cleanup()
[all …]
HDvpmtmr.h36 struct vpmtmr;
38 struct vpmtmr *vpmtmr_init(struct vm *vm);
39 void vpmtmr_cleanup(struct vpmtmr *pmtmr);
/freebsd-11-stable/sys/modules/vmm/
HDMakefile36 vpmtmr.c \
/freebsd-11-stable/sys/amd64/vmm/
HDvmm.c150 struct vpmtmr *vpmtmr; /* (i) virtual ACPI PM timer */ member
418 vm->vpmtmr = vpmtmr_init(vm); in vm_init()
520 vpmtmr_cleanup(vm->vpmtmr); in vm_cleanup()
2492 struct vpmtmr *
2496 return (vm->vpmtmr); in vm_pmtmr()
/freebsd-11-stable/sys/amd64/include/
HDvmm.h338 struct vpmtmr *vm_pmtmr(struct vm *vm);