summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-08-08 21:14:24 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-08-08 21:14:24 +0000
commit4ad611083ae55fd2bf0f86f52b0835046621a125 (patch)
tree39fe0e6580d947e0600abdafa016b8a0b7d398f5 /sys/arch
parentc3e2a98683d2132e306ecac37b48756db3102e52 (diff)
Add PMAP_NOCACHE as an alias for PMAP_NC for use in semi-MI code.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/include/pmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/sparc64/include/pmap.h b/sys/arch/sparc64/include/pmap.h
index 1b64f8e052f..d674032a908 100644
--- a/sys/arch/sparc64/include/pmap.h
+++ b/sys/arch/sparc64/include/pmap.h
@@ -135,6 +135,7 @@ struct prom_map {
#define PMAP_NC 0x001 /* Set the E bit in the page */
#define PMAP_NVC 0x002 /* Don't enable the virtual cache */
+#define PMAP_NOCACHE PMAP_NC
#define PMAP_LITTLE 0x004 /* Map in little endian mode */
/* Large page size hints -- we really should use another param to pmap_enter() */
#define PMAP_8K 0x000