Display XD for Intel processors (Execution Disable bit support).

This commit is contained in:
cube 2006-08-24 12:55:46 +00:00
parent da9052a357
commit d4c4e962c9
1 changed files with 4 additions and 3 deletions

View File

@ -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.