mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, include/bsp.h: Fix spacing.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* clock/ckinit.c, include/bsp.h: Fix spacing.
|
||||
|
||||
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* console/debugputs.c, include/bsp.h, startup/spurious.c: Remove debug
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
|
||||
extern int CLOCK_SPEED;
|
||||
|
||||
|
||||
uint32_t bsp_clock_nanoseconds_since_last_tick(void)
|
||||
{
|
||||
uint32_t clicks;
|
||||
@@ -67,13 +66,13 @@ uint32_t bsp_clock_nanoseconds_since_last_tick(void)
|
||||
\
|
||||
ERC32_MEC_Set_Real_Time_Clock_Timer_Control( \
|
||||
ERC32_MEC_TIMER_COUNTER_ENABLE_COUNTING | \
|
||||
ERC32_MEC_TIMER_COUNTER_LOAD_SCALER | \
|
||||
ERC32_MEC_TIMER_COUNTER_LOAD_COUNTER \
|
||||
ERC32_MEC_TIMER_COUNTER_LOAD_SCALER | \
|
||||
ERC32_MEC_TIMER_COUNTER_LOAD_COUNTER \
|
||||
); \
|
||||
\
|
||||
ERC32_MEC_Set_Real_Time_Clock_Timer_Control( \
|
||||
ERC32_MEC_TIMER_COUNTER_ENABLE_COUNTING | \
|
||||
ERC32_MEC_TIMER_COUNTER_RELOAD_AT_ZERO \
|
||||
ERC32_MEC_TIMER_COUNTER_RELOAD_AT_ZERO \
|
||||
); \
|
||||
} while (0)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* This include file contains all SPARC simulator definitions.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2002.
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
|
||||
Reference in New Issue
Block a user