Add G4 specific exceptions (include AltiVec).
This commit is contained in:
parent
bb71a6b332
commit
95a8447ccf
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: trap.h,v 1.3 2000/05/25 21:10:14 is Exp $ */
|
/* $NetBSD: trap.h,v 1.4 2000/11/19 20:48:20 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||||
@ -47,7 +47,12 @@
|
|||||||
#define EXC_TRC 0x0d00 /* Trace */
|
#define EXC_TRC 0x0d00 /* Trace */
|
||||||
#define EXC_FPA 0x0e00 /* Floating-point Assist */
|
#define EXC_FPA 0x0e00 /* Floating-point Assist */
|
||||||
|
|
||||||
/* The following are only available on 604: */
|
/* The following are only available on 7400(G4): */
|
||||||
|
#define EXC_VEC 0x0f20 /* AltiVec Unavailable */
|
||||||
|
#define EXC_VECAST 0x1600 /* AltiVec Assist */
|
||||||
|
#define EXC_VEC 0x1700 /* Thermal Management Interrupt */
|
||||||
|
|
||||||
|
/* The following are only available on 604/750/7400: */
|
||||||
#define EXC_PERF 0x0f00 /* Performance Monitoring */
|
#define EXC_PERF 0x0f00 /* Performance Monitoring */
|
||||||
#define EXC_BPT 0x1300 /* Instruction Breakpoint */
|
#define EXC_BPT 0x1300 /* Instruction Breakpoint */
|
||||||
#define EXC_SMI 0x1400 /* System Managment Interrupt */
|
#define EXC_SMI 0x1400 /* System Managment Interrupt */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user