View | Details | Raw Unified | Return to bug 224350
Collapse All | Expand All

(-)b/sys/powerpc/include/trap.h (+3 lines)
Lines 80-85 Link Here
80
#define	EXC_HEA		0x0e40		/* Hypervisor Emulation Assistance */
80
#define	EXC_HEA		0x0e40		/* Hypervisor Emulation Assistance */
81
#define	EXC_VSX		0x0f40		/* VSX Unavailable */
81
#define	EXC_VSX		0x0f40		/* VSX Unavailable */
82
82
83
/* Power ISA 2.07+: */
84
#define EXC_FAC_UNA	0xF60		/* Facility Unavailable */
85
83
/* The following are available on 4xx and 85xx */
86
/* The following are available on 4xx and 85xx */
84
#define	EXC_CRIT	0x0100		/* Critical Input Interrupt */
87
#define	EXC_CRIT	0x0100		/* Critical Input Interrupt */
85
#define	EXC_PIT		0x1000		/* Programmable Interval Timer */
88
#define	EXC_PIT		0x1000		/* Programmable Interval Timer */
(-)b/sys/powerpc/powerpc/trap.c (-1 / +6 lines)
Lines 143-148 static struct powerpc_exception powerpc_exceptions[] = { Link Here
143
	{ EXC_VECAST_G4,	"altivec assist" },
143
	{ EXC_VECAST_G4,	"altivec assist" },
144
	{ EXC_THRM,	"thermal management" },
144
	{ EXC_THRM,	"thermal management" },
145
	{ EXC_RUNMODETRC,	"run mode/trace" },
145
	{ EXC_RUNMODETRC,	"run mode/trace" },
146
        { EXC_FAC_UNA,  "facility unavailable" },
146
	{ EXC_LAST,	NULL }
147
	{ EXC_LAST,	NULL }
147
};
148
};
148
149
Lines 279-284 trap(struct trapframe *frame) Link Here
279
			enable_fpu(td);
280
			enable_fpu(td);
280
			break;
281
			break;
281
282
283
		case EXC_FAC_UNA:
284
			sig = SIGILL;
285
			ucode =	ILL_ILLOPC;
286
			break;
287
282
		case EXC_VECAST_E:
288
		case EXC_VECAST_E:
283
		case EXC_VECAST_G4:
289
		case EXC_VECAST_G4:
284
		case EXC_VECAST_G5:
290
		case EXC_VECAST_G5:
285
- 

Return to bug 224350