coreboot-kgpe-d16/src
Julius Werner 2bd18edc84 coding_style: Add more guidelines on error handling, die() and assert()
This patch adds a new section to the coding style which codifies
existing practices about how to handle errors and how to use the die()
and assert() macros. Also clean up some references to Linux-specific
facilities that do not exist in coreboot in the adjacent function return
type guidelines, and add a small blurb of documentation to the
definition of the assert() macro itself.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: Ice37ed9f995a56d69476e95a352209041b337284
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70775
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
2022-12-28 05:41:23 +00:00
..
acpi tree/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:47 +00:00
arch {acpi,arch,soc}/acpi: Replace constant "One" with actual number 2022-12-27 09:05:15 +00:00
commonlib coreboot_tables: Make existing alignment conventions more explicit 2022-12-22 15:34:28 +00:00
console lib: Hook up libhwbase in romstage 2022-12-17 20:51:38 +00:00
cpu cpu/x86: Set up a separate stack for APs 2022-12-23 14:29:01 +00:00
device device/Kconfig: bump desktop framebuffer max height/width to support 4K 2022-12-17 18:11:04 +00:00
drivers tree/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:47 +00:00
ec {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
include coding_style: Add more guidelines on error handling, die() and assert() 2022-12-28 05:41:23 +00:00
lib coreboot_tables: Make existing alignment conventions more explicit 2022-12-22 15:34:28 +00:00
mainboard mb/google/brya/var/kuldax: Add wifi sar table 2022-12-28 00:56:00 +00:00
northbridge tree/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:47 +00:00
sbom
security src/security/vboot: Fix wrong CONFIG name 2022-12-28 05:39:32 +00:00
soc soc/intel/alderlake: Use common gpio.h include 2022-12-27 15:23:11 +00:00
southbridge sb/intel/lynxpoint: Add Kconfig option to hide Intel ME 2022-12-23 14:20:39 +00:00
superio {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
vendorcode tree/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:47 +00:00
Kconfig