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
This commit is contained in:
j_mayer 2007-10-03 20:27:44 +00:00
parent 8f793433af
commit 064034211a

View File

@ -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",