coreboot-kgpe-d16/payloads/libpayload/libc
Joel Kitching 75b1f768d8 cbmem: rename vdat to chromeos_acpi
There is a confusingly named section in cbmem called vdat.
This section holds a data structure called chromeos_acpi_t,
which exposes some system information to the Chrome OS
userland utility crossystem.

Within the chromeos_acpi_t structure, there is a member
called vdat.  This (currently) holds a VbSharedDataHeader.

Rename the outer vdat to chromeos_acpi to make its purpose
clear, and prevent the bizarreness of being able to access
vdat->vdat.

Additionally, disallow external references to the
chromeos_acpi data structure in gnvs.c.

BUG=b:112288216
TEST=emerge-eve coreboot, run on eve
CQ-DEPEND=CL:1164722

Change-Id: Ia74e58cde21678f24b0bb6c1ca15048677116b2e
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/27888
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-08-14 14:48:44 +00:00
..
64bit_div.c
Makefile.inc
args.c
console.c libpayload/libc/console: Flush input driver buffer on init 2017-04-19 19:19:56 +02:00
coreboot.c cbmem: rename vdat to chromeos_acpi 2018-08-14 14:48:44 +00:00
ctype.c
die.c
exec.c
fmap.c
getopt_long.c
hexdump.c
ipchecksum.c
lib.c
libgcc.c
malloc.c payloads: change coreboot to lowercase 2017-06-07 12:08:55 +02:00
memory.c libpayload: Clean up unaligned memset() support 2017-07-26 19:34:02 +00:00
printf.c
qsort.c
rand.c
readline.c
string.c
strlcpy.c
sysinfo.c
time.c libpayload: add time() 2017-08-21 16:53:20 +00:00