summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/unix
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/unix')
-rw-r--r--cpukit/score/cpu/unix/ChangeLog4
-rw-r--r--cpukit/score/cpu/unix/cpu.c18
2 files changed, 13 insertions, 9 deletions
diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog
index a384e71fe1..f96a6163a8 100644
--- a/cpukit/score/cpu/unix/ChangeLog
+++ b/cpukit/score/cpu/unix/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * cpu.c: Remove extraneous spaces.
+
2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, rtems/score/cpu.h: Convert to "bool".
diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c
index 25251ae4cf..6d67842c56 100644
--- a/cpukit/score/cpu/unix/cpu.c
+++ b/cpukit/score/cpu/unix/cpu.c
@@ -538,7 +538,7 @@ void _CPU_Context_Initialize(
uint32_t _stack_high; /* highest "stack aligned" address */
uint32_t _the_size;
- jmp_addr = (uint32_t ) _entry_point;
+ jmp_addr = (uint32_t) _entry_point;
/*
* On CPUs with stacks which grow down, we build the stack
@@ -546,10 +546,10 @@ void _CPU_Context_Initialize(
* grow up, we build the stack based on the _stack_low address.
*/
- _stack_low = (uint32_t )(_stack_base) + CPU_STACK_ALIGNMENT - 1;
+ _stack_low = (uint32_t)(_stack_base) + CPU_STACK_ALIGNMENT - 1;
_stack_low &= ~(CPU_STACK_ALIGNMENT - 1);
- _stack_high = (uint32_t )(_stack_base) + _size;
+ _stack_high = (uint32_t)(_stack_base) + _size;
_stack_high &= ~(CPU_STACK_ALIGNMENT - 1);
if (_stack_high > _stack_low)
@@ -568,11 +568,11 @@ void _CPU_Context_Initialize(
*(Context_Control_overlay *)_the_context =
_CPU_Context_Default_with_ISRs_disabled;
- addr = (uint32_t *)_the_context;
+ addr = (uint32_t *)_the_context;
#if defined(__hppa__)
*(addr + RP_OFF) = jmp_addr;
- *(addr + SP_OFF) = (uint32_t )(_stack_low + CPU_FRAME_SIZE);
+ *(addr + SP_OFF) = (uint32_t)(_stack_low + CPU_FRAME_SIZE);
/*
* See if we are using shared libraries by checking
@@ -583,7 +583,7 @@ void _CPU_Context_Initialize(
if (jmp_addr & 0x40000000) {
jmp_addr &= 0xfffffffc;
- *(addr + RP_OFF) = *(uint32_t *)jmp_addr;
+ *(addr + RP_OFF) = *(uint32_t *)jmp_addr;
}
#elif defined(__sparc__)
@@ -595,8 +595,8 @@ void _CPU_Context_Initialize(
asm ("ta 0x03"); /* flush registers */
*(addr + RP_OFF) = jmp_addr + ADDR_ADJ_OFFSET;
- *(addr + SP_OFF) = (uint32_t )(_stack_high - CPU_FRAME_SIZE);
- *(addr + FP_OFF) = (uint32_t )(_stack_high);
+ *(addr + SP_OFF) = (uint32_t)(_stack_high - CPU_FRAME_SIZE);
+ *(addr + FP_OFF) = (uint32_t)(_stack_high);
#elif defined(__i386__)
@@ -893,7 +893,7 @@ void _CPU_Stray_signal(int sig_num)
* _CPU_Fatal_error
*/
-void _CPU_Fatal_error(uint32_t error)
+void _CPU_Fatal_error(uint32_t error)
{
setitimer(ITIMER_REAL, 0, 0);