From 674b3dff6b5498a1542a9c344e7d16effe6f2d11 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 20 Dec 2006 21:45:15 +0000 Subject: 2006-12-19 Samuel Thibault 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. --- i386/intel/pmap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'i386/intel') 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 -- cgit v1.2.3