2002-11-01 Joel Sherrill <joel@OARcorp.com>

* cpu.c: Removed warnings.
This commit is contained in:
Joel Sherrill
2002-11-01 22:00:16 +00:00
parent f4807abbd0
commit 69f7d7e3c6
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -1,3 +1,7 @@
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed warnings.
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Removed warning.
+1 -2
View File
@@ -238,7 +238,6 @@ void do_data_abort(unsigned32 insn, unsigned32 spsr,
unsigned32 rd;
unsigned8 *src_addr;
unsigned8 *dest_addr;
unsigned32 tmp;
g_data_abort_insn_list[g_data_abort_cnt & 0x3ff] = ctx->register_lr - 8;
@@ -282,7 +281,7 @@ void do_data_abort(unsigned32 insn, unsigned32 spsr,
printk("\tUser mode\n");
break;
case 0x10: /* P=1, W=0 -> base not updated */
src_addr = GET_REG(rn, ctx);
src_addr = (unsigned8 *)GET_REG(rn, ctx);
if (GET_U(insn) == 0) {
src_addr -= GET_OFFSET(insn);
} else {