Changeset 9347024 in rtems


Ignore:
Timestamp:
03/31/04 03:45:46 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ffe6331
Parents:
1c17b3e
Message:

2004-03-31 Ralf Corsepius <ralf_corsepius@…>

  • cpu.c: Convert to using c99 fixed size types.
Location:
c/src/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/support/new_exception_processing/ChangeLog

    r1c17b3e r9347024  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * cpu.c: Convert to using c99 fixed size types.
     4
    152004-01-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.c

    r1c17b3e r9347024  
    6868void _CPU_Context_Initialize(
    6969  Context_Control  *the_context,
    70   unsigned32       *stack_base,
    71   unsigned32        size,
    72   unsigned32        new_level,
     70  uint32_t         *stack_base,
     71  uint32_t          size,
     72  uint32_t          new_level,
    7373  void             *entry_point,
    7474  boolean           is_fp
    7575)
    7676{
    77   unsigned32 msr_value;
    78   unsigned32 sp;
     77  uint32_t  msr_value;
     78  uint32_t  sp;
    7979
    80   sp = (unsigned32)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;
     80  sp = (uint32_t)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;
    8181
    8282  sp &= ~(CPU_STACK_ALIGNMENT-1);
    8383
    84   *((unsigned32 *)sp) = 0;
     84  *((uint32_t*)sp) = 0;
    8585  the_context->gpr1 = sp;
    8686   
     
    120120#endif
    121121
    122   the_context->pc = (unsigned32)entry_point;
     122  the_context->pc = (uint32_t)entry_point;
    123123
    124124#if (PPC_ABI == PPC_ABI_SVR4)
     
    129129  }
    130130#elif (PPC_ABI == PPC_ABI_EABI)
    131   { unsigned32  r2 = 0;
     131  { uint32_t    r2 = 0;
    132132    unsigned    r13 = 0;
    133133    asm volatile ("mr %0,2; mr %1,13" : "=r" ((r2)), "=r" ((r13)));
  • c/src/lib/libcpu/powerpc/new-exceptions/ChangeLog

    r1c17b3e r9347024  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * cpu.c: Convert to using c99 fixed size types.
     4
    152004-01-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • c/src/lib/libcpu/powerpc/new-exceptions/cpu.c

    r1c17b3e r9347024  
    6868void _CPU_Context_Initialize(
    6969  Context_Control  *the_context,
    70   unsigned32       *stack_base,
    71   unsigned32        size,
    72   unsigned32        new_level,
     70  uint32_t         *stack_base,
     71  uint32_t          size,
     72  uint32_t          new_level,
    7373  void             *entry_point,
    7474  boolean           is_fp
    7575)
    7676{
    77   unsigned32 msr_value;
    78   unsigned32 sp;
     77  uint32_t  msr_value;
     78  uint32_t  sp;
    7979
    80   sp = (unsigned32)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;
     80  sp = (uint32_t)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;
    8181
    8282  sp &= ~(CPU_STACK_ALIGNMENT-1);
    8383
    84   *((unsigned32 *)sp) = 0;
     84  *((uint32_t*)sp) = 0;
    8585  the_context->gpr1 = sp;
    8686   
     
    120120#endif
    121121
    122   the_context->pc = (unsigned32)entry_point;
     122  the_context->pc = (uint32_t)entry_point;
    123123
    124124#if (PPC_ABI == PPC_ABI_SVR4)
     
    129129  }
    130130#elif (PPC_ABI == PPC_ABI_EABI)
    131   { unsigned32  r2 = 0;
     131  { uint32_t    r2 = 0;
    132132    unsigned    r13 = 0;
    133133    asm volatile ("mr %0,2; mr %1,13" : "=r" ((r2)), "=r" ((r13)));
Note: See TracChangeset for help on using the changeset viewer.