coreboot-kgpe-d16/payloads/libpayload/include
Julius Werner 39c4bb0211 libpayload: Move GDB functions to stdlib.h
When GDB support is compiled in, halt() in libpayload will call
gdb_enter(). halt() is defined in <stdlib.h> and gdb_enter() in
<libpayload.h>. Usually files just include <libpayload.h> so this is not
a problem, but in some situatons a payload may just include <stdlib.h>
(or a file including it like <assert.h>), leading to an undeclared
identifier here. Move the GDB functions to <stdlib.h> to solve this.

Change-Id: I7b23b8ac9cd302aa6ef96f24565130490ac40071
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/25730
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-04-19 20:39:29 +00:00
..
arm/arch Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
arm64/arch arch/arm64/armv8/mmu: Add support for 48bit VA 2018-03-23 04:09:50 +00:00
arpa
mips/arch Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
pci libpayload: Add pci_free_dev() and some boilerplate 2017-12-07 21:51:24 +00:00
storage
sys
udc
usb Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
x86/arch Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
archive.h
assert.h
cbfs.h
cbfs_core.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
cbfs_ram.h
cbgfx.h detachables: Add invert parameter 2017-05-25 18:23:56 +02:00
compiler.h add __must_check to */compiler.h 2017-08-08 18:18:03 +00:00
coreboot_tables.h libpayload: Add SKU ID coreboot table support 2017-12-07 01:19:38 +00:00
ctype.h
die.h
endian.h endian: Fix bebitenc() to actually encode big-endian 2017-11-06 20:46:37 +00:00
errno.h
exception.h
fmap_serialized.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
gdb.h
getopt.h
inttypes.h
ipchksum.h
kconfig.h
keycodes.h
libpayload.h libpayload: Move GDB functions to stdlib.h 2018-04-19 20:39:29 +00:00
limits.h
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h
queue.h
stdarg.h
stddef.h libpayload: add *SECS_PER_SEC macros to stddef.h 2017-08-14 18:06:33 +00:00
stdint.h
stdio.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
stdlib.h libpayload: Move GDB functions to stdlib.h 2018-04-19 20:39:29 +00:00
string.h
strings.h
swab.h
sysinfo.h libpayload: Add SKU ID coreboot table support 2017-12-07 01:19:38 +00:00
term.h
time.h libpayload: add time() 2017-08-21 16:53:20 +00:00
unistd.h
video_console.h