diff options
author | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2011-12-26 23:07:05 +0000 |
---|---|---|
committer | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2011-12-26 23:07:05 +0000 |
commit | c1f88aa5a9733ea797ceaca70496c79d052d99a4 (patch) | |
tree | bfbfeeb31ca9f5cd3d0da5054a981fa2c9d79acd /sys/arch/amd64/include/cpu.h | |
parent | 44210e3cdc6cb44be3768d6f33373342e07338e7 (diff) |
Add the missing ECX cpu flags from CPUID at 0x80000001.
This is all documented at:
http://support.amd.com/us/Embedded_TechDocs/25481.pdf (page 20)
http://www.intel.com/assets/pdf/appnote/241618.pdf (page 41)
ok jsg@
Diffstat (limited to 'sys/arch/amd64/include/cpu.h')
-rw-r--r-- | sys/arch/amd64/include/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h index 5e839b6a39f..d9c0f1a0190 100644 --- a/sys/arch/amd64/include/cpu.h +++ b/sys/arch/amd64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.69 2011/09/20 14:32:50 pirofti Exp $ */ +/* $OpenBSD: cpu.h,v 1.70 2011/12/26 23:07:04 haesbaert Exp $ */ /* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */ /*- @@ -255,6 +255,7 @@ extern int biosextmem; extern int cpu; extern int cpu_feature; extern int cpu_ecxfeature; +extern int ecpu_ecxfeature; extern int cpu_id; extern char cpu_vendor[]; extern int cpuid_level; |