diff options
author | Andrew Waterman <andrew@sifive.com> | 2021-03-29 16:49:29 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2021-03-29 16:58:42 -0700 |
commit | fe4118a6918b7829f96f42944522da79564a1393 (patch) | |
tree | 8b773647c83062d25d8a7ef4cc24aac8f75777fa /pk/pk.h | |
parent | c09d4af850ff8b502b5efd4de1aac39fcbc63618 (diff) | |
download | pk-fe4118a6918b7829f96f42944522da79564a1393.zip pk-fe4118a6918b7829f96f42944522da79564a1393.tar.gz pk-fe4118a6918b7829f96f42944522da79564a1393.tar.bz2 |
pk: remove vestigial trapframe_t::insn field
This assumes that stval is populated with the opcode on illegal
instruction exceptions. But since we're only using the opcode for
error reporting, it's OK if this assumption is violated.
Diffstat (limited to 'pk/pk.h')
-rw-r--r-- | pk/pk.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -17,7 +17,6 @@ typedef struct long epc; long badvaddr; long cause; - long insn; } trapframe_t; #define panic(s,...) do { do_panic(s"\n", ##__VA_ARGS__); } while(0) |