Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Export pte_cache_mode. Define PT_CACHE...
details: https://anonhg.NetBSD.org/src/rev/88d4204dd957
branches: trunk
changeset: 516693:88d4204dd957
user: rearnsha <rearnsha%NetBSD.org@localhost>
date: Sat Oct 27 16:45:35 2001 +0000
description:
Export pte_cache_mode. Define PT_CACHEABLE in terms of it.
diffstat:
sys/arch/arm/include/pte.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 2ddfa27c6d37 -r 88d4204dd957 sys/arch/arm/include/pte.h
--- a/sys/arch/arm/include/pte.h Sat Oct 27 16:42:37 2001 +0000
+++ b/sys/arch/arm/include/pte.h Sat Oct 27 16:45:35 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.2 2001/06/25 23:22:39 chris Exp $ */
+/* $NetBSD: pte.h,v 1.3 2001/10/27 16:45:35 rearnsha Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@@ -74,7 +74,11 @@
#define PT_C 0x08 /* Phys - Cacheable */
#define PT_U 0x10 /* Phys - Updateable */
-#define PT_CACHEABLE (PT_B | PT_C)
+#ifndef _LOCORE
+extern pt_entry_t pte_cache_mode;
+
+#define PT_CACHEABLE (pte_cache_mode)
+#endif
/* Page R/M attributes (in pmseg.attrs). */
#define PT_M 0x01 /* Virt - Modified */
Home |
Main Index |
Thread Index |
Old Index