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 Don't init IDT twice.
details: https://anonhg.NetBSD.org/src/rev/a4d51458c059
branches: trunk
changeset: 537700:a4d51458c059
user: junyoung <junyoung%NetBSD.org@localhost>
date: Fri Oct 04 19:27:05 2002 +0000
description:
Don't init IDT twice.
diffstat:
sys/arch/i386/i386/machdep.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diffs (32 lines):
diff -r db83bc1c0d4a -r a4d51458c059 sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c Fri Oct 04 19:22:40 2002 +0000
+++ b/sys/arch/i386/i386/machdep.c Fri Oct 04 19:27:05 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.487 2002/10/04 18:42:34 junyoung Exp $ */
+/* $NetBSD: machdep.c,v 1.488 2002/10/04 19:27:05 junyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.487 2002/10/04 18:42:34 junyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.488 2002/10/04 19:27:05 junyoung Exp $");
#include "opt_cputype.h"
#include "opt_ddb.h"
@@ -3335,13 +3335,6 @@
cpu_init_idt();
-#ifdef I586_CPU
- setregion(®ion, pentium_idt, NIDT * sizeof(idt[0]) - 1);
-#else
- setregion(®ion, idt, NIDT * sizeof(idt[0]) - 1);
-#endif
- lidt(®ion);
-
#ifdef DDB
{
extern int end;
Home |
Main Index |
Thread Index |
Old Index