Changeset 1e006d52 in rtems


Ignore:
Timestamp:
Oct 21, 2004, 1:48:49 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a831baa
Parents:
4bd22812
Message:

2004-10-21 Ralf Corsepius <ralf_corsepius@…>

  • librdbg/src/i386/rdbg_f.c, librdbg/src/m68k/rdbg_cpu_asm.S librdbg/src/m68k/rdbg_f.c: Use POSIX fixed size types.
Location:
c/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r4bd22812 r1e006d52  
     12004-10-21      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * librdbg/src/i386/rdbg_f.c, librdbg/src/m68k/rdbg_cpu_asm.S
     4        librdbg/src/m68k/rdbg_f.c: Use POSIX fixed size types.
     5
    162004-10-21      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/librdbg/src/i386/rdbg_f.c

    r4bd22812 r1e006d52  
    6464  ctx->edi = thread->Registers.edi;
    6565  ctx->esi = thread->Registers.esi;
    66   ctx->ebp = (unsigned32) (thread->Registers.ebp);
    67   ctx->esp0 = (unsigned32) (thread->Registers.esp);
     66  ctx->ebp = (uint32_t) (thread->Registers.ebp);
     67  ctx->esp0 = (uint32_t) (thread->Registers.esp);
    6868  ctx->ebx = thread->Registers.ebx;
    6969  ctx->edx = 0;
  • c/src/librdbg/src/m68k/rdbg_cpu_asm.S

    r4bd22812 r1e006d52  
    6363 * The two types of exception frames on m68000 are
    6464 *
    65  * unsigned16 sr <- sp
    66  * unsigned32 pc
    67  *
    68  * unsigned16 fc <- sp
    69  * unsigned32 addr
    70  * unsigned16 instr
    71  * unsigned16 sr
    72  * unsigned32 pc
     65 * uint16_t sr <- sp
     66 * uint32_t pc
     67 *
     68 * uint16_t fc <- sp
     69 * uint32_t addr
     70 * uint16_t instr
     71 * uint16_t sr
     72 * uint32_t pc
    7373 *
    7474 * after real frame we push d0-d1/a0-a1
  • c/src/librdbg/src/m68k/rdbg_f.c

    r4bd22812 r1e006d52  
    8888  ctx->vecnum = 0xdeadbeef;
    8989  ctx->sr = thread->Registers.sr;
    90   ctx->pc = *(unsigned32 *) thread->Registers.a7_msp;
     90  ctx->pc = *(uint32_t *) thread->Registers.a7_msp;
    9191  ctx->d0 = 0xdeadbeef;
    9292  ctx->d1 = 0xdeadbeef;
     
    9494  ctx->a1 = 0xdeadbeef;
    9595
    96   ctx->a2 = (unsigned32) thread->Registers.a2;
    97   ctx->a3 = (unsigned32) thread->Registers.a3;
    98   ctx->a4 = (unsigned32) thread->Registers.a4;
    99   ctx->a5 = (unsigned32) thread->Registers.a5;
    100   ctx->a6 = (unsigned32) thread->Registers.a6;
    101   ctx->a7 = (unsigned32) thread->Registers.a7_msp;
     96  ctx->a2 = (uint32_t) thread->Registers.a2;
     97  ctx->a3 = (uint32_t) thread->Registers.a3;
     98  ctx->a4 = (uint32_t) thread->Registers.a4;
     99  ctx->a5 = (uint32_t) thread->Registers.a5;
     100  ctx->a6 = (uint32_t) thread->Registers.a6;
     101  ctx->a7 = (uint32_t) thread->Registers.a7_msp;
    102102  ctx->d2 = thread->Registers.d2;
    103103  ctx->d3 = thread->Registers.d3;
Note: See TracChangeset for help on using the changeset viewer.