summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-10-21 13:48:49 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-10-21 13:48:49 +0000
commit1e006d5223f3b110d61366a13f37c08bf9db71a1 (patch)
tree0f407ead3d3668e0253484d305139e8ace206e29 /c
parent2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-1e006d5223f3b110d61366a13f37c08bf9db71a1.tar.bz2
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.
Diffstat (limited to 'c')
-rw-r--r--c/src/ChangeLog5
-rw-r--r--c/src/librdbg/src/i386/rdbg_f.c4
-rw-r--r--c/src/librdbg/src/m68k/rdbg_cpu_asm.S14
-rw-r--r--c/src/librdbg/src/m68k/rdbg_f.c14
4 files changed, 21 insertions, 16 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index b34e3af1b8..d012d62cdb 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,5 +1,10 @@
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>
+
* libnetworking/rtems_servers/ftpd.c: Use POSIX fixed size types.
2004-10-20 Ralf Corsepius <ralf_corsepius@rtems.org>
diff --git a/c/src/librdbg/src/i386/rdbg_f.c b/c/src/librdbg/src/i386/rdbg_f.c
index e903309578..56f7769fe2 100644
--- a/c/src/librdbg/src/i386/rdbg_f.c
+++ b/c/src/librdbg/src/i386/rdbg_f.c
@@ -63,8 +63,8 @@ get_ctx_thread (Thread_Control * thread, CPU_Exception_frame * ctx)
{
ctx->edi = thread->Registers.edi;
ctx->esi = thread->Registers.esi;
- ctx->ebp = (unsigned32) (thread->Registers.ebp);
- ctx->esp0 = (unsigned32) (thread->Registers.esp);
+ ctx->ebp = (uint32_t) (thread->Registers.ebp);
+ ctx->esp0 = (uint32_t) (thread->Registers.esp);
ctx->ebx = thread->Registers.ebx;
ctx->edx = 0;
ctx->ecx = 0;
diff --git a/c/src/librdbg/src/m68k/rdbg_cpu_asm.S b/c/src/librdbg/src/m68k/rdbg_cpu_asm.S
index 50f529a19a..d9f4dc9dad 100644
--- a/c/src/librdbg/src/m68k/rdbg_cpu_asm.S
+++ b/c/src/librdbg/src/m68k/rdbg_cpu_asm.S
@@ -62,14 +62,14 @@ SYM (enterRdbg):
*
* The two types of exception frames on m68000 are
*
- * unsigned16 sr <- sp
- * unsigned32 pc
+ * uint16_t sr <- sp
+ * uint32_t pc
*
- * unsigned16 fc <- sp
- * unsigned32 addr
- * unsigned16 instr
- * unsigned16 sr
- * unsigned32 pc
+ * uint16_t fc <- sp
+ * uint32_t addr
+ * uint16_t instr
+ * uint16_t sr
+ * uint32_t pc
*
* after real frame we push d0-d1/a0-a1
*
diff --git a/c/src/librdbg/src/m68k/rdbg_f.c b/c/src/librdbg/src/m68k/rdbg_f.c
index a7b58a26c1..fd1416a6ec 100644
--- a/c/src/librdbg/src/m68k/rdbg_f.c
+++ b/c/src/librdbg/src/m68k/rdbg_f.c
@@ -87,18 +87,18 @@ get_ctx_thread (Thread_Control * thread, CPU_Exception_frame * ctx)
*/
ctx->vecnum = 0xdeadbeef;
ctx->sr = thread->Registers.sr;
- ctx->pc = *(unsigned32 *) thread->Registers.a7_msp;
+ ctx->pc = *(uint32_t *) thread->Registers.a7_msp;
ctx->d0 = 0xdeadbeef;
ctx->d1 = 0xdeadbeef;
ctx->a0 = 0xdeadbeef;
ctx->a1 = 0xdeadbeef;
- ctx->a2 = (unsigned32) thread->Registers.a2;
- ctx->a3 = (unsigned32) thread->Registers.a3;
- ctx->a4 = (unsigned32) thread->Registers.a4;
- ctx->a5 = (unsigned32) thread->Registers.a5;
- ctx->a6 = (unsigned32) thread->Registers.a6;
- ctx->a7 = (unsigned32) thread->Registers.a7_msp;
+ ctx->a2 = (uint32_t) thread->Registers.a2;
+ ctx->a3 = (uint32_t) thread->Registers.a3;
+ ctx->a4 = (uint32_t) thread->Registers.a4;
+ ctx->a5 = (uint32_t) thread->Registers.a5;
+ ctx->a6 = (uint32_t) thread->Registers.a6;
+ ctx->a7 = (uint32_t) thread->Registers.a7_msp;
ctx->d2 = thread->Registers.d2;
ctx->d3 = thread->Registers.d3;
ctx->d4 = thread->Registers.d4;