kern_shutdown.c (68808) | kern_shutdown.c (69335) |
---|---|
1/*- 2 * Copyright (c) 1986, 1988, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94 | 1/*- 2 * Copyright (c) 1986, 1988, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94 |
39 * $FreeBSD: head/sys/kern/kern_shutdown.c 68808 2000-11-16 02:16:44Z jhb $ | 39 * $FreeBSD: head/sys/kern/kern_shutdown.c 69335 2000-11-29 01:33:15Z jhb $ |
40 */ 41 42#include "opt_ddb.h" 43#include "opt_hw_wdog.h" 44#include "opt_panic.h" 45#include "opt_show_busybufs.h" 46 47#include <sys/param.h> --- 505 unchanged lines hidden (view full) --- 553 (void)vsnprintf(buf, sizeof(buf), fmt, ap); 554 if (panicstr == fmt) 555 panicstr = buf; 556 va_end(ap); 557 printf("panic: %s\n", buf); 558#ifdef SMP 559 /* two seperate prints in case of an unmapped page and trap */ 560 printf("cpuid = %d; ", cpuid); | 40 */ 41 42#include "opt_ddb.h" 43#include "opt_hw_wdog.h" 44#include "opt_panic.h" 45#include "opt_show_busybufs.h" 46 47#include <sys/param.h> --- 505 unchanged lines hidden (view full) --- 553 (void)vsnprintf(buf, sizeof(buf), fmt, ap); 554 if (panicstr == fmt) 555 panicstr = buf; 556 va_end(ap); 557 printf("panic: %s\n", buf); 558#ifdef SMP 559 /* two seperate prints in case of an unmapped page and trap */ 560 printf("cpuid = %d; ", cpuid); |
561#ifdef APIC_IO |
|
561 printf("lapic.id = %08x\n", lapic.id); 562#endif | 562 printf("lapic.id = %08x\n", lapic.id); 563#endif |
564#endif |
|
563 564#if defined(DDB) 565 if (debugger_on_panic) 566 Debugger ("panic"); 567#endif 568 boot(bootopt); 569} 570 --- 49 unchanged lines hidden --- | 565 566#if defined(DDB) 567 if (debugger_on_panic) 568 Debugger ("panic"); 569#endif 570 boot(bootopt); 571} 572 --- 49 unchanged lines hidden --- |