Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Add a sync in badaddr to force an excepti...



details:   https://anonhg.NetBSD.org/src/rev/df265ff5b863
branches:  trunk
changeset: 766961:df265ff5b863
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jul 05 08:07:53 2011 +0000

description:
Add a sync in badaddr to force an exception so trap can clean it up.

diffstat:

 sys/arch/mips/mips/copy.S |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e0d9d7ae7a81 -r df265ff5b863 sys/arch/mips/mips/copy.S
--- a/sys/arch/mips/mips/copy.S Tue Jul 05 07:32:33 2011 +0000
+++ b/sys/arch/mips/mips/copy.S Tue Jul 05 08:07:53 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: copy.S,v 1.12 2011/04/06 05:07:40 matt Exp $   */
+/*     $NetBSD: copy.S,v 1.13 2011/07/05 08:07:53 matt Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -578,6 +578,7 @@
 4:
        INT_L   v0, (a0)
 5:
+       sync
        PTR_S   zero, PCB_ONFAULT(v1)
        j       ra
         move   v0, zero                # made it w/o errors



Home | Main Index | Thread Index | Old Index