aboutsummaryrefslogtreecommitdiff
path: root/kern/mach_clock.h
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2023-03-11 07:29:45 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-03-11 10:17:34 +0100
commit3c1537e84b49bbcc98d3a730cba263faceee4fc6 (patch)
tree25420b77927e307f76ac3b8af934116efd152374 /kern/mach_clock.h
parent8e5e86fc13732b60d2e4d14152d92db1f1ae73f9 (diff)
downloadgnumach-3c1537e84b49bbcc98d3a730cba263faceee4fc6.tar.gz
gnumach-3c1537e84b49bbcc98d3a730cba263faceee4fc6.tar.bz2
gnumach-3c1537e84b49bbcc98d3a730cba263faceee4fc6.zip
ioapic: Timer calibrated in 10 mach ticks
hz variable is the number of mach ticks in 1 second. We want to know how many lapic ticks in 1 mach tick. Therefore, we set a timer for 10 mach ticks and divide the lapic stopwatch counter value by 10. Message-Id: <20230311072937.450161-1-damien@zamaudio.com>
Diffstat (limited to 'kern/mach_clock.h')
0 files changed, 0 insertions, 0 deletions