svn commit: r302569 - in projects/powernv/powerpc: include powerpc

Nathan Whitehorn nwhitehorn at FreeBSD.org
Mon Jul 11 15:32:39 UTC 2016


Author: nwhitehorn
Date: Mon Jul 11 15:32:37 2016
New Revision: 302569
URL: https://svnweb.freebsd.org/changeset/base/302569

Log:
  Add a new trap definition that we do not yet handle.

Modified:
  projects/powernv/powerpc/include/trap.h
  projects/powernv/powerpc/powerpc/trap.c

Modified: projects/powernv/powerpc/include/trap.h
==============================================================================
--- projects/powernv/powerpc/include/trap.h	Mon Jul 11 14:24:50 2016	(r302568)
+++ projects/powernv/powerpc/include/trap.h	Mon Jul 11 15:32:37 2016	(r302569)
@@ -75,6 +75,7 @@
 #define	EXC_DSMISS	0x1200		/* Data store translation miss */
 
 /* Power ISA 2.06+: */
+#define	EXC_HEA		0x0e40		/* Hypervisor Emulation Assistance */
 #define	EXC_VSX		0x0f40		/* VSX Unavailable */
 
 /* The following are available on 4xx and 85xx */

Modified: projects/powernv/powerpc/powerpc/trap.c
==============================================================================
--- projects/powernv/powerpc/powerpc/trap.c	Mon Jul 11 14:24:50 2016	(r302568)
+++ projects/powernv/powerpc/powerpc/trap.c	Mon Jul 11 15:32:37 2016	(r302569)
@@ -116,6 +116,7 @@ static struct powerpc_exception powerpc_
 	{ EXC_EXI,	"external interrupt" },
 	{ EXC_ALI,	"alignment" },
 	{ EXC_PGM,	"program" },
+	{ EXC_HEA,	"hypervisor emulation assistance" },
 	{ EXC_FPU,	"floating-point unavailable" },
 	{ EXC_APU,	"auxiliary proc unavailable" },
 	{ EXC_DECR,	"decrementer" },


More information about the svn-src-projects mailing list