diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-06-25 01:02:54 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-06-25 01:02:54 +0000 |
commit | 08c396ad4df7a545a2557f8cb32b147955f9aade (patch) | |
tree | fb98f89ed42c414d95d16b1069a8953d8626291f /sys/arch/i386 | |
parent | 3a2d72ec7c281837b8775f07b69d851aa707c38b (diff) |
Add extended CPUID flag value for AMD64 LONG identification. Taken from
arch/amd64/include/specialreg.h.
"fine by me" weingart@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/include/specialreg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/include/specialreg.h b/sys/arch/i386/include/specialreg.h index 4d0e8965e73..850ca2249ad 100644 --- a/sys/arch/i386/include/specialreg.h +++ b/sys/arch/i386/include/specialreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: specialreg.h,v 1.23 2004/06/15 23:36:56 deraadt Exp $ */ +/* $OpenBSD: specialreg.h,v 1.24 2004/06/25 01:02:53 tom Exp $ */ /* $NetBSD: specialreg.h,v 1.7 1994/10/27 04:16:26 cgd Exp $ */ /*- @@ -129,6 +129,7 @@ * feature set for simplicity */ #define CPUID_3DNOW 0x40000000 /* has 3DNow! instructions (AMD) */ +#define CPUID_LONG 0x20000000 /* long mode (AMD64, ext cpuid) */ #define CPUIDECX_PNI 0x00000001 /* Prescott New Instructions */ #define CPUIDECX_MWAIT 0x00000008 /* Monitor/Mwait */ |