Revision 056401ea target-ppc/translate_init.c
b/target-ppc/translate_init.c | ||
---|---|---|
314 | 314 |
{ |
315 | 315 |
gen_op_store_601_rtcl(); |
316 | 316 |
} |
317 |
|
|
318 |
static void spr_write_hid0_601 (void *opaque, int sprn) |
|
319 |
{ |
|
320 |
DisasContext *ctx = opaque; |
|
321 |
|
|
322 |
gen_op_store_hid0_601(); |
|
323 |
/* Must stop the translation as endianness may have changed */ |
|
324 |
GEN_STOP(ctx); |
|
325 |
} |
|
317 | 326 |
#endif |
318 | 327 |
|
319 | 328 |
/* Unified bats */ |
... | ... | |
3259 | 3268 |
/* XXX : not implemented */ |
3260 | 3269 |
spr_register(env, SPR_HID0, "HID0", |
3261 | 3270 |
SPR_NOACCESS, SPR_NOACCESS, |
3262 |
&spr_read_generic, &spr_write_generic,
|
|
3271 |
&spr_read_generic, &spr_write_hid0_601,
|
|
3263 | 3272 |
0x80010080); |
3264 | 3273 |
/* XXX : not implemented */ |
3265 | 3274 |
spr_register(env, SPR_HID1, "HID1", |
Also available in: Unified diff