diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-02-19 22:33:30 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-02-19 22:33:30 +0000 |
commit | e45a0a2546dfa029ffe0b93d1a4bc268f2e37c42 (patch) | |
tree | 3b54a82bf2e4d90a744bac3ebc4625622b208d13 /sys/arch/i386/include | |
parent | 4107b37106c62669d025bed1f2f3962213c54317 (diff) |
- split intel686_cpu_setup() into two parts: common for family
0x6 and 0xf and only for family 0x6
- use intel686_p4_cpu_setup() for family 0xf cpus
- msr-based hw.cpuspeed for pentium 4
- use pentium_mhz for hw.cpuspeed if there's nothing better (diff from tedu@)
Ok tedu@
Diffstat (limited to 'sys/arch/i386/include')
-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 2a892090c29..fbcc328e6f5 100644 --- a/sys/arch/i386/include/specialreg.h +++ b/sys/arch/i386/include/specialreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: specialreg.h,v 1.20 2004/02/05 10:23:57 deraadt Exp $ */ +/* $OpenBSD: specialreg.h,v 1.21 2004/02/19 22:33:29 grange Exp $ */ /* $NetBSD: specialreg.h,v 1.7 1994/10/27 04:16:26 cgd Exp $ */ /*- @@ -147,6 +147,7 @@ #define P5MSR_CTR1 0x013 /* P5 only (trap on P6) */ #define MSR_APICBASE 0x01b #define MSR_EBL_CR_POWERON 0x02a +#define MSR_EBC_FREQUENCY_ID 0x02c /* Pentium 4 only */ #define MSR_TEST_CTL 0x033 #define MSR_BIOS_UPDT_TRIG 0x079 #define MSR_BBL_CR_D0 0x088 /* PII+ only */ |