diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2015-12-11 01:23:18 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2015-12-11 01:23:18 +0000 |
commit | f6deaeefad36c7c5885f4d5ab53f349729e139c3 (patch) | |
tree | 2d84496279ef1e5bb77e2ea04f2054f80aba1e88 /sys/powerpc/include | |
parent | be0815b50992c6e4322fb1107b9bf75295369d25 (diff) | |
download | FreeBSD-src-f6deaeefad36c7c5885f4d5ab53f349729e139c3.zip FreeBSD-src-f6deaeefad36c7c5885f4d5ab53f349729e139c3.tar.gz |
Add more interrupts handled for booke.
e500mc, e5500, and e6500 all use the normal FPU, with the same behavior as AIM
hardware. e6500 also supports Altivec, so, although we don't yet have e6500
hardware to test on, add these IVORs as well. Theoretically, since it boots the
same as a e5500, it should work, single-threaded, single-core, with full altivec
support as of this commit.
With this commit, and some other patches to be committed shortly FreeBSD now
boots on the P5020, single-core, all the way to user space, and should boot just
fine on e500mc.
Relnotes: Yes (e500mc, e5500 support)
Sponsored by: Alex Perez/Inertial Computing
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/trap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/include/trap.h b/sys/powerpc/include/trap.h index 3ca4b13..81c40c9 100644 --- a/sys/powerpc/include/trap.h +++ b/sys/powerpc/include/trap.h @@ -86,6 +86,7 @@ #define EXC_ITMISS 0x1200 /* Instruction TLB Miss */ #define EXC_APU 0x1300 /* Auxiliary Processing Unit */ #define EXC_DEBUG 0x2f10 /* Debug trap */ +#define EXC_VECAST_E 0x2f20 /* Altivec Assist (Book-E) */ #define EXC_LAST 0x2f00 /* Last possible exception vector */ |