mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 09:44:30 +01:00
Make Cyrix CPU flush internal cache any time it goes into hold state.
(Meant to commit this a long time ago... oh well).
This commit is contained in:
parent
3639a13133
commit
d43f5ad71e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3117
@ -34,7 +34,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
|
* 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)
|
movb $CCR0,%al # Configuration Register index (CCR0)
|
||||||
outb %al,$0x22
|
outb %al,$0x22
|
||||||
inb $0x23,%al
|
inb $0x23,%al
|
||||||
orb $CCR0_NC1,%al
|
orb $(CCR0_NC1|CCR0_BARB),%al
|
||||||
outb %al,$0x23
|
outb %al,$0x23
|
||||||
invd
|
invd
|
||||||
jmp 2f
|
jmp 2f
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
|
* 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)
|
movb $CCR0,%al # Configuration Register index (CCR0)
|
||||||
outb %al,$0x22
|
outb %al,$0x22
|
||||||
inb $0x23,%al
|
inb $0x23,%al
|
||||||
orb $CCR0_NC1,%al
|
orb $(CCR0_NC1|CCR0_BARB),%al
|
||||||
outb %al,$0x23
|
outb %al,$0x23
|
||||||
invd
|
invd
|
||||||
jmp 2f
|
jmp 2f
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
|
* 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)
|
movb $CCR0,%al # Configuration Register index (CCR0)
|
||||||
outb %al,$0x22
|
outb %al,$0x22
|
||||||
inb $0x23,%al
|
inb $0x23,%al
|
||||||
orb $CCR0_NC1,%al
|
orb $(CCR0_NC1|CCR0_BARB),%al
|
||||||
outb %al,$0x23
|
outb %al,$0x23
|
||||||
invd
|
invd
|
||||||
jmp 2f
|
jmp 2f
|
||||||
|
Loading…
Reference in New Issue
Block a user