1
0

add vector exception infrastructure

This commit is contained in:
Yunsup Lee
2012-02-25 16:37:56 -08:00
parent 3839e3a318
commit 946e0c6e4e
5 changed files with 26 additions and 0 deletions

View File

@ -139,6 +139,10 @@ object Constants
val PCR_FROMHOST = UFix(17, 5);
val PCR_VECBANK = UFix(18, 5);
// temporaries for vector, these will go away
val PCR_VEC_TMP1 = UFix(30, 5)
val PCR_VEC_TMP2 = UFix(31, 5)
// definition of bits in PCR status reg
val SR_ET = 0; // enable traps
val SR_EF = 1; // enable floating point