From d4c4e962c961fbf6bb28d6dc90a6c98c849fb181 Mon Sep 17 00:00:00 2001 From: cube Date: Thu, 24 Aug 2006 12:55:46 +0000 Subject: [PATCH] Display XD for Intel processors (Execution Disable bit support). --- sys/arch/x86/include/specialreg.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/arch/x86/include/specialreg.h b/sys/arch/x86/include/specialreg.h index eccd6021cedf..a01dbe6f7485 100644 --- a/sys/arch/x86/include/specialreg.h +++ b/sys/arch/x86/include/specialreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: specialreg.h,v 1.9 2005/12/02 17:11:19 christos Exp $ */ +/* $NetBSD: specialreg.h,v 1.10 2006/08/24 12:55:46 cube Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -133,10 +133,11 @@ * CPUID Intel extended features */ #define CPUID_SYSCALL 0x00000800 /* SYSCALL/SYSRET */ +#define CPUID_XD 0x00100000 /* Execute Disable */ #define CPUID_EM64T 0x20000000 /* Intel EM64T */ -#define CPUID_MASK4 0x20000800 -#define CPUID_FLAGS4 "\20\14SYSCALL/SYSRET\36EM64T" +#define CPUID_MASK4 0x20100800 +#define CPUID_FLAGS4 "\20\14SYSCALL/SYSRET\25XD\36EM64T" /* * AMD/VIA processor specific flags.