Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include/booke Provide a pte_set
details: https://anonhg.NetBSD.org/src/rev/9170efb6cb43
branches: trunk
changeset: 354658:9170efb6cb43
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Jun 24 07:19:59 2017 +0000
description:
Provide a pte_set
diffstat:
sys/arch/powerpc/include/booke/pte.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 0d6a984abad0 -r 9170efb6cb43 sys/arch/powerpc/include/booke/pte.h
--- a/sys/arch/powerpc/include/booke/pte.h Sat Jun 24 07:00:37 2017 +0000
+++ b/sys/arch/powerpc/include/booke/pte.h Sat Jun 24 07:19:59 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.8 2016/07/11 16:06:52 matt Exp $ */
+/* $NetBSD: pte.h,v 1.9 2017/06/24 07:19:59 skrll Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -271,6 +271,12 @@
return pt_entry;
}
+static inline void
+pte_set(pt_entry_t *ptep, pt_entry_t pte)
+{
+ *ptep = pte;
+}
+
#endif /* _KERNEL */
#endif /* !_LOCORE */
Home |
Main Index |
Thread Index |
Old Index