Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 Move #ifdef MPDEBUG to incl...
details: https://anonhg.NetBSD.org/src/rev/87d2eb3786a1
branches: sommerfeld_i386mp_1
changeset: 482348:87d2eb3786a1
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Sun Jan 07 18:18:44 2001 +0000
description:
Move #ifdef MPDEBUG to include comment.
diffstat:
sys/arch/i386/i386/mptramp.s | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r cb864bcead34 -r 87d2eb3786a1 sys/arch/i386/i386/mptramp.s
--- a/sys/arch/i386/i386/mptramp.s Sun Jan 07 18:17:28 2001 +0000
+++ b/sys/arch/i386/i386/mptramp.s Sun Jan 07 18:18:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mptramp.s,v 1.1.2.3 2001/01/03 17:02:06 thorpej Exp $ */
+/* $NetBSD: mptramp.s,v 1.1.2.4 2001/01/07 18:18:44 sommerfeld Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -98,6 +98,8 @@
#define _TRMP_LABEL(a) a = . - _C_LABEL(cpu_spinup_trampoline) + MP_TRAMPOLINE
+#ifdef MPDEBUG
+
/*
* Debug code to stop aux. processors in various stages based on the
* value in cpu_trace.
@@ -106,9 +108,7 @@
* cpu_trace[1] is the point which the cpu has reached.
* cpu_trace[2] is the last value stored by HALTT.
*/
-
-
-#ifdef MPDEBUG
+
#define HALT(x) 1: movl (%edi),%ebx;cmpl $ x,%ebx ; jle 1b ; movl $x,4(%edi)
#define HALTT(x,y) movl y,8(%edi); HALT(x)
#else
Home |
Main Index |
Thread Index |
Old Index