kern_shutdown.c (133763) | kern_shutdown.c (134089) |
---|---|
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. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94 35 */ 36 37#include <sys/cdefs.h> | 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. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/kern/kern_shutdown.c 133763 2004-08-15 19:17:23Z truckman $"); | 38__FBSDID("$FreeBSD: head/sys/kern/kern_shutdown.c 134089 2004-08-20 17:24:52Z jhb $"); |
39 40#include "opt_kdb.h" 41#include "opt_hw_wdog.h" 42#include "opt_mac.h" 43#include "opt_panic.h" 44#include "opt_show_busybufs.h" 45 46#include <sys/param.h> --- 474 unchanged lines hidden (view full) --- 521 printf("panic: %s\n", buf); 522 } else { 523 printf("panic: "); 524 vprintf(fmt, ap); 525 printf("\n"); 526 } 527 va_end(ap); 528#ifdef SMP | 39 40#include "opt_kdb.h" 41#include "opt_hw_wdog.h" 42#include "opt_mac.h" 43#include "opt_panic.h" 44#include "opt_show_busybufs.h" 45 46#include <sys/param.h> --- 474 unchanged lines hidden (view full) --- 521 printf("panic: %s\n", buf); 522 } else { 523 printf("panic: "); 524 vprintf(fmt, ap); 525 printf("\n"); 526 } 527 va_end(ap); 528#ifdef SMP |
529 /* two separate prints in case of an unmapped page and trap */ 530 printf("cpuid = %d; ", PCPU_GET(cpuid)); 531#ifdef APIC_IO 532 printf("lapic.id = %08x\n", lapic.id); 533#else 534 printf("\n"); | 529 printf("cpuid = %d\n", PCPU_GET(cpuid)); |
535#endif | 530#endif |
536#endif | |
537 538#ifdef KDB 539 if (newpanic && trace_on_panic) 540 kdb_backtrace(); 541 if (debugger_on_panic) 542 kdb_enter("panic"); 543#ifdef RESTARTABLE_PANICS 544 /* See if the user aborted the panic, in which case we continue. */ --- 92 unchanged lines hidden --- | 531 532#ifdef KDB 533 if (newpanic && trace_on_panic) 534 kdb_backtrace(); 535 if (debugger_on_panic) 536 kdb_enter("panic"); 537#ifdef RESTARTABLE_PANICS 538 /* See if the user aborted the panic, in which case we continue. */ --- 92 unchanged lines hidden --- |