Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/stand/ofwboot fix remaining *_TSB_DATA() uses



details:   https://anonhg.NetBSD.org/src/rev/6f5bafbb39b8
branches:  trunk
changeset: 348737:6f5bafbb39b8
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Nov 04 20:04:11 2016 +0000

description:
fix remaining *_TSB_DATA() uses

diffstat:

 sys/arch/sparc/stand/ofwboot/loadfile_machdep.c |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r af50926e2faf -r 6f5bafbb39b8 sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
--- a/sys/arch/sparc/stand/ofwboot/loadfile_machdep.c   Fri Nov 04 20:04:04 2016 +0000
+++ b/sys/arch/sparc/stand/ofwboot/loadfile_machdep.c   Fri Nov 04 20:04:11 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: loadfile_machdep.c,v 1.15 2016/08/15 08:29:34 maxv Exp $       */
+/*     $NetBSD: loadfile_machdep.c,v 1.16 2016/11/04 20:04:11 macallan Exp $   */
 
 /*-
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -353,7 +353,8 @@
                                        1,              /* cache */
                                        1,              /* alias */
                                        1,              /* valid */
-                                       0               /* endianness */
+                                       0,              /* endianness */
+                                       0               /* wc */
                                        );
                        data |= SUN4U_TLB_L | SUN4U_TLB_CV; /* locked, virt.cache */
 
@@ -429,7 +430,8 @@
                        1,              /* cache */
                        1,              /* alias */
                        1,              /* valid */
-                       0               /* endianness */
+                       0,              /* endianness */
+                       0               /* wc */
                        );
                data |= SUN4V_TLB_CV; /* virt.cache */
                
@@ -646,7 +648,8 @@
                                1,              /* cache */
                                1,              /* alias */
                                1,              /* valid */
-                               0               /* endianness */
+                               0,              /* endianness */
+                               0               /* wc */
                                );
                data |= SUN4U_TLB_L | SUN4U_TLB_CV; /* locked, virt.cache */
                if (!writable_text)
@@ -696,7 +699,8 @@
                        1,              /* cache */
                        1,              /* alias */
                        1,              /* valid */
-                       0               /* endianness */
+                       0,              /* endianness */
+                       0               /* wc */
                        );
                data |= SUN4V_TLB_CV|SUN4V_TLB_X; /* virt.cache, executable */
                if (!writable_text) {



Home | Main Index | Thread Index | Old Index