Commit 666c87aa3b91298ab3b57da6c2ad63b526703b40

Authored by blueswir1
1 parent e32448e0

Add ASIs (Robert Reif)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3801 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 8 additions and 1 deletions
target-sparc/op_helper.c
... ... @@ -411,6 +411,9 @@ void helper_ld_asi(int asi, int size, int sign)
411 411 break;
412 412 }
413 413 break;
  414 + case 0x39: /* data cache diagnostic register */
  415 + ret = 0;
  416 + break;
414 417 case 0x21 ... 0x2d: /* MMU passthrough, unassigned */
415 418 default:
416 419 do_unassigned_access(T0, 0, 0, 1);
... ... @@ -703,9 +706,13 @@ void helper_st_asi(int asi, int size)
703 706 }
704 707 }
705 708 return;
706   - case 0x31: /* Ross RT620 I-cache flush */
  709 + case 0x30: /* store buffer tags */
  710 + case 0x31: /* store buffer data or Ross RT620 I-cache flush */
  711 + case 0x32: /* store buffer control */
707 712 case 0x36: /* I-cache flash clear */
708 713 case 0x37: /* D-cache flash clear */
  714 + case 0x38: /* breakpoint diagnostics */
  715 + case 0x4c: /* breakpoint action */
709 716 break;
710 717 case 9: /* Supervisor code access, XXX */
711 718 case 0x21 ... 0x2d: /* MMU passthrough, unassigned */
... ...