ETRAX-FS: No need to decode the address anymore.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5897 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
edgar_igl 2008-12-06 23:19:03 +00:00
parent 8983da70c4
commit 0db74b0705

View File

@ -97,7 +97,7 @@ static uint32_t ser_readl (void *opaque, target_phys_addr_t addr)
D(CPUState *env = s->env);
uint32_t r = 0;
switch (addr & 0xfff)
switch (addr)
{
case RW_TR_CTRL:
r = s->rw_tr_ctrl;
@ -150,7 +150,7 @@ ser_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
unsigned char ch = value;
D(CPUState *env = s->env);
switch (addr & 0xfff)
switch (addr)
{
case RW_TR_CTRL:
D(printf("rw_tr_ctrl=%x\n", value));