]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Add support for calling abort()
authorSimon Glass <sjg@chromium.org>
Sat, 15 Sep 2018 06:50:55 +0000 (00:50 -0600)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:30 +0000 (21:55 +0200)
commitfe938fb0df155d902846ca39ef06cdee8869f165
tree14cc9462c8213ca5b8f55f85269fe1875a959c14
parent613185023f0e84c410a2c088dd030ca696834763
sandbox: Add support for calling abort()

This function is useful to signal that the application needs to exit
immediate. It can be caught with a debugger (e.g. gdb). Add a stub for it
so that it can be called from within sandbox when an internal error
occurs.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/sandbox/cpu/os.c
include/os.h