Date: Sat, 05 May 2007 01:45:38 +0100 From: Bruce M Simpson <bms@incunabulum.net> To: freebsd-mips@freebsd.org Subject: Clock frequency, gxemul, yamon Message-ID: <463BD3B2.9050903@incunabulum.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?463BD3B2.9050903>