aboutsummaryrefslogtreecommitdiff
path: root/pk/pk.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2010-10-05 15:08:18 -0700
committerAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2010-10-05 15:08:18 -0700
commit3aaacd44769a04e4aff3a3c788183e6a7fa75081 (patch)
treeed6c783560f17ba6428c129db732b6713ad76dd3 /pk/pk.h
parent74727add67bb5eea0fb6970dee1b44c415d6bbb4 (diff)
downloadpk-3aaacd44769a04e4aff3a3c788183e6a7fa75081.zip
pk-3aaacd44769a04e4aff3a3c788183e6a7fa75081.tar.gz
pk-3aaacd44769a04e4aff3a3c788183e6a7fa75081.tar.bz2
[xcc,sim] eliminated vectored traps
now, the evec register holds the address that all traps vector to, and the cause register is set with the trap number.
Diffstat (limited to 'pk/pk.h')
-rw-r--r--pk/pk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pk/pk.h b/pk/pk.h
index c164306..501010e 100644
--- a/pk/pk.h
+++ b/pk/pk.h
@@ -7,6 +7,7 @@ typedef struct
long sr;
long epc;
long badvaddr;
+ long cause;
long cr29;
} trapframe_t;