coreboot-kgpe-d16/payloads/libpayload/tests
Julius Werner 23d2465720 commonlib: Clean up compiler.h
This patch contains several minor cleanups related to compiler.h:

- Replace __always_unused() (which is a Linux-specific concept that
  doesn't make sense without also having __maybe_unused(), and had zero
  uses in the codebase) with __unused() which moves here from helpers.h

- Add __underscores__ to the names of all attributes in the compiler
  attribute shorthand macros. This is necessary to make them work in
  files where the same name was already used for an identifier (e.g.
  cbfstool/cbfs.h's `unused` array of file types).

- Remove libpayload's own copy of compiler.h and make it directly pull
  in the commonlib/bsd copy.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I9644da594bb69133843c6b7f12ce50b2e45fd24b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64737
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
2022-06-07 12:34:35 +00:00
..
data
drivers
include libpayload: Implement new CBFS access API 2022-01-10 14:30:04 +00:00
libc libpayload/libc/fmap: Implement new FlashMap API 2021-12-23 14:37:42 +00:00
libcbfs commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
mocks libpayload: Implement new CBFS access API 2022-01-10 14:30:04 +00:00
Makefile
Makefile.inc commonlib: Clean up compiler.h 2022-06-07 12:34:35 +00:00
cbfs-x86-test.c
libpayload-config.h