cmd: add exception command
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 26 Dec 2018 16:20:35 +0000 (17:20 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 22 Apr 2019 16:06:39 +0000 (12:06 -0400)
commitdab8788a8cadaa18a44001f98fa959fc672fff4f
tree2ede1f0e809092149aaa422970fe39721ed787b0
parentc986aa624b6a0a627f029b44945b60979e25d109
cmd: add exception command

The 'exception' command allows to test exception handling.

This implementation supports ARM, x86, RISC-V and the following exceptions:
* 'breakpoint' - prefetch abort exception (ARM 32bit only)
* 'unaligned'  - data abort exception (ARM only)
* 'undefined'  - undefined instruction exception

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
MAINTAINERS
cmd/Kconfig
cmd/Makefile
cmd/arm/Makefile [new file with mode: 0644]
cmd/arm/exception.c [new file with mode: 0644]
cmd/arm/exception64.c [new file with mode: 0644]
cmd/riscv/Makefile [new file with mode: 0644]
cmd/riscv/exception.c [new file with mode: 0644]
cmd/x86/Makefile
cmd/x86/exception.c [new file with mode: 0644]
include/exception.h [new file with mode: 0644]