2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org>

* librdbg/src/i386/rdbg_f.c, librdbg/src/m68k/rdbg_cpu_asm.S
	librdbg/src/m68k/rdbg_f.c: Use POSIX fixed size types.
This commit is contained in:
Ralf Corsepius
2004-10-21 13:48:49 +00:00
parent 4bd22812a9
commit 1e006d5223
4 changed files with 21 additions and 16 deletions

View File

@@ -1,3 +1,8 @@
2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org>
* librdbg/src/i386/rdbg_f.c, librdbg/src/m68k/rdbg_cpu_asm.S
librdbg/src/m68k/rdbg_f.c: Use POSIX fixed size types.
2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org> 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/rtems_servers/ftpd.c: Use POSIX fixed size types. * libnetworking/rtems_servers/ftpd.c: Use POSIX fixed size types.

View File

@@ -63,8 +63,8 @@ get_ctx_thread (Thread_Control * thread, CPU_Exception_frame * ctx)
{ {
ctx->edi = thread->Registers.edi; ctx->edi = thread->Registers.edi;
ctx->esi = thread->Registers.esi; ctx->esi = thread->Registers.esi;
ctx->ebp = (unsigned32) (thread->Registers.ebp); ctx->ebp = (uint32_t) (thread->Registers.ebp);
ctx->esp0 = (unsigned32) (thread->Registers.esp); ctx->esp0 = (uint32_t) (thread->Registers.esp);
ctx->ebx = thread->Registers.ebx; ctx->ebx = thread->Registers.ebx;
ctx->edx = 0; ctx->edx = 0;
ctx->ecx = 0; ctx->ecx = 0;

View File

@@ -62,14 +62,14 @@ SYM (enterRdbg):
* *
* The two types of exception frames on m68000 are * The two types of exception frames on m68000 are
* *
* unsigned16 sr <- sp * uint16_t sr <- sp
* unsigned32 pc * uint32_t pc
* *
* unsigned16 fc <- sp * uint16_t fc <- sp
* unsigned32 addr * uint32_t addr
* unsigned16 instr * uint16_t instr
* unsigned16 sr * uint16_t sr
* unsigned32 pc * uint32_t pc
* *
* after real frame we push d0-d1/a0-a1 * after real frame we push d0-d1/a0-a1
* *

View File

@@ -87,18 +87,18 @@ get_ctx_thread (Thread_Control * thread, CPU_Exception_frame * ctx)
*/ */
ctx->vecnum = 0xdeadbeef; ctx->vecnum = 0xdeadbeef;
ctx->sr = thread->Registers.sr; ctx->sr = thread->Registers.sr;
ctx->pc = *(unsigned32 *) thread->Registers.a7_msp; ctx->pc = *(uint32_t *) thread->Registers.a7_msp;
ctx->d0 = 0xdeadbeef; ctx->d0 = 0xdeadbeef;
ctx->d1 = 0xdeadbeef; ctx->d1 = 0xdeadbeef;
ctx->a0 = 0xdeadbeef; ctx->a0 = 0xdeadbeef;
ctx->a1 = 0xdeadbeef; ctx->a1 = 0xdeadbeef;
ctx->a2 = (unsigned32) thread->Registers.a2; ctx->a2 = (uint32_t) thread->Registers.a2;
ctx->a3 = (unsigned32) thread->Registers.a3; ctx->a3 = (uint32_t) thread->Registers.a3;
ctx->a4 = (unsigned32) thread->Registers.a4; ctx->a4 = (uint32_t) thread->Registers.a4;
ctx->a5 = (unsigned32) thread->Registers.a5; ctx->a5 = (uint32_t) thread->Registers.a5;
ctx->a6 = (unsigned32) thread->Registers.a6; ctx->a6 = (uint32_t) thread->Registers.a6;
ctx->a7 = (unsigned32) thread->Registers.a7_msp; ctx->a7 = (uint32_t) thread->Registers.a7_msp;
ctx->d2 = thread->Registers.d2; ctx->d2 = thread->Registers.d2;
ctx->d3 = thread->Registers.d3; ctx->d3 = thread->Registers.d3;
ctx->d4 = thread->Registers.d4; ctx->d4 = thread->Registers.d4;