2001-04-20 Joel Sherrill <joel@OARcorp.com>

* clock/clockdrv.c: Account for the fact that ClockRate is
	in cycles not megahertz.
This commit is contained in:
Joel Sherrill
2001-04-20 13:08:46 +00:00
parent 176e1ed8aa
commit 831aba1ef5
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2001-04-20 Joel Sherrill <joel@OARcorp.com>
* clock/clockdrv.c: Account for the fact that ClockRate is
in cycles not megahertz.
2001-04-16 Joel Sherrill <joel@OARcorp.com>
* start/start.S, startup/bspstart.c, startup/linkcmds:

View File

@@ -40,7 +40,7 @@
extern int ClockRate;
#define CLICKS (unsigned32) &ClockRate
#define CLICKS (((unsigned32) &ClockRate) / 1000000 )
#define Clock_driver_support_initialize_hardware() \
do { \
unsigned32 _clicks; \