Benjamin Herrenschmidt wrote:
If you're going to reimplement the delays using the
time base, why not use the KeyLargo timer instead?
It runs at the same frequency (18.432MHz) on all
machines, so that'll save a multiply ;) Too bad for
the non-Macs, but else you'll have to special-case
the 601 (and maybe others) anyway.
I don't want to rely on external HW,
Why not?
> IOs are slow,
Duh... this is the delay loop we're talking about!
> KL doesn't exist on all macs,
Not interesting ;)
> and other PPCs would benefit from TB based delays as well
anyway.
That's a very good reason though.
KL timer would be useful for better calibration of TB during boot
on pmacs though (Darwin recent versions use it for that as well).
I know (you told me :) )
Segher