Skip to contentSkip to conversation

sparc32 SuperSPARC MMU Breakpoint Action register (SS-20 OBP fix)

PATCH Applied Artyom Tarasenko 2 participants 2 messages May 29, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc32 SuperSPARC MMU Breakpoint Action register (SS-20 OBP fix)

SuperSPARC MMU Breakpoint Action register is used by OBP at boot

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

---
 target-sparc/op_helper.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
target-sparc/op_helper.c +1 -0
index aaacfc4..ef3504f 100644
@@ -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 */
Signature · 1 line
1.6.2.5
Applied
#1 lore raw

Thanks, applied.

Quoted 26 lines · Artyom Tarasenko

SuperSPARC MMU Breakpoint Action register is used by OBP at boot

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

---
 target-sparc/op_helper.c |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
target-sparc/op_helper.c +0 -0
index aaacfc4..ef3504f 100644
@@ -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 */ --
1.6.2.5