diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-28 21:02:43 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-28 21:02:43 +0000 |
commit | 5cf3839607a6883a16fe65124d2f8f244de0f8ac (patch) | |
tree | e5e3ccae8adb6e6e1ea33f2e2430c4093090cb6f /target-i386 | |
parent | 5732fd277903a026af79b75b5e7b19f66c5cb447 (diff) |
nx defines
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1675 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 068ebcddb0..450dd8cbe4 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -189,6 +189,7 @@ #define PG_DIRTY_BIT 6 #define PG_PSE_BIT 7 #define PG_GLOBAL_BIT 8 +#define PG_NX_BIT 63 #define PG_PRESENT_MASK (1 << PG_PRESENT_BIT) #define PG_RW_MASK (1 << PG_RW_BIT) @@ -199,6 +200,7 @@ #define PG_DIRTY_MASK (1 << PG_DIRTY_BIT) #define PG_PSE_MASK (1 << PG_PSE_BIT) #define PG_GLOBAL_MASK (1 << PG_GLOBAL_BIT) +#define PG_NX_MASK (1LL << PG_NX_BIT) #define PG_ERROR_W_BIT 1 @@ -206,6 +208,7 @@ #define PG_ERROR_W_MASK (1 << PG_ERROR_W_BIT) #define PG_ERROR_U_MASK 0x04 #define PG_ERROR_RSVD_MASK 0x08 +#define PG_ERROR_I_D_MASK 0x10 #define MSR_IA32_APICBASE 0x1b #define MSR_IA32_APICBASE_BSP (1<<8) |