]> git.proxmox.com Git - qemu.git/commitdiff
sparc32 SuperSPARC MMU Breakpoint Action register (SS-20 OBP fix)
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Sat, 29 May 2010 20:48:25 +0000 (22:48 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 29 May 2010 21:22:02 +0000 (21:22 +0000)
SuperSPARC MMU Breakpoint Action register is used by OBP at boot

The patch allows booting Solaris and some other OS with
SPARCStation-20 OBP.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/op_helper.c

index aaacfc484e89e098c239ad49fea2c94ea634a6b7..ef3504fad19b3d8912dd5c47f3c181cb70b0050d 100644 (file)
@@ -1745,6 +1745,7 @@ uint64_t helper_ld_asi(target_ulong addr, int asi, int size, int sign)
     case 0x31: // Turbosparc RAM snoop
     case 0x32: // Turbosparc page table descriptor diagnostic
     case 0x39: /* data cache diagnostic register */
+    case 0x4c: /* SuperSPARC MMU Breakpoint Action register */
         ret = 0;
         break;
     case 0x38: /* SuperSPARC MMU Breakpoint Control Registers */