summaryrefslogtreecommitdiffstats
path: root/src/include/assert.h
diff options
context:
space:
mode:
authorMichael Brown2017-01-26 09:03:11 +0100
committerMichael Brown2017-01-26 09:19:26 +0100
commitf3ba0fb5fdd866961b5dfc0d227af60b25753f0e (patch)
treef2473a45a68f0e992b37798b6cef9cb31eb36b87 /src/include/assert.h
parent[time] Allow timer to be selected at runtime (diff)
downloadipxe-f3ba0fb5fdd866961b5dfc0d227af60b25753f0e.tar.gz
ipxe-f3ba0fb5fdd866961b5dfc0d227af60b25753f0e.tar.xz
ipxe-f3ba0fb5fdd866961b5dfc0d227af60b25753f0e.zip
[hyperv] Provide timer based on the 10MHz time reference count MSR
When running on AMD platforms, the legacy hardware emulation is extremely unreliable. In particular, the IRQ0 timer interrupt is likely to simply stop working, resulting in a total failure of any code that relies on timers (such as DHCP retransmission attempts). Work around this by using the 10MHz time counter provided by Hyper-V via an MSR. (This timer can be tested in KVM via the command-line option "-cpu host,hv_time".) Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/assert.h')
0 files changed, 0 insertions, 0 deletions