diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-01-17 21:21:12 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-01-17 21:21:12 +0100 |
commit | a05bab362f66ddd6fa65f2e7cda9eaaa0217ec08 (patch) | |
tree | ccd2fdef5230d2d5369619e6e7f84b389928ad3d /sys/src/9/xen/fns.h | |
parent | 999e98b9b856ae4fc75b3ad33783488e33cdd426 (diff) |
pc, pc64: add minimal HPET driver to measure LAPIC and TSC frequencies
This adds the new function pointer PCArch.clockinit(),
which is a timer dependent initialization routine.
It also takes over the job of guesscpuhz(). This way, the
architecture ident code can switch between different
timers (i8253, HPET and XEN timer).
Diffstat (limited to 'sys/src/9/xen/fns.h')
-rw-r--r-- | sys/src/9/xen/fns.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/9/xen/fns.h b/sys/src/9/xen/fns.h index 32a101935..3013d5f4a 100644 --- a/sys/src/9/xen/fns.h +++ b/sys/src/9/xen/fns.h @@ -27,7 +27,6 @@ void (*fprestore)(FPsave*); void (*fpsave)(FPsave*); ulong getcr4(void); char* getconf(char*); -void guesscpuhz(int); void halt(void); void mwait(void*); void i8042reset(void); |