summaryrefslogtreecommitdiff
path: root/i386/intel/read_fault.c
diff options
context:
space:
mode:
authorZhaoming Luo <zhmingluo@163.com>2025-03-24 12:25:51 +0800
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-03-25 01:11:12 +0100
commit6d91c78f0c240e3c7d81e19e85507e0aec580d6f (patch)
treeaf612893bc051a0725d71154769896c50c3a251e /i386/intel/read_fault.c
parentd8fd7d256e412d3b19f7f2291ae95fbb0f6794ec (diff)
Integrate HPET so the functions used for getting time can have a higher accuracy
Integrate HPET so host_get_time, host_get_time64, and host_get_uptime64 are more precise. The highest precision can be 10ns when this patch is applied. * i386/i386/apic.c: Implement the two high-precision clock interface functions added in this patch for i386. * i386/i386at/model_dep.c: Initialize HPET if APIC is defined * kern/mach_clock.c: Integrate the high-precision clocks to have the 10ns precise time values. * kern/mach_clock.h: Add two new interface functions for accessing the high-precision clocks. Message-ID: <20250324042551.4752-2-zhmingluo@163.com>
Diffstat (limited to 'i386/intel/read_fault.c')
0 files changed, 0 insertions, 0 deletions