Commit b5ae8e8a authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

lib: Add misaligned load/store trap handling

We generally don't get misaligned load/store traps from Linux/U-Boot
compiled using GCC 8.2 or higher but this is not true with older
GCC toolchains. To tackle this we add misaligned load/store trap
handling adopted from BBL sources but much more simpler.
(Note: BBL sources can be found at https://github.com/riscv/riscv-pk.git

)

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 96f66f79
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment