kern_shutdown.c (71576) | kern_shutdown.c (72091) |
---|---|
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 71576 2001-01-24 12:35:55Z jasone $ | 39 * $FreeBSD: head/sys/kern/kern_shutdown.c 72091 2001-02-06 11:21:58Z asmodai $ |
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> --- 503 unchanged lines hidden (view full) --- 551 552 va_start(ap, fmt); 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 | 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> --- 503 unchanged lines hidden (view full) --- 551 552 va_start(ap, fmt); 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 */ | 559 /* two separate prints in case of an unmapped page and trap */ |
560 printf("cpuid = %d; ", PCPU_GET(cpuid)); 561#ifdef APIC_IO 562 printf("lapic.id = %08x\n", lapic.id); 563#endif 564#endif 565 566#if defined(DDB) 567 if (debugger_on_panic) --- 54 unchanged lines hidden --- | 560 printf("cpuid = %d; ", PCPU_GET(cpuid)); 561#ifdef APIC_IO 562 printf("lapic.id = %08x\n", lapic.id); 563#endif 564#endif 565 566#if defined(DDB) 567 if (debugger_on_panic) --- 54 unchanged lines hidden --- |