acrn-hypervisor/devicemodel/include
Peter Fang b5f770707e dm: vpit: add vPIT support
vPIT is used as a source of system timer by UEFI (e.g. OVMF).

This is ported from Bhyve, with a few changes:

- move to user space, using POSIX timer
- support timer mode 3
- improve the emulation of OUT and STATUS byte
- improve the emulation of counter behavior
- improve the emulation of CE update in periodic mode
- treat CR == 0 as 0x10000

Origin: FreeBSD
License: BSD-3-Clause
URL: https://svnweb.freebsd.org/
commit: 283291
Purpose: Adding vPIT support.
Maintained-by: External

Tracked-On: #1392
Signed-off-by: Peter Fang <peter.fang@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
2018-10-09 13:24:47 +08:00
..
public dm: combine VM creating and ioreq shared page setup 2018-09-26 11:33:20 +08:00
acpi.h DM: Add funciton to update PM_WAK_STS 2018-08-02 13:14:03 +08:00
ahci.h initial import 2018-05-11 14:44:28 +08:00
ata.h initial import 2018-05-11 14:44:28 +08:00
atkbdc.h DM: add deinit function to virtual keyboard device 2018-05-15 17:25:24 +08:00
atomic.h DM: add wrappers to gcc built-in atomic operations 2018-08-08 15:53:07 +08:00
block_if.h dm: storage: support cache mode toggling 2018-08-10 10:33:21 +08:00
console.h DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
cpuset.h initial import 2018-05-11 14:44:28 +08:00
dm.h DM: adapt to the new VHM request state transitions 2018-08-08 15:53:07 +08:00
gc.h initial import 2018-05-11 14:44:28 +08:00
heci.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
i8253reg.h dm: vpit: add PIT-related header files 2018-10-09 13:24:47 +08:00
inout.h dm: fix the issue when guest tries to disable memory range access 2018-10-08 12:57:00 +08:00
ioapic.h DM: increase vioapic pin count 2018-05-16 15:09:48 +08:00
ioc.h IOC mediator: add RTC feature 2018-09-12 09:18:44 +08:00
iodev.h initial import 2018-05-11 14:44:28 +08:00
irq.h initial import 2018-05-11 14:44:28 +08:00
lpc.h initial import 2018-05-11 14:44:28 +08:00
macros.h dm: vpit: add vPIT support 2018-10-09 13:24:47 +08:00
mc146818rtc.h initial import 2018-05-11 14:44:28 +08:00
mem.h dm: fix the issue when guest tries to disable memory range access 2018-10-08 12:57:00 +08:00
mevent.h DM: add init/deinit function for mevent 2018-05-15 17:25:27 +08:00
monitor.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
mptable.h initial import 2018-05-11 14:44:28 +08:00
mptbl.h initial import 2018-05-11 14:44:28 +08:00
netmap.h initial import 2018-05-11 14:44:28 +08:00
netmap_user.h initial import 2018-05-11 14:44:28 +08:00
npk.h DM: implement emulated npk pci device 2018-06-07 16:11:49 +08:00
ns16550.h initial import 2018-05-11 14:44:28 +08:00
pci_core.h DM: add system reset (with RAM content kept) 2018-07-17 14:11:12 +08:00
pciio.h initial import 2018-05-11 14:44:28 +08:00
pcireg.h dm: Disable stolen memory for passthru graphics 2018-06-29 00:50:01 +08:00
pit.h dm: vpit: add PIT-related header files 2018-10-09 13:24:47 +08:00
pm.h DM: register pm ops to monitor 2018-08-02 13:14:03 +08:00
ps2kbd.h DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
ps2mouse.h DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
rpmb.h DM: virtio rpmb backend driver updates 2018-08-16 09:42:20 +08:00
rpmb_backend.h DM: RPMB virtualization 2018-05-25 10:45:24 +08:00
rpmb_sim.h DM: Add simulated RPMB support 2018-05-25 10:45:24 +08:00
rtc.h dm: vrtc: add memory configuration in RTC CMOS 2018-10-05 00:33:17 +08:00
segments.h initial import 2018-05-11 14:44:28 +08:00
smbiostbl.h initial import 2018-05-11 14:44:28 +08:00
specialreg.h initial import 2018-05-11 14:44:28 +08:00
sw_load.h dm: vrtc: add memory configuration in RTC CMOS 2018-10-05 00:33:17 +08:00
tree.h initial import 2018-05-11 14:44:28 +08:00
types.h dm: vpit: add vPIT support 2018-10-09 13:24:47 +08:00
uart_core.h DM: cleanup resource for uart. 2018-05-15 17:25:55 +08:00
usb.h DM USB: move the UREQ macro into common header 2018-05-29 10:35:05 +08:00
usb_core.h DM USB: xHCI: limit bus and port numbers of xHCI 2018-08-15 11:18:33 +08:00
usb_pmapper.h DM USB: xHCI: enable Flat Mode Hub emulation support. 2018-09-14 13:32:34 +08:00
usbdi.h initial import 2018-05-11 14:44:28 +08:00
vbs_common_if.h dm: virtio: add support for VBS-K device reset 2018-08-16 16:22:43 +08:00
vhost.h dm: virtio: add vhost support 2018-09-27 16:53:30 +08:00
virtio.h dm: virtio: rename virtio ring structures and feature bits 2018-09-27 16:53:30 +08:00
virtio_kernel.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmm.h DM: adapt to the new VHM request state transitions 2018-08-08 15:53:07 +08:00
vmmapi.h dm: vpit: add vPIT support 2018-10-09 13:24:47 +08:00
vrpmb.h DM: Generate vRPMB key when creating UOS 2018-05-25 10:45:24 +08:00
xhci.h DM USB: xHCI: Support APL extended capability for DRD. 2018-05-31 11:26:38 +08:00
xhcireg.h DM USB: xHCI: Update the native DRD interfaces. 2018-07-10 13:42:17 +08:00