Commit 5cf3839607a6883a16fe65124d2f8f244de0f8ac

Authored by bellard
1 parent 5732fd27

nx defines


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1675 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 0 deletions
target-i386/cpu.h
... ... @@ -189,6 +189,7 @@
189 189 #define PG_DIRTY_BIT 6
190 190 #define PG_PSE_BIT 7
191 191 #define PG_GLOBAL_BIT 8
  192 +#define PG_NX_BIT 63
192 193  
193 194 #define PG_PRESENT_MASK (1 << PG_PRESENT_BIT)
194 195 #define PG_RW_MASK (1 << PG_RW_BIT)
... ... @@ -199,6 +200,7 @@
199 200 #define PG_DIRTY_MASK (1 << PG_DIRTY_BIT)
200 201 #define PG_PSE_MASK (1 << PG_PSE_BIT)
201 202 #define PG_GLOBAL_MASK (1 << PG_GLOBAL_BIT)
  203 +#define PG_NX_MASK (1LL << PG_NX_BIT)
202 204  
203 205 #define PG_ERROR_W_BIT 1
204 206  
... ... @@ -206,6 +208,7 @@
206 208 #define PG_ERROR_W_MASK (1 << PG_ERROR_W_BIT)
207 209 #define PG_ERROR_U_MASK 0x04
208 210 #define PG_ERROR_RSVD_MASK 0x08
  211 +#define PG_ERROR_I_D_MASK 0x10
209 212  
210 213 #define MSR_IA32_APICBASE 0x1b
211 214 #define MSR_IA32_APICBASE_BSP (1<<8)
... ...