Changeset 9347024 in rtems
- Timestamp:
- 03/31/04 03:45:46 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ffe6331
- Parents:
- 1c17b3e
- Location:
- c/src/lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/support/new_exception_processing/ChangeLog
r1c17b3e r9347024 1 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * cpu.c: Convert to using c99 fixed size types. 4 1 5 2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 6 -
c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.c
r1c17b3e r9347024 68 68 void _CPU_Context_Initialize( 69 69 Context_Control *the_context, 70 u nsigned32*stack_base,71 u nsigned32size,72 u nsigned32new_level,70 uint32_t *stack_base, 71 uint32_t size, 72 uint32_t new_level, 73 73 void *entry_point, 74 74 boolean is_fp 75 75 ) 76 76 { 77 u nsigned32msr_value;78 u nsigned32sp;77 uint32_t msr_value; 78 uint32_t sp; 79 79 80 sp = (u nsigned32)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;80 sp = (uint32_t)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE; 81 81 82 82 sp &= ~(CPU_STACK_ALIGNMENT-1); 83 83 84 *((u nsigned32*)sp) = 0;84 *((uint32_t*)sp) = 0; 85 85 the_context->gpr1 = sp; 86 86 … … 120 120 #endif 121 121 122 the_context->pc = (u nsigned32)entry_point;122 the_context->pc = (uint32_t)entry_point; 123 123 124 124 #if (PPC_ABI == PPC_ABI_SVR4) … … 129 129 } 130 130 #elif (PPC_ABI == PPC_ABI_EABI) 131 { u nsigned32r2 = 0;131 { uint32_t r2 = 0; 132 132 unsigned r13 = 0; 133 133 asm volatile ("mr %0,2; mr %1,13" : "=r" ((r2)), "=r" ((r13))); -
c/src/lib/libcpu/powerpc/new-exceptions/ChangeLog
r1c17b3e r9347024 1 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * cpu.c: Convert to using c99 fixed size types. 4 1 5 2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 6 -
c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
r1c17b3e r9347024 68 68 void _CPU_Context_Initialize( 69 69 Context_Control *the_context, 70 u nsigned32*stack_base,71 u nsigned32size,72 u nsigned32new_level,70 uint32_t *stack_base, 71 uint32_t size, 72 uint32_t new_level, 73 73 void *entry_point, 74 74 boolean is_fp 75 75 ) 76 76 { 77 u nsigned32msr_value;78 u nsigned32sp;77 uint32_t msr_value; 78 uint32_t sp; 79 79 80 sp = (u nsigned32)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;80 sp = (uint32_t)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE; 81 81 82 82 sp &= ~(CPU_STACK_ALIGNMENT-1); 83 83 84 *((u nsigned32*)sp) = 0;84 *((uint32_t*)sp) = 0; 85 85 the_context->gpr1 = sp; 86 86 … … 120 120 #endif 121 121 122 the_context->pc = (u nsigned32)entry_point;122 the_context->pc = (uint32_t)entry_point; 123 123 124 124 #if (PPC_ABI == PPC_ABI_SVR4) … … 129 129 } 130 130 #elif (PPC_ABI == PPC_ABI_EABI) 131 { u nsigned32r2 = 0;131 { uint32_t r2 = 0; 132 132 unsigned r13 = 0; 133 133 asm volatile ("mr %0,2; mr %1,13" : "=r" ((r2)), "=r" ((r13)));
Note: See TracChangeset
for help on using the changeset viewer.