summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-01-31 04:39:37 +0000
committerdg <dg@FreeBSD.org>1994-01-31 04:39:37 +0000
commit34c281958ff83b024679e26b1d02389e0b96b937 (patch)
treea927ff7c25f38f5cf995264350366cd8880aae53
parent5e2d3df48580bf5b3715ba2a90ee2d1531f6476a (diff)
downloadFreeBSD-src-34c281958ff83b024679e26b1d02389e0b96b937.zip
FreeBSD-src-34c281958ff83b024679e26b1d02389e0b96b937.tar.gz
Make I/O memory explicitly non-cacheable. This is purely an asthetic
change.
-rw-r--r--sys/amd64/amd64/locore.S4
-rw-r--r--sys/amd64/amd64/locore.s4
-rw-r--r--sys/i386/i386/locore.s4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S
index 3c17e7e..01c0ac4 100644
--- a/sys/amd64/amd64/locore.S
+++ b/sys/amd64/amd64/locore.S
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
- * $Id: locore.s,v 1.12 1994/01/14 16:23:33 davidg Exp $
+ * $Id: locore.s,v 1.13 1994/01/16 02:21:58 martin Exp $
*/
/*
@@ -320,7 +320,7 @@ ENTRY(btext)
movl _KPTphys-KERNBASE,%ebx /* base of kernel page tables */
lea (0xa0 * PTESIZE)(%ebx),%ebx /* hardwire ISA hole at KERNBASE + 0xa0000 */
movl $0x100-0xa0,%ecx /* for this many pte s, */
- movl $(0xa0000|PG_V|PG_KW),%eax /* valid, kernel read/write */
+ movl $(0xa0000|PG_V|PG_KW|PG_N),%eax /* valid, kernel read/write, non-cacheable */
movl %ebx,_atdevphys-KERNBASE /* save phys addr of ptes */
fillkpt
diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s
index 3c17e7e..01c0ac4 100644
--- a/sys/amd64/amd64/locore.s
+++ b/sys/amd64/amd64/locore.s
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
- * $Id: locore.s,v 1.12 1994/01/14 16:23:33 davidg Exp $
+ * $Id: locore.s,v 1.13 1994/01/16 02:21:58 martin Exp $
*/
/*
@@ -320,7 +320,7 @@ ENTRY(btext)
movl _KPTphys-KERNBASE,%ebx /* base of kernel page tables */
lea (0xa0 * PTESIZE)(%ebx),%ebx /* hardwire ISA hole at KERNBASE + 0xa0000 */
movl $0x100-0xa0,%ecx /* for this many pte s, */
- movl $(0xa0000|PG_V|PG_KW),%eax /* valid, kernel read/write */
+ movl $(0xa0000|PG_V|PG_KW|PG_N),%eax /* valid, kernel read/write, non-cacheable */
movl %ebx,_atdevphys-KERNBASE /* save phys addr of ptes */
fillkpt
diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s
index 3c17e7e..01c0ac4 100644
--- a/sys/i386/i386/locore.s
+++ b/sys/i386/i386/locore.s
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
- * $Id: locore.s,v 1.12 1994/01/14 16:23:33 davidg Exp $
+ * $Id: locore.s,v 1.13 1994/01/16 02:21:58 martin Exp $
*/
/*
@@ -320,7 +320,7 @@ ENTRY(btext)
movl _KPTphys-KERNBASE,%ebx /* base of kernel page tables */
lea (0xa0 * PTESIZE)(%ebx),%ebx /* hardwire ISA hole at KERNBASE + 0xa0000 */
movl $0x100-0xa0,%ecx /* for this many pte s, */
- movl $(0xa0000|PG_V|PG_KW),%eax /* valid, kernel read/write */
+ movl $(0xa0000|PG_V|PG_KW|PG_N),%eax /* valid, kernel read/write, non-cacheable */
movl %ebx,_atdevphys-KERNBASE /* save phys addr of ptes */
fillkpt
OpenPOWER on IntegriCloud