Deleted Added
full compact
kern_shutdown.c (29041) kern_shutdown.c (29128)
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 * $Id: kern_shutdown.c,v 1.22 1997/08/31 23:08:38 bde Exp $
39 * $Id: kern_shutdown.c,v 1.23 1997/09/02 20:05:41 bde Exp $
40 */
41
42#include "opt_ddb.h"
43#include "opt_panic.h"
44#include "opt_show_busybufs.h"
45
46#include <sys/param.h>
47#include <sys/systm.h>

--- 350 unchanged lines hidden (view full) ---

398 panicstr = fmt;
399
400 printf("panic: ");
401 va_start(ap, fmt);
402 vprintf(fmt, ap);
403 va_end(ap);
404 printf("\n");
405#ifdef SMP
40 */
41
42#include "opt_ddb.h"
43#include "opt_panic.h"
44#include "opt_show_busybufs.h"
45
46#include <sys/param.h>
47#include <sys/systm.h>

--- 350 unchanged lines hidden (view full) ---

398 panicstr = fmt;
399
400 printf("panic: ");
401 va_start(ap, fmt);
402 vprintf(fmt, ap);
403 va_end(ap);
404 printf("\n");
405#ifdef SMP
406 printf(" cpuid %d\n", cpuid);
406 /* three seperate prints in case of an unmapped page and trap */
407 printf("mp_lock = %08x; ", mp_lock);
408 printf("cpuid = %d; ", cpuid);
409 printf("lapic.id = %08x\n", lapic.id);
407#endif
408
409#if defined(DDB)
410 if (debugger_on_panic)
411 Debugger ("panic");
412#endif
413 boot(bootopt);
414}

--- 76 unchanged lines hidden ---
410#endif
411
412#if defined(DDB)
413 if (debugger_on_panic)
414 Debugger ("panic");
415#endif
416 boot(bootopt);
417}

--- 76 unchanged lines hidden ---