From df4fcaa0afa6c8878f1b44aa8bf1bdceea3863b9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 8 Sep 2008 15:19:23 +0000 Subject: 2008-09-08 Joel Sherrill * cpu.c: Remove extraneous spaces. --- cpukit/score/cpu/unix/cpu.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cpukit/score/cpu/unix/cpu.c') 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); -- cgit v1.2.3