diff options
author | Anup Patel <anup.patel@wdc.com> | 2019-11-16 13:38:27 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-11-21 11:24:13 +0300 |
commit | 838657c0524f148d8aaec8225cd0ab9e2e2c7303 (patch) | |
tree | c73c3551b6d9e58ec3d96edb43468688aacb8660 /include | |
parent | 215421ca610a64b8ec188c96ea8588ae2de41fb7 (diff) | |
download | opensbi-838657c0524f148d8aaec8225cd0ab9e2e2c7303.tar.xz |
include: Remove ilen member of struct unpriv_trap
We simplify struct unpriv_trap by removing ilen member. This
can be achieved by ensuring that at all unpriv load/store
instructions are 4 bytes long using GCC assembler option.
Additionally, this also reduces few instructions from unpriv
load/store functions.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sbi/riscv_unpriv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sbi/riscv_unpriv.h b/include/sbi/riscv_unpriv.h index fce49bc..05aca76 100644 --- a/include/sbi/riscv_unpriv.h +++ b/include/sbi/riscv_unpriv.h @@ -15,7 +15,6 @@ struct sbi_scratch; struct unpriv_trap { - unsigned long ilen; unsigned long cause; unsigned long tval; }; |