coreboot/util/cbmem
Jakub Czapiga 4fd3cb35c2 util/cbmem: Change abort() to exit(1) in die()
Call to abort() in die() causes many tools to assume that the cbmem util
crashed even in case of just incorrect parameters. Changing it to
exit(1) allows for easier error handling by just getting the exit code
instead of having to handle SIGABRT.

Change-Id: Ic59e3479dcbe090a43878bf773409781729146c8
Signed-off-by: Jakub Czapiga <czapiga@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88981
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2025-08-30 13:53:51 +00:00
..
.gitignore .gitignore: Ignore .test/.dependencies globally 2020-10-31 18:21:36 +00:00
cbmem.c util/cbmem: Add support for CBMEM in sysfs 2025-07-28 14:31:00 +00:00
cbmem_drv.c util/cbmem: Add support for CBMEM in sysfs 2025-07-28 14:31:00 +00:00
cbmem_util.h util/cbmem: Change abort() to exit(1) in die() 2025-08-30 13:53:51 +00:00
description.md
devmem_drv.c util/cbmem: Extract devmem and common code to separate files 2025-07-22 16:28:04 +00:00
Makefile util/cbmem: Add support for CBMEM in sysfs 2025-07-28 14:31:00 +00:00
sysfs_drv.c util/cbmem/sysfs_drv: Fix incompatible pointer type for 'size' 2025-07-30 07:55:11 +00:00