aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-09 18:45:55 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-09 18:45:55 +0000
commitea2b542a4c8fbf50a00c7b431b9fd2c0b832991f (patch)
treed98ed99a9cd142c3790daec8eedc1e36a4e88ec9 /hw
parent939ef5938fa15b996d3801fa53ef5be2f5cf3495 (diff)
SH4 MMU improvements
(Shin-ichiro KAWASAKI) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4396 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/sh7750.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/sh7750.c b/hw/sh7750.c
index 45a5c7f098..158d03086a 100644
--- a/hw/sh7750.c
+++ b/hw/sh7750.c
@@ -360,6 +360,9 @@ static void sh7750_mem_writel(void *opaque, target_phys_addr_t addr,
case SH7750_PTEL_A7:
s->cpu->ptel = mem_value;
return;
+ case SH7750_PTEA_A7:
+ s->cpu->ptea = mem_value & 0x0000000f;
+ return;
case SH7750_TTB_A7:
s->cpu->ttb = mem_value;
return;