diff options
| author | John Dyson <dyson@FreeBSD.org> | 1997-10-06 02:11:32 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1997-10-06 02:11:32 +0000 |
| commit | 42c0de49268d3322c3b968948afa9a8a3cd768a1 (patch) | |
| tree | 3c5cd628c66d421eddda8d0a7e63417736c84f7a /sys/kern/subr_smp.c | |
| parent | a5cd8a3572f2f787b700ee197c06ee26c8f5ff72 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_smp.c')
| -rw-r--r-- | sys/kern/subr_smp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 79ff79d25cea..2927ace3a983 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -2036,6 +2036,14 @@ void putfmtrr() { if (cpu_class == CPUCLASS_686) { wbinvd(); + /* + * Set memory between 0-640K to be WB + */ + wrmsr(0x250, 0x0606060606060606LL); + wrmsr(0x258, 0x0606060606060606LL); + /* + * Set normal, PC video memory to be WC + */ wrmsr(0x259, 0x0101010101010101LL); } } |
