Deleted Added
full compact
subr_trap.c (24666) subr_trap.c (24690)
1/*-
2 * Copyright (C) 1994, David Greenman
3 * Copyright (c) 1990, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * the University of Utah, and William Jolitz.
8 *

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

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)trap.c 7.4 (Berkeley) 5/13/91
1/*-
2 * Copyright (C) 1994, David Greenman
3 * Copyright (c) 1990, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * the University of Utah, and William Jolitz.
8 *

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

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)trap.c 7.4 (Berkeley) 5/13/91
38 * $Id: trap.c,v 1.88 1997/02/22 09:32:55 peter Exp $
38 * $Id: trap.c,v 1.89 1997/04/06 02:29:19 dyson Exp $
39 */
40
41/*
42 * 386 Trap and System call handling
43 */
44
45#include "opt_ktrace.h"
46#include "opt_ddb.h"

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

758 */
759void
760dblfault_handler()
761{
762 struct pcb *pcb = curpcb;
763
764 if (pcb != NULL) {
765 printf("\nFatal double fault:\n");
39 */
40
41/*
42 * 386 Trap and System call handling
43 */
44
45#include "opt_ktrace.h"
46#include "opt_ddb.h"

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

758 */
759void
760dblfault_handler()
761{
762 struct pcb *pcb = curpcb;
763
764 if (pcb != NULL) {
765 printf("\nFatal double fault:\n");
766 printf("eip = 0x%x\n", pcb->pcb_tss.tss_eip);
767 printf("esp = 0x%x\n", pcb->pcb_tss.tss_esp);
768 printf("ebp = 0x%x\n", pcb->pcb_tss.tss_ebp);
766 printf("eip = 0x%x\n", pcb->pcb_eip);
767 printf("esp = 0x%x\n", pcb->pcb_esp);
768 printf("ebp = 0x%x\n", pcb->pcb_ebp);
769 }
770
771 panic("double fault");
772}
773
774/*
775 * Compensate for 386 brain damage (missing URKR).
776 * This is a little simpler than the pagefault handler in trap() because

--- 164 unchanged lines hidden ---
769 }
770
771 panic("double fault");
772}
773
774/*
775 * Compensate for 386 brain damage (missing URKR).
776 * This is a little simpler than the pagefault handler in trap() because

--- 164 unchanged lines hidden ---