x86 clock speed probing

Stephan Meyer (sensei@munich.netsurf.de)
Fri, 31 Jan 1997 18:09:54 +0100 (MET)


I will probably substitute "clock rate" by "clock speed".

I will put #ifdef statements for SMP around the code to disable this in
multi-processor enviroments. Somebody please tell me how I can make the
code not lock up on these machines.

If the clock speed should be probed during system startup, then I will
need to do this after the IRQs and jiffies have been initialized, probably
just after computing the bogomips. However, I haven't found any arch/i386
init code that is run after enabling interrupts. Should I put #ifdef
around the call to getmhz() in ./init/main.c ? How would the #ifdef
statement need to look? Please comment on this. I have little clue :)

Have fun, Stephan

-----------------------------------------------
Stephan Meyer
+49-89-4301114
Stephan.Meyer@munich.netsurf.de
http://fatman.mathematik.tu-muenchen.de/~meyer/
-----------------------------------------------