提交 0db74b07 编写于 作者: E edgar_igl

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

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



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5897 c046a42c-6fe2-441c-8c8c-71466251a162
上级 8983da70
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册