Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include Provide pte_set
details: https://anonhg.NetBSD.org/src/rev/0d6a984abad0
branches: trunk
changeset: 354657:0d6a984abad0
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Jun 24 07:00:37 2017 +0000
description:
Provide pte_set
diffstat:
sys/arch/mips/include/pte.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r e2ec69498b6f -r 0d6a984abad0 sys/arch/mips/include/pte.h
--- a/sys/arch/mips/include/pte.h Sat Jun 24 05:49:50 2017 +0000
+++ b/sys/arch/mips/include/pte.h Sat Jun 24 07:00:37 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.24 2016/09/04 07:27:49 skrll Exp $ */
+/* $NetBSD: pte.h,v 1.25 2017/06/24 07:00:37 skrll Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -361,6 +361,12 @@
return pte;
}
+static inline void
+pte_set(pt_entry_t *ptep, pt_entry_t pte)
+{
+ *ptep = pte;
+}
+
#ifdef __PMAP_PRIVATE
struct vm_page_md;
Home |
Main Index |
Thread Index |
Old Index