freebsd-dev/sys/amd64/vmm/io
Neel Natu 787fb3d026 Re-implement RTC current time calculation to eliminate the possibility of
losing time.

The problem with the earlier implementation was that the uptime value
used by 'vrtc_curtime()' could be different than the uptime value when
'vrtc_time_update()' actually updated 'base_uptime'.

Fix this by calculating and updating the (rtctime, uptime) tuple together.

MFC after:	2 weeks
2015-04-29 23:44:28 +00:00
..
iommu.c Re-write bhyve's I/O MMU handling in terms of PCI RID. 2014-04-01 15:54:03 +00:00
iommu.h Re-write bhyve's I/O MMU handling in terms of PCI RID. 2014-04-01 15:54:03 +00:00
ppt.c Allow passthrough devices to be hinted. 2015-03-01 00:39:48 +00:00
ppt.h There is no need to initialize the IOMMU if no passthru devices have been 2014-01-21 03:01:34 +00:00
vatpic.c When ICW1 is issued the edge sense circuit is reset which means that 2015-03-06 02:05:45 +00:00
vatpic.h Change the type of the first argument to the I/O emulation handlers to 2014-10-26 19:03:06 +00:00
vatpit.c Change the type of the first argument to the I/O emulation handlers to 2014-10-26 19:03:06 +00:00
vatpit.h Change the type of the first argument to the I/O emulation handlers to 2014-10-26 19:03:06 +00:00
vhpet.c Replace bhyve's minimal RTC emulation with a fully featured one in vmm.ko. 2014-12-30 22:19:34 +00:00
vhpet.h Add HPET device emulation to bhyve. 2013-11-25 19:04:51 +00:00
vioapic.c Use spinlocks to lock accesses to the vioapic. 2014-02-17 22:57:51 +00:00
vioapic.h Add support for level triggered interrupt pins on the vioapic. Prior to this 2013-11-27 22:18:08 +00:00
vlapic_priv.h Fix a race wherein the source of an interrupt vector is wrongly 2014-03-15 23:09:34 +00:00
vlapic.c Use lapic_ipi_alloc() to dynamically allocate IPI slots needed by bhyve when 2015-03-14 02:32:08 +00:00
vlapic.h Add reserved bit checking when doing %CR8 emulation and inject #GP if required. 2014-06-09 20:51:08 +00:00
vpmtmr.c Change the type of the first argument to the I/O emulation handlers to 2014-10-26 19:03:06 +00:00
vpmtmr.h Change the type of the first argument to the I/O emulation handlers to 2014-10-26 19:03:06 +00:00
vrtc.c Re-implement RTC current time calculation to eliminate the possibility of 2015-04-29 23:44:28 +00:00
vrtc.h Replace bhyve's minimal RTC emulation with a fully featured one in vmm.ko. 2014-12-30 22:19:34 +00:00