diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-18 13:47:59 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-18 13:47:59 +0000 |
commit | 547af382bdbef31fc1717f5a038b43c3aa7d32da (patch) | |
tree | 452cee3956b23d2d5e79a56fd97c69b2ea8b7546 /cpukit/score/cpu/arm | |
parent | 2008-04-17 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-547af382bdbef31fc1717f5a038b43c3aa7d32da.tar.bz2 |
2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Add comment.
Diffstat (limited to 'cpukit/score/cpu/arm')
-rw-r--r-- | cpukit/score/cpu/arm/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/arm/cpu.c | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog index ad3912565d..951b59dedc 100644 --- a/cpukit/score/cpu/arm/ChangeLog +++ b/cpukit/score/cpu/arm/ChangeLog @@ -1,3 +1,7 @@ +2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com> + + * cpu.c: Add comment. + 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com> * cpu.c: Add arm_cpu_mode so ARM BSP can overrid default value for diff --git a/cpukit/score/cpu/arm/cpu.c b/cpukit/score/cpu/arm/cpu.c index c6ee2642ac..b227bf3233 100644 --- a/cpukit/score/cpu/arm/cpu.c +++ b/cpukit/score/cpu/arm/cpu.c @@ -25,6 +25,13 @@ #include <rtems/score/thread.h> #include <rtems/score/cpu.h> +/* + * This variable can be used to change the running mode of the execution + * contexts. + */ + +unsigned int arm_cpu_mode = 0x13; + /* _CPU_Initialize * * This routine performs processor dependent initialization. @@ -130,8 +137,6 @@ void _CPU_ISR_install_vector( } -unsigned int arm_cpu_mode = 0x13; - void _CPU_Context_Initialize( Context_Control *the_context, uint32_t *stack_base, |