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/entry.S | |
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/entry.S')
-rw-r--r-- | pk/entry.S | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -47,10 +47,6 @@ STORE t1,33*REGBYTES(x2) STORE t2,34*REGBYTES(x2) STORE t3,35*REGBYTES(x2) - - # get faulting insn, if it wasn't a fetch-related trap - li x5,-1 - STORE x5,36*REGBYTES(x2) 1: .endm |