summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/arm')
-rw-r--r--cpukit/score/cpu/arm/ChangeLog4
-rw-r--r--cpukit/score/cpu/arm/cpu.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog
index 5ece00a3d4..a4a514b2ce 100644
--- a/cpukit/score/cpu/arm/ChangeLog
+++ b/cpukit/score/cpu/arm/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * cpu.c: Remove extraneous spaces.
+
2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Merge thumb/Makefile.am.
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)