mirror of https://github.com/xemu-project/xemu.git
ETRAX: Avoid compiler warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4593 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5439779e84
commit
9bcd77d6b1
|
@ -391,7 +391,6 @@ static void
|
||||||
eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
|
eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
|
||||||
{
|
{
|
||||||
struct fs_eth *eth = opaque;
|
struct fs_eth *eth = opaque;
|
||||||
CPUState *env = eth->env;
|
|
||||||
|
|
||||||
/* Make addr relative to this instances base. */
|
/* Make addr relative to this instances base. */
|
||||||
addr -= eth->base;
|
addr -= eth->base;
|
||||||
|
@ -425,8 +424,8 @@ eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
eth->regs[addr] = value;
|
eth->regs[addr] = value;
|
||||||
printf ("%s %x %x pc=%x\n",
|
D(printf ("%s %x %x\n",
|
||||||
__func__, addr, value, env->pc);
|
__func__, addr, value));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue