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 Put DDB stubs inside ifdef DDB, PR 18563.
details: https://anonhg.NetBSD.org/src/rev/bdd5bfacc1cb
branches: trunk
changeset: 537876:bdd5bfacc1cb
user: fvdl <fvdl%NetBSD.org@localhost>
date: Mon Oct 07 07:11:59 2002 +0000
description:
Put DDB stubs inside ifdef DDB, PR 18563.
diffstat:
sys/arch/i386/i386/apicvec.s | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r 8d8dfc516b69 -r bdd5bfacc1cb sys/arch/i386/i386/apicvec.s
--- a/sys/arch/i386/i386/apicvec.s Mon Oct 07 04:51:00 2002 +0000
+++ b/sys/arch/i386/i386/apicvec.s Mon Oct 07 07:11:59 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apicvec.s,v 1.3 2002/10/05 21:17:35 fvdl Exp $ */
+/* $NetBSD: apicvec.s,v 1.4 2002/10/07 07:11:59 fvdl Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -55,7 +55,7 @@
call _C_LABEL(i386_ipi_handler)
jmp _C_LABEL(Xdoreti)
-#if defined(DDB)
+#ifdef DDB
.globl XINTR(ddbipi)
XINTR(ddbipi):
pushl $0
@@ -69,8 +69,8 @@
sti /* safe to take interrupts.. */
call _C_LABEL(ddb_ipi)
jmp _C_LABEL(Xdoreti)
-#endif
.globl XINTR_TSS(ddbipi)
+
XINTR_TSS(ddbipi):
1:
str %ax
@@ -88,7 +88,8 @@
popl CPL
iret
jmp 1b
-#endif
+#endif /* DDB */
+#endif /* MULTIPROCESSOR */
/*
* Interrupt from the local APIC timer.
Home |
Main Index |
Thread Index |
Old Index