coreboot-kgpe-d16/payloads/libpayload/include
Julius Werner f975e55dcd cbfs: Add "struct" file type and associated helpers
This patch adds functionality to compile a C data structure into a raw
binary file, add it to CBFS and allow coreboot to load it at runtime.
This is useful in all cases where we need to be able to have several
larger data sets available in an image, but will only require a small
subset of them at boot (a classic example would be DRAM parameters) or
only require it in certain boot modes. This allows us to load less data
from flash and increase boot speed compared to solutions that compile
all data sets into a stage.

Each structure has to be defined in a separate .c file which contains no
functions and only a single global variable. The data type must be
serialization safe (composed of only fixed-width types, paying attention
to padding). It must be added to CBFS in a Makefile with the 'struct'
file processor.

Change-Id: Iab65c0b6ebea235089f741eaa8098743e54d6ccc
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/16272
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-08-27 01:16:22 +02:00
..
arm/arch
arm64/arch
arpa
mips/arch
pci libpayload/pci: Correct MASK macro names 2016-06-21 20:41:06 +02:00
storage
sys
udc
usb libpayload: xhci: Set MPS based on speed 2016-05-09 08:29:57 +02:00
x86/arch
archive.h
assert.h
cbfs.h
cbfs_core.h cbfs: Add "struct" file type and associated helpers 2016-08-27 01:16:22 +02:00
cbfs_ram.h
cbgfx.h
coreboot_tables.h coreboot_tables: Extend serial port description 2016-05-09 17:21:22 +02:00
ctype.h
die.h
endian.h
errno.h
exception.h
fmap_serialized.h
gdb.h
getopt.h
inttypes.h
ipchksum.h
kconfig.h
keycodes.h
libpayload.h libpayload: time: split time.h from libpayload.h 2016-04-21 23:08:52 +02:00
limits.h
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h
queue.h
stdarg.h
stddef.h
stdint.h
stdio.h
stdlib.h
string.h
strings.h
swab.h
sysinfo.h libpayload: Drop CONFIG_LP_CHROMEOS 2016-03-15 18:22:58 +01:00
term.h
time.h libpayload: time: split time.h from libpayload.h 2016-04-21 23:08:52 +02:00
unistd.h
video_console.h