diff options
author | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-08-16 13:31:54 +0000 |
---|---|---|
committer | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-08-16 13:31:54 +0000 |
commit | 2ef7d9c8effe962c525465d3c72f136462125162 (patch) | |
tree | 8d804ac862a5aeb711cdddd3085158433fd044c7 /FreeRTOS/Demo/CORTEX_SmartFusion2_M2S050_SoftConsole/RTOSDemo | |
parent | f72c0373501ca4248b30bdece124ba765e8a144f (diff) | |
download | freertos-2ef7d9c8effe962c525465d3c72f136462125162.tar.gz |
Fix a few typos and remove the "register" keyword.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2004 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Demo/CORTEX_SmartFusion2_M2S050_SoftConsole/RTOSDemo')
-rw-r--r-- | FreeRTOS/Demo/CORTEX_SmartFusion2_M2S050_SoftConsole/RTOSDemo/RunTimeStatsTimer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FreeRTOS/Demo/CORTEX_SmartFusion2_M2S050_SoftConsole/RTOSDemo/RunTimeStatsTimer.c b/FreeRTOS/Demo/CORTEX_SmartFusion2_M2S050_SoftConsole/RTOSDemo/RunTimeStatsTimer.c index 49f8cf889..faa3d4347 100644 --- a/FreeRTOS/Demo/CORTEX_SmartFusion2_M2S050_SoftConsole/RTOSDemo/RunTimeStatsTimer.c +++ b/FreeRTOS/Demo/CORTEX_SmartFusion2_M2S050_SoftConsole/RTOSDemo/RunTimeStatsTimer.c @@ -71,9 +71,9 @@ more information on run time stats: http://www.freertos.org/rtos-run-time-stats.html */
/* Addresses of registers in the Cortex-M debug hardware. */
-#define rtsDWT_CYCCNT ( *( ( unsigned long * ) 0xE0001004 ) )
-#define rtsDWT_CONTROL ( *( ( unsigned long * ) 0xE0001000 ) )
-#define rtsSCB_DEMCR ( *( ( unsigned long * ) 0xE000EDFC ) )
+#define rtsDWT_CYCCNT ( *( ( volatile unsigned long * ) 0xE0001004 ) )
+#define rtsDWT_CONTROL ( *( ( volatile unsigned long * ) 0xE0001000 ) )
+#define rtsSCB_DEMCR ( *( ( volatile unsigned long * ) 0xE000EDFC ) )
#define rtsTRCENA_BIT ( 0x01000000UL )
#define rtsCOUNTER_ENABLE_BIT ( 0x01UL )
|