Home
last modified time | relevance | path

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

/src/sys/amd64/vmm/io/
H A Dvhpet.c71 struct vhpet *vhpet; member
75 struct vhpet { struct
99 static void vhpet_start_timer(struct vhpet *vhpet, int n, uint32_t counter, argument
119 vhpet_counter_enabled(struct vhpet *vhpet) in vhpet_counter_enabled() argument
122 return ((vhpet->config & HPET_CNF_ENABLE) ? true : false); in vhpet_counter_enabled()
126 vhpet_timer_msi_enabled(struct vhpet *vhpet, int n) in vhpet_timer_msi_enabled() argument
130 if ((vhpet->timer[n].cap_config & msi_enable) == msi_enable) in vhpet_timer_msi_enabled()
137 vhpet_timer_ioapic_pin(struct vhpet *vhpet, int n) in vhpet_timer_ioapic_pin() argument
143 if (vhpet_timer_msi_enabled(vhpet, n)) in vhpet_timer_ioapic_pin()
146 return ((vhpet->timer[n].cap_config & HPET_TCNF_INT_ROUTE) >> 9); in vhpet_timer_ioapic_pin()
[all …]
H A Dvhpet.h39 struct vhpet *vhpet_init(struct vm *vm);
40 void vhpet_cleanup(struct vhpet *vhpet);
47 int vhpet_snapshot(struct vhpet *vhpet, struct vm_snapshot_meta *meta);
48 int vhpet_restore_time(struct vhpet *vhpet);
/src/sys/amd64/include/
H A Dvmm.h151 struct vhpet *vhpet /* (i) virtual HPET */
159 struct vhpet;
251 struct vhpet *vm_hpet(struct vm *vm);
/src/sys/modules/vmm/
H A DMakefile96 vhpet.c \
/src/sys/amd64/vmm/
H A Dvmm.c317 vm->vhpet = vhpet_init(vm); in vm_init()
417 vhpet_cleanup(vm->vhpet); in vm_cleanup()
1611 struct vhpet *
1615 return (vm->vhpet); in vm_hpet()