#
bb2808d6 |
|
24-Oct-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
bootloader: Implement TSC calibration via hypervisor CPUID leaf. While debugging some problems on the HaikuPorts build VMs, mmlr noticed their clocks had an alarming amount of drift. This prompted an investigation into TSC calibration mechanisms, and the discovery that there is a VM-specific one which we did not implement. This mechanism is more accurate than counting cycles on VMs where cycles can be "stolen" (the probable cause of the aforementioned clock drift.) Tested in VMware (works out of the box) and on QEMU/KVM (may need TSC frequency specified or a host with invariant TSC.) Change-Id: I4ccfdb2e4e2621404ec9026e7106c02bf96faf18 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7063 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
367beefa |
|
13-Jan-2022 |
David Karoly <karolyd577@gmail.com> |
boot/x86: move HPET initialization to arch folder Change-Id: Iac3f4923f132c4c3328fde5af1dad75af5b2efbd Reviewed-on: https://review.haiku-os.org/c/haiku/+/4864 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
d2986cb6 |
|
21-Feb-2020 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
system/boot: More cleanup and shuffling * arm efi additions * cleanup some cpu headers which were oddly split between efi and bios_ia32 * Move calculate_cpu_conversion_factor over to arch_timer since it is timerish, and x86 only * Drop some duplicated code from efi start. Move hpet init code into efi timer/hpet code Change-Id: Ia4264a5690ba8c09417b06788febc4f572f111ce Reviewed-on: https://review.haiku-os.org/c/haiku/+/2259 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
b482adb1 |
|
01-Nov-2019 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
kernel/boot/efi: Continue breaking apart arch-specific code; hpet * Move x86 hpet behind timer interface. * Add a few if x86,x86_64 macros to start.cpp. Change-Id: I583ec1b064785182e6d48dfbcd91b1bb2ead4b44 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1929 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
|