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 comment to say that an Octeon "sync...



details:   https://anonhg.NetBSD.org/src/rev/3827f942f8a3
branches:  trunk
changeset: 936638:3827f942f8a3
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Aug 01 07:09:41 2020 +0000

description:
Add a comment to say that an Octeon "sync 4" is "syncw" - sync all writes.

diffstat:

 sys/arch/mips/mips/lock_stubs_llsc.S |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r b74943ae4d94 -r 3827f942f8a3 sys/arch/mips/mips/lock_stubs_llsc.S
--- a/sys/arch/mips/mips/lock_stubs_llsc.S      Sat Aug 01 07:03:50 2020 +0000
+++ b/sys/arch/mips/mips/lock_stubs_llsc.S      Sat Aug 01 07:09:41 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock_stubs_llsc.S,v 1.9 2019/04/06 03:06:26 thorpej Exp $      */
+/*     $NetBSD: lock_stubs_llsc.S,v 1.10 2020/08/01 07:09:41 simonb Exp $      */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: lock_stubs_llsc.S,v 1.9 2019/04/06 03:06:26 thorpej Exp $")
+RCSID("$NetBSD: lock_stubs_llsc.S,v 1.10 2020/08/01 07:09:41 simonb Exp $")
 
 #include "assym.h"
 
@@ -47,8 +47,8 @@
 
 #if defined(MULTIPROCESSOR)
 #if defined(__OCTEON__)
-#define        SYNC            sync 4
-#define        BDSYNC          sync 4
+#define        SYNC            sync 4          /* sync 4 == syncw - sync all writes */
+#define        BDSYNC          sync 4          /* sync 4 == syncw - sync all writes */
 #else
 #define        SYNC            sync
 #define        BDSYNC          sync



Home | Main Index | Thread Index | Old Index