sd-boot: Add assert implementation
authorJan Janssen <medhefgo@web.de>
Wed, 11 Aug 2021 12:59:46 +0000 (14:59 +0200)
committerJan Janssen <medhefgo@web.de>
Thu, 12 Aug 2021 07:48:37 +0000 (09:48 +0200)
commit7a7267bf55cac0a90f6a8a83841c56fdebb1e69c
tree7ef210f2cb74c46f08c6c2eaa17b58ee14541ab8
parentb52fafb26d90b77cfc259fcbdab3c95a571bacb1
sd-boot: Add assert implementation

There is a ASSERT() macro from gnu-efi, but that does not show any
output to ConOut. Having to do some additional setup just to get
some debug output is tedious and outright difficult on real hardware.
src/boot/efi/assert.c [new file with mode: 0644]
src/boot/efi/meson.build
src/fundamental/macro-fundamental.h