diff options
| author | Anup Patel <[email protected]> | 2019-11-16 16:08:27 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2019-11-21 13:54:13 +0530 |
| commit | 838657c0524f148d8aaec8225cd0ab9e2e2c7303 (patch) | |
| tree | c73c3551b6d9e58ec3d96edb43468688aacb8660 /include | |
| parent | 215421ca610a64b8ec188c96ea8588ae2de41fb7 (diff) | |
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 <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
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 fce49bcb..05aca76e 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; }; |
