cmd: exception: unaligned data access on RISC-V
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 6 Aug 2020 10:34:59 +0000 (12:34 +0200)
committerAndes <uboot@andestech.com>
Fri, 14 Aug 2020 06:39:34 +0000 (14:39 +0800)
commitdb3585d181221dd025fcdece9d56b02da63cfe96
tree5ebe42ed72ac8f7ef6e2bfc83cce8862836105d8
parent3a85e03f83e979e431e86c2d6394a5e4770dad1f
cmd: exception: unaligned data access on RISC-V

The command 'exception' can be used to test the handling of exceptions.

Currently the exception command only allows to create an illegal
instruction exception on RISC-V.

Provide a sub-command 'exception unaligned' to cause a misaligned load
address exception.

Adjust the online help for 'exception undefined'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Rick Chen <rick@andestech.com>
cmd/riscv/exception.c