diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-03 20:27:44 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-03 20:27:44 +0000 |
commit | 064034211a65bb602a32ccee18d92109eb2cd656 (patch) | |
tree | a823281e617f87d205d0f7ada63b3f93a55db56f /target-ppc | |
parent | 8f793433afd8f892db15fc153bb0aa94145582d6 (diff) |
HID0 is a write-clear register on 970 (DBSR).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3320 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/translate_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 2a996cc1b6..355f5ad073 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -3859,7 +3859,7 @@ static void init_proc_970 (CPUPPCState *env) /* XXX : not implemented */ spr_register(env, SPR_HID0, "HID0", SPR_NOACCESS, SPR_NOACCESS, - &spr_read_generic, &spr_write_generic, + &spr_read_generic, &spr_write_clear, 0x00000000); /* XXX : not implemented */ spr_register(env, SPR_HID1, "HID1", @@ -3902,7 +3902,7 @@ static void init_proc_970FX (CPUPPCState *env) /* XXX : not implemented */ spr_register(env, SPR_HID0, "HID0", SPR_NOACCESS, SPR_NOACCESS, - &spr_read_generic, &spr_write_generic, + &spr_read_generic, &spr_write_clear, 0x00000000); /* XXX : not implemented */ spr_register(env, SPR_HID1, "HID1", @@ -3945,7 +3945,7 @@ static void init_proc_970GX (CPUPPCState *env) /* XXX : not implemented */ spr_register(env, SPR_HID0, "HID0", SPR_NOACCESS, SPR_NOACCESS, - &spr_read_generic, &spr_write_generic, + &spr_read_generic, &spr_write_clear, 0x00000000); /* XXX : not implemented */ spr_register(env, SPR_HID1, "HID1", |