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 Put an isync at the end of the REST...



details:   https://anonhg.NetBSD.org/src/rev/031a1b6b9549
branches:  trunk
changeset: 546465:031a1b6b9549
user:      scw <scw%NetBSD.org@localhost>
date:      Tue Apr 29 15:16:14 2003 +0000

description:
Put an isync at the end of the RESTORE_SRS() macro. This is the
recommended workaround for a mtsr/mtsrin errata with PPC750 cpus.

diffstat:

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

diffs (18 lines):

diff -r a326fd3210be -r 031a1b6b9549 sys/arch/powerpc/powerpc/trap_subr.S
--- a/sys/arch/powerpc/powerpc/trap_subr.S      Tue Apr 29 15:11:45 2003 +0000
+++ b/sys/arch/powerpc/powerpc/trap_subr.S      Tue Apr 29 15:16:14 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap_subr.S,v 1.37 2003/03/15 07:21:02 matt Exp $      */
+/*     $NetBSD: trap_subr.S,v 1.38 2003/04/29 15:16:14 scw Exp $       */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -69,7 +69,7 @@
        lwz     sr,48(pmap);    mtsr    12,sr; \
        lwz     sr,52(pmap);    mtsr    13,sr; \
        lwz     sr,56(pmap);    mtsr    14,sr; \
-       lwz     sr,60(pmap);    mtsr    15,sr;
+       lwz     sr,60(pmap);    mtsr    15,sr; isync;
 
 /*
  * User SRs are loaded through a pointer to the current pmap.



Home | Main Index | Thread Index | Old Index