summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-09-26 16:56:22 +0000
committerpst <pst@FreeBSD.org>1994-09-26 16:56:22 +0000
commit40864c38bc865399e3fb3272a33b8e424369fc9c (patch)
tree35520bcdc9df6f16a5361fc6c1eaf0f14f08353d /sys
parent8c6548cc31b3c6a7bc5ca8bebe8260eed62cbdf7 (diff)
downloadFreeBSD-src-40864c38bc865399e3fb3272a33b8e424369fc9c.zip
FreeBSD-src-40864c38bc865399e3fb3272a33b8e424369fc9c.tar.gz
Make Cyrix CPU flush internal cache any time it goes into hold state.
(Meant to commit this a long time ago... oh well).
Diffstat (limited to 'sys')
-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 f804d18..72973aa 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.27 1994/09/12 11:38:06 davidg Exp $
+ * $Id: locore.s,v 1.28 1994/09/15 07:26:31 sos Exp $
*/
/*
@@ -261,7 +261,7 @@ NON_GPROF_ENTRY(btext)
movb $CCR0,%al # Configuration Register index (CCR0)
outb %al,$0x22
inb $0x23,%al
- orb $CCR0_NC1,%al
+ orb $(CCR0_NC1|CCR0_BARB),%al
outb %al,$0x23
invd
jmp 2f
diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s
index f804d18..72973aa 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.27 1994/09/12 11:38:06 davidg Exp $
+ * $Id: locore.s,v 1.28 1994/09/15 07:26:31 sos Exp $
*/
/*
@@ -261,7 +261,7 @@ NON_GPROF_ENTRY(btext)
movb $CCR0,%al # Configuration Register index (CCR0)
outb %al,$0x22
inb $0x23,%al
- orb $CCR0_NC1,%al
+ orb $(CCR0_NC1|CCR0_BARB),%al
outb %al,$0x23
invd
jmp 2f
diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s
index f804d18..72973aa 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.27 1994/09/12 11:38:06 davidg Exp $
+ * $Id: locore.s,v 1.28 1994/09/15 07:26:31 sos Exp $
*/
/*
@@ -261,7 +261,7 @@ NON_GPROF_ENTRY(btext)
movb $CCR0,%al # Configuration Register index (CCR0)
outb %al,$0x22
inb $0x23,%al
- orb $CCR0_NC1,%al
+ orb $(CCR0_NC1|CCR0_BARB),%al
outb %al,$0x23
invd
jmp 2f
OpenPOWER on IntegriCloud