summaryrefslogtreecommitdiffstats
path: root/src/interface/efi/efi_debug.c
diff options
context:
space:
mode:
authorMichael Brown2016-05-04 14:04:33 +0200
committerMichael Brown2016-05-04 14:38:33 +0200
commit757ab983811ac8d3f65efb65b8309738bd33bea3 (patch)
tree68e07447d247633a7f25cd85f3df1c59f3b8dada /src/interface/efi/efi_debug.c
parent[tcpip] Do not fall back to using unoptimised TCP/IP checksumming (diff)
downloadipxe-757ab983811ac8d3f65efb65b8309738bd33bea3.tar.gz
ipxe-757ab983811ac8d3f65efb65b8309738bd33bea3.tar.xz
ipxe-757ab983811ac8d3f65efb65b8309738bd33bea3.zip
[efi] Use a timer event to generate the currticks() timer
We currently use the EFI_CPU_ARCH_PROTOCOL's GetTimerValue() method to generate the currticks() timer, calibrated against a 1ms delay from the boot services Stall() method. This does not work on ARM platforms, where GetTimerValue() is an empty stub which just returns EFI_UNSUPPORTED. Fix by instead creating a periodic timer event, and using this event to increment a current tick counter. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_debug.c')
0 files changed, 0 insertions, 0 deletions