summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-07-11 08:29:38 +0000
committerphk <phk@FreeBSD.org>1998-07-11 08:29:38 +0000
commit0593047d75577775f9f007923c00371feb80fecb (patch)
tree13261677f76a41e7d4d3cb63379c53bca225447d /sys/amd64
parent004328e3736cc96b95744049c4eb8009d6c8dee3 (diff)
downloadFreeBSD-src-0593047d75577775f9f007923c00371feb80fecb.zip
FreeBSD-src-0593047d75577775f9f007923c00371feb80fecb.tar.gz
Don't disable pmap_setdevram() which isn't called, but which could be,
but instead disable pmap_setvidram() which is called, but probably shouldn't be. PR: 7227, 7240
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index f85f4be..24dc403 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
- * $Id: pmap.c,v 1.202 1998/05/21 07:47:34 dyson Exp $
+ * $Id: pmap.c,v 1.203 1998/07/11 07:45:32 bde Exp $
*/
/*
@@ -483,6 +483,7 @@ putmtrr()
void
pmap_setvidram(void)
{
+#if 0
if (cpu == CPU_686) {
wbinvd();
/*
@@ -495,6 +496,7 @@ pmap_setvidram(void)
*/
wrmsr(0x259, 0x0101010101010101LL);
}
+#endif
}
void
@@ -505,7 +507,6 @@ pmap_setdevram(unsigned long long basea, vm_offset_t sizea)
unsigned long long base;
unsigned long long mask;
- return;
if (cpu != CPU_686)
return;
OpenPOWER on IntegriCloud