Home
last modified time | relevance | path

Searched refs:vtimer (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/riscv/vmm/
H A Dvmm_vtimer.c70 struct vtimer *vtimer; in vtimer_cpuinit() local
74 vtimer = &hypctx->vtimer; in vtimer_cpuinit()
75 mtx_init(&vtimer->mtx, "vtimer callout mutex", NULL, MTX_DEF); in vtimer_cpuinit()
76 callout_init_mtx(&vtimer->callout, &vtimer->mtx, 0); in vtimer_cpuinit()
82 vtimer->freq = freq; in vtimer_cpuinit()
101 struct vtimer *vtimer; in vtimer_set_timer() local
106 vtimer = &hypctx->vtimer; in vtimer_set_timer()
111 time = delta * SBT_1S / vtimer->freq; in vtimer_set_timer()
113 callout_reset_sbt(&vtimer->callout, time, 0, in vtimer_set_timer()
H A Driscv.h98 struct vtimer vtimer; member
H A Dvmm_vtimer.h38 struct vtimer { struct
/freebsd/sys/arm64/vmm/io/
H A Dvtimer.c65 SYSCTL_NODE(_hw_vmm, OID_AUTO, vtimer, CTLFLAG_RW, NULL, NULL);
100 hypctx->hyp->vtimer.cntvoff_el2; in vtimer_virtual_timer_intr()
168 hyp->vtimer.cnthctl_el2 = in vtimer_vminit()
172 hyp->vtimer.cnthctl_el2 |= in vtimer_vminit()
178 hyp->vtimer.cnthctl_el2 |= in vtimer_vminit()
191 hyp->vtimer.cnthctl_el2 = in vtimer_vminit()
195 hyp->vtimer.cnthctl_el2 = in vtimer_vminit()
202 hyp->vtimer.cnthctl_el2 |= CNTHCTL_ECV_EN; in vtimer_vminit()
205 hyp->vtimer.cntvoff_el2 = now; in vtimer_vminit()
292 hypctx->hyp->vtimer.cntvoff_el2; in vtimer_sync_hwstate()
[all …]
H A Dvtimer.h40 struct vtimer { struct
/freebsd/sys/arm64/vmm/
H A Darm64.h143 struct vtimer vtimer; member
H A Dvmm_hyp.c486 WRITE_SPECIALREG(cnthctl_el2, hyp->vtimer.cnthctl_el2); in vmm_hyp_reg_restore()
487 WRITE_SPECIALREG(cntvoff_el2, hyp->vtimer.cntvoff_el2); in vmm_hyp_reg_restore()
495 hyp->vtimer.cntvoff_el2); in vmm_hyp_reg_restore()
571 ecv_poff = (hyp->vtimer.cnthctl_el2 & CNTHCTL_ECV_EN) != 0; in vmm_hyp_call_guest()
/freebsd/sys/modules/vmm/
H A DMakefile43 vtimer.c
/freebsd/sys/conf/
H A Dfiles.arm64163 arm64/vmm/io/vtimer.c optional vmm