Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Temporarily mark hppa, mips, powerpc and riscv with...



details:   https://anonhg.NetBSD.org/src/rev/99df76f25dc8
branches:  trunk
changeset: 1008424:99df76f25dc8
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Mar 22 17:33:58 2020 +0000

description:
Temporarily mark hppa, mips, powerpc and riscv with __HAVE_UNLOCKED_PMAP,
for the benefit of UVM.

These need some pmap changes to support concurrent faults on the same
object.  I have changes to do just that, but they're a work in progress.

diffstat:

 sys/arch/hppa/include/types.h    |  5 ++++-
 sys/arch/mips/include/types.h    |  5 ++++-
 sys/arch/powerpc/include/types.h |  5 ++++-
 sys/arch/riscv/include/types.h   |  5 ++++-
 4 files changed, 16 insertions(+), 4 deletions(-)

diffs (68 lines):

diff -r c76adaa990f3 -r 99df76f25dc8 sys/arch/hppa/include/types.h
--- a/sys/arch/hppa/include/types.h     Sun Mar 22 17:15:15 2020 +0000
+++ b/sys/arch/hppa/include/types.h     Sun Mar 22 17:33:58 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.26 2016/01/23 22:31:19 christos Exp $      */
+/*     $NetBSD: types.h,v 1.27 2020/03/22 17:33:58 ad Exp $    */
 
 /*     $OpenBSD: types.h,v 1.6 2001/08/11 01:58:34 art Exp $   */
 
@@ -103,4 +103,7 @@
 #define        __HAVE_MM_MD_DIRECT_MAPPED_PHYS
 #define        __HAVE_MM_MD_KERNACC
 
+/* XXX temporary */
+#define        __HAVE_UNLOCKED_PMAP
+
 #endif /* _HPPA_TYPES_H_ */
diff -r c76adaa990f3 -r 99df76f25dc8 sys/arch/mips/include/types.h
--- a/sys/arch/mips/include/types.h     Sun Mar 22 17:15:15 2020 +0000
+++ b/sys/arch/mips/include/types.h     Sun Mar 22 17:33:58 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.68 2019/04/06 03:06:26 thorpej Exp $       */
+/*     $NetBSD: types.h,v 1.69 2020/03/22 17:33:58 ad Exp $    */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -176,4 +176,7 @@
 #define        __HAVE_MM_MD_KERNACC
 #define        __HAVE_MM_MD_CACHE_ALIASING
 
+/* XXX temporary */
+#define        __HAVE_UNLOCKED_PMAP
+
 #endif /* _MIPS_TYPES_H_ */
diff -r c76adaa990f3 -r 99df76f25dc8 sys/arch/powerpc/include/types.h
--- a/sys/arch/powerpc/include/types.h  Sun Mar 22 17:15:15 2020 +0000
+++ b/sys/arch/powerpc/include/types.h  Sun Mar 22 17:33:58 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.60 2019/12/06 06:38:39 mrg Exp $   */
+/*     $NetBSD: types.h,v 1.61 2020/03/22 17:33:58 ad Exp $    */
 
 /*-
  * Copyright (C) 1995 Wolfgang Solfrank.
@@ -103,4 +103,7 @@
 #define        __HAVE_RAS
 #endif
 
+/* XXX temporary */
+#define        __HAVE_UNLOCKED_PMAP
+
 #endif /* _POWERPC_TYPES_H_ */
diff -r c76adaa990f3 -r 99df76f25dc8 sys/arch/riscv/include/types.h
--- a/sys/arch/riscv/include/types.h    Sun Mar 22 17:15:15 2020 +0000
+++ b/sys/arch/riscv/include/types.h    Sun Mar 22 17:33:58 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.8 2020/03/14 16:12:16 skrll Exp $ */
+/* $NetBSD: types.h,v 1.9 2020/03/22 17:33:59 ad Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -107,4 +107,7 @@
 #define PCU_UNIT_COUNT 1
 #endif
 
+/* XXX temporary */
+#define        __HAVE_UNLOCKED_PMAP
+
 #endif /* _RISCV_TYPES_H_ */



Home | Main Index | Thread Index | Old Index