From: bellard Date: Mon, 28 Nov 2005 21:02:43 +0000 (+0000) Subject: nx defines X-Git-Tag: TizenStudio_2.0_p2.3~14543 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5cf3839607a6883a16fe65124d2f8f244de0f8ac;p=sdk%2Femulator%2Fqemu.git nx defines git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1675 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 068ebcd..450dd8c 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)