Module Name:    src
Committed By:   matt
Date:           Wed Jul 18 16:44:53 UTC 2012

Modified Files:
        src/sys/arch/powerpc/include: trap.h

Log Message:
Define the MPC8XX traps


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/powerpc/include/trap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/trap.h
diff -u src/sys/arch/powerpc/include/trap.h:1.11 src/sys/arch/powerpc/include/trap.h:1.12
--- src/sys/arch/powerpc/include/trap.h:1.11	Sat May 24 21:39:01 2008
+++ src/sys/arch/powerpc/include/trap.h	Wed Jul 18 16:44:52 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: trap.h,v 1.11 2008/05/24 21:39:01 phx Exp $	*/
+/*	$NetBSD: trap.h,v 1.12 2012/07/18 16:44:52 matt Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -76,6 +76,15 @@
 #define	EXC_ITMISS	0x1200		/* Instruction TLB Miss */
 #define	EXC_DEBUG	0x2000		/* Debug trap */
 
+/* The following are only available on mpc8xx */
+#define	EXC_SWEMUL	0x1000		/* Software Emulation */
+#define	EXC_ITMISS_8XX	0x1100		/* Instruction TLB Miss */
+#define	EXC_DTMISS_8XX	0x1200		/* Data TLB Miss */
+#define	EXC_ITERROR	0x1300		/* Instruction TLB Error */
+#define	EXC_DTERROR	0x1400		/* Data TLB Error */
+#define	EXC_DBREAK	0x1c00		/* data breakpoint */
+#define	EXC_IBREAK	0x1d00		/* instructin breakpoint */
+
 /* The following are only present on 64 bit PPC implementations */
 #define EXC_DSEG	0x380
 #define EXC_ISEG	0x480

Reply via email to