Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/powerpc No need to work around for IBM405 E...



details:   https://anonhg.NetBSD.org/src/rev/8dde7a7517fc
branches:  trunk
changeset: 1011814:8dde7a7517fc
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Jul 12 21:18:01 2020 +0000

description:
No need to work around for IBM405 Errata 77; ibm4xx does not use this file.

diffstat:

 sys/arch/powerpc/powerpc/trap_subr.S |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r eb4130cdb9f8 -r 8dde7a7517fc sys/arch/powerpc/powerpc/trap_subr.S
--- a/sys/arch/powerpc/powerpc/trap_subr.S      Sun Jul 12 21:16:23 2020 +0000
+++ b/sys/arch/powerpc/powerpc/trap_subr.S      Sun Jul 12 21:18:01 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap_subr.S,v 1.83 2020/07/06 11:09:15 rin Exp $       */
+/*     $NetBSD: trap_subr.S,v 1.84 2020/07/12 21:18:01 rin Exp $       */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -321,7 +321,6 @@
        ldreg   %r30,(CI_DISISAVE+CPUSAVE_R30)(%r1)     /* restore r30 */
        ldreg   %r31,(CI_DISISAVE+CPUSAVE_R31)(%r1)     /* restore r31 */
        mfsprg1 %r1
-       IBM405_ERRATA77_SYNC
        RFI                             /* return to trapped code */
 1:
 #endif /* !PPC_MPC8XX */
@@ -394,7 +393,6 @@
        ldreg   %r30,(CI_DISISAVE+CPUSAVE_R30)(%r1)     /* restore r30 */
        ldreg   %r31,(CI_DISISAVE+CPUSAVE_R31)(%r1)     /* restore r31 */
        mfsprg1 %r1
-       IBM405_ERRATA77_SYNC
        RFI                             /* return to trapped code */
 1:
        mflr    %r28                    /* save LR */
@@ -511,7 +509,6 @@
        srwi    %r1,%r1,8               /* get byte 7 of pte */
        tlbli   %r0                     /* load the itlb */
        stb     %r1,6(%r2)              /* update page table */
-       IBM405_ERRATA77_SYNC
        RFI
 
 3:     /* not found in pteg */
@@ -571,7 +568,6 @@
        srwi    %r1,%r1,8               /* get byte 7 of pte */
        tlbld   %r0                     /* load the dtlb */
        stb     %r1,6(%r2)              /* update page table */
-       IBM405_ERRATA77_SYNC
        RFI
 
 3:     /* not found in pteg */
@@ -628,7 +624,6 @@
        mtcrf   0x80,%r3                /* and restore */
        mtspr   SPR_RPA,%r1             /* set the pte */
        tlbld   %r0                     /* load the dtlb */
-       IBM405_ERRATA77_SYNC
        RFI
 
 3:     /* not found in pteg */
@@ -1002,7 +997,6 @@
        FRAME_RESTORE_CALLEE
 intrleave:
        FRAME_LEAVE(CI_TEMPSAVE)
-       IBM405_ERRATA77_SYNC
        RFI
 
 /*
@@ -1226,7 +1220,6 @@
        beq     trapagain
        FRAME_RESTORE_CALLEE
        FRAME_LEAVE(CI_DDBSAVE)
-       IBM405_ERRATA77_SYNC
        RFI
 #endif /* DDB || KGDB */
 



Home | Main Index | Thread Index | Old Index