]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: sandbox: implement exception command
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 11 Nov 2020 23:29:57 +0000 (00:29 +0100)
committerSimon Glass <sjg@chromium.org>
Sun, 13 Dec 2020 14:58:17 +0000 (07:58 -0700)
commitb02efa55f030fdb434cee4cc95cb22779c17231c
tree90e6ed3aa24df585c060c2c83a6c649d76fef122
parentf3a567e9d1369f458984c7f823f798912a1744a9
cmd: sandbox: implement exception command

Implement the commands

* exception undefined - execute an illegal instruction
* exception sigsegv - cause a segment violation

Here is a possible output:

    => exception undefined
    Illegal instruction
    pc = 0x55eb8d0a7575, pc_reloc = 0x57575
    Resetting ...

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/Makefile
cmd/sandbox/Makefile [new file with mode: 0644]
cmd/sandbox/exception.c [new file with mode: 0644]