forked from Mirrors/opensbi
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>
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
struct sbi_scratch;
|
||||
|
||||
struct unpriv_trap {
|
||||
unsigned long ilen;
|
||||
unsigned long cause;
|
||||
unsigned long tval;
|
||||
};
|
||||
|
Reference in New Issue
Block a user