summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/cpu.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 15:19:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 15:19:23 +0000
commitdf4fcaa0afa6c8878f1b44aa8bf1bdceea3863b9 (patch)
tree483d35f6cc4592afd62b7f2c64895f5a29f60921 /cpukit/score/cpu/arm/cpu.c
parent7fa919fc75cce8e0422931d64d37cfc231b87923 (diff)
downloadrtems-df4fcaa0afa6c8878f1b44aa8bf1bdceea3863b9.tar.bz2
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove extraneous spaces.
Diffstat (limited to 'cpukit/score/cpu/arm/cpu.c')
-rw-r--r--cpukit/score/cpu/arm/cpu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/arm/cpu.c b/cpukit/score/cpu/arm/cpu.c
index b46e8a10a0..48113bf6c7 100644
--- a/cpukit/score/cpu/arm/cpu.c
+++ b/cpukit/score/cpu/arm/cpu.c
@@ -146,8 +146,8 @@ void _CPU_Context_Initialize(
bool is_fp
)
{
- the_context->register_sp = (uint32_t )stack_base + size ;
- the_context->register_lr = (uint32_t )entry_point;
+ the_context->register_sp = (uint32_t)stack_base + size ;
+ the_context->register_lr = (uint32_t)entry_point;
the_context->register_cpsr = new_level | arm_cpu_mode;
}
@@ -261,7 +261,7 @@ void rtems_exception_init_mngt(void)
#define GET_U(x) ((x & 0x00800000) >> 23)
#define GET_I(x) ((x & 0x02000000) >> 25)
-#define GET_REG(r, ctx) (((uint32_t *)ctx)[r])
-#define SET_REG(r, ctx, v) (((uint32_t *)ctx)[r] = v)
+#define GET_REG(r, ctx) (((uint32_t *)ctx)[r])
+#define SET_REG(r, ctx, v) (((uint32_t *)ctx)[r] = v)
#define GET_OFFSET(insn) (insn & 0xfff)