summaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-12-20 21:45:15 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:58 +0200
commit674b3dff6b5498a1542a9c344e7d16effe6f2d11 (patch)
treec4a18d9bbafbcf41820de2c1d783f197c662d356 /i386/intel
parentde7c29da28f0fc0115b3bbe7389ecc890a8e5104 (diff)
2006-12-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
Add support for cr3/cr4 flags. * i386/i386/proc_reg.h (CR3_PCD, CR3_PWT, CR4_VME, CR4_PVI, CR4_TSD) (CR4_DE, CR4_PSE, CR4_PAE, CR4_MCE, CR4_PGE, CR4_PCE, CR4_OSFXSR) (CR4_OSXMMEXCPT, get_cr4, set_cr4): New macros. * i386/intel/pmap.h (INTEL_PTE_GLOBAL): New macro.
Diffstat (limited to 'i386/intel')
-rw-r--r--i386/intel/pmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/i386/intel/pmap.h b/i386/intel/pmap.h
index 17dc0ea..a6e4ab9 100644
--- a/i386/intel/pmap.h
+++ b/i386/intel/pmap.h
@@ -105,6 +105,7 @@ typedef unsigned int pt_entry_t;
#define INTEL_PTE_NCACHE 0x00000010
#define INTEL_PTE_REF 0x00000020
#define INTEL_PTE_MOD 0x00000040
+#define INTEL_PTE_GLOBAL 0x00000100
#define INTEL_PTE_WIRED 0x00000200
#define INTEL_PTE_PFN 0xfffff000