Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Remove undocumented hack.
details: https://anonhg.NetBSD.org/src/rev/3a29f8421113
branches: trunk
changeset: 355464:3a29f8421113
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Jul 29 12:34:34 2017 +0000
description:
Remove undocumented hack.
diffstat:
sys/arch/i386/i386/locore.S | 22 ++--------------------
1 files changed, 2 insertions(+), 20 deletions(-)
diffs (43 lines):
diff -r 1ec312d92d84 -r 3a29f8421113 sys/arch/i386/i386/locore.S
--- a/sys/arch/i386/i386/locore.S Sat Jul 29 12:28:27 2017 +0000
+++ b/sys/arch/i386/i386/locore.S Sat Jul 29 12:34:34 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.148 2017/07/29 11:54:14 maxv Exp $ */
+/* $NetBSD: locore.S,v 1.149 2017/07/29 12:34:34 maxv Exp $ */
/*
* Copyright-o-rama!
@@ -128,7 +128,7 @@
*/
#include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.148 2017/07/29 11:54:14 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.149 2017/07/29 12:34:34 maxv Exp $");
#include "opt_copy_symtab.h"
#include "opt_ddb.h"
@@ -841,24 +841,6 @@
addl $PDE_SIZE,%esp /* pop paddr_t */
addl $NGDT*8,%esp /* pop temporary gdt */
-#ifdef SAFARI_FIFO_HACK
- movb $5,%al
- movw $0x37b,%dx
- outb %al,%dx
- movw $0x37f,%dx
- inb %dx,%al
- movb %al,%cl
-
- orb $1,%cl
-
- movb $5,%al
- movw $0x37b,%dx
- outb %al,%dx
- movw $0x37f,%dx
- movb %cl,%al
- outb %al,%dx
-#endif /* SAFARI_FIFO_HACK */
-
call _C_LABEL(main)
#else /* XEN */
/* First, reset the PSL. */
Home |
Main Index |
Thread Index |
Old Index