forked from Imagelibrary/rtems
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:
@@ -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>
|
2001-04-16 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* start/start.S, startup/bspstart.c, startup/linkcmds:
|
* start/start.S, startup/bspstart.c, startup/linkcmds:
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
extern int ClockRate;
|
extern int ClockRate;
|
||||||
|
|
||||||
#define CLICKS (unsigned32) &ClockRate
|
#define CLICKS (((unsigned32) &ClockRate) / 1000000 )
|
||||||
#define Clock_driver_support_initialize_hardware() \
|
#define Clock_driver_support_initialize_hardware() \
|
||||||
do { \
|
do { \
|
||||||
unsigned32 _clicks; \
|
unsigned32 _clicks; \
|
||||||
|
|||||||
Reference in New Issue
Block a user