aboutsummaryrefslogtreecommitdiff
path: root/pk/pk.h
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-03-29 16:49:29 -0700
committerAndrew Waterman <andrew@sifive.com>2021-03-29 16:58:42 -0700
commitfe4118a6918b7829f96f42944522da79564a1393 (patch)
tree8b773647c83062d25d8a7ef4cc24aac8f75777fa /pk/pk.h
parentc09d4af850ff8b502b5efd4de1aac39fcbc63618 (diff)
downloadpk-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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/pk/pk.h b/pk/pk.h
index 0ac2cdc..56cdafe 100644
--- a/pk/pk.h
+++ b/pk/pk.h
@@ -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)