summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/pte.h
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2002-05-09 14:09:19 +0000
committerbenno <benno@FreeBSD.org>2002-05-09 14:09:19 +0000
commitbcda033a5856d6724f75398815cd29a2e7808da5 (patch)
tree973987a41081167f076791b0d4daa812e864e3f5 /sys/powerpc/include/pte.h
parent42edd9e9a23ce9ef473bf341994ce4059f4acdda (diff)
downloadFreeBSD-src-bcda033a5856d6724f75398815cd29a2e7808da5.zip
FreeBSD-src-bcda033a5856d6724f75398815cd29a2e7808da5.tar.gz
1. Better track the executable status of mappings.
2. Set a pcpu variable to the real address of the active pmap (used when exiting from traps. Obtained from: NetBSD (1)
Diffstat (limited to 'sys/powerpc/include/pte.h')
-rw-r--r--sys/powerpc/include/pte.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/pte.h b/sys/powerpc/include/pte.h
index 45a0285..3e9ac4f 100644
--- a/sys/powerpc/include/pte.h
+++ b/sys/powerpc/include/pte.h
@@ -72,6 +72,8 @@ struct pteg {
#define PTE_RW PTE_BW
#define PTE_RO PTE_BR
+#define PTE_EXEC 0x00000200 /* pseudo bit in attrs; page is exec */
+
#ifndef LOCORE
typedef struct pte pte_t;
#endif /* LOCORE */
OpenPOWER on IntegriCloud