Clock frequency, gxemul, yamon

Bruce M Simpson bms at incunabulum.net
Sat May 5 00:45:40 UTC 2007


The tick.c code currently uses the CPU clock frequency (if known) for 
calibrating DELAY() and the MIPS on chip ticker, implemented using the 
cycle count register, a bit like TSC on x86.

It appears that the YAMON monitor includes a function to discover the 
clock frequency from the platform firmware.(I don't see a way to do this 
for CFE firmware).

GXemul's yamon shim does not support this function, a patch should be 
quite trivial to implement.

Regards,
BMS


More information about the freebsd-mips mailing list