On Tue, 10 Nov 2020 at 16:09, Heinrich Schuchardt <xypron.g...@gmx.de> wrote: > > 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.g...@gmx.de> > --- > cmd/Kconfig | 2 +- > cmd/Makefile | 1 + > cmd/sandbox/Makefile | 3 +++ > cmd/sandbox/exception.c | 41 +++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 46 insertions(+), 1 deletion(-) > create mode 100644 cmd/sandbox/Makefile > create mode 100644 cmd/sandbox/exception.c
Reviewed-by: Simon Glass <s...@chromium.org> But it does need a test