coreboot/src/lib
Duncan Laurie 1572cc2913 UPSTREAM: tpm2: Fix tlcl and marshaling code for CAR usage
Fix a few more instances of global variable usage in the tlcl
and marshaling code for tpm2.

For the tlcl case this buffer doesn't need to be static as it
isn't used after this function exits.

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/16393
Tested-by: build bot (Jenkins)
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@googlemail.com>

Change-Id: Ia739c81d79c6cee9046ae96061045fe4f7fb7c23
Reviewed-on: https://chromium-review.googlesource.com/382073
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-07 21:31:36 -07:00
..
b64_decode.c
boot_device.c UPSTREAM: lib/boot_device: add RW boot device construct 2016-08-19 14:20:23 -07:00
bootblock.c UPSTREAM: lib: Add asmlinkage attribute to bootblock_main_with_timestamp 2016-06-10 00:17:50 -07:00
bootmem.c lib/bootmem: allow architecture specific bootmem ranges 2016-04-21 20:46:45 +02:00
bootmode.c UPSTREAM: bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 22:56:28 -07:00
cbfs.c UPSTREAM: cbfs: Add "struct" file type and associated helpers 2016-09-01 22:56:18 -07:00
cbmem_common.c
cbmem_console.c UPSTREAM: src/lib: Capitalize ROM, RAM, NVRAM and CPU 2016-08-04 23:38:04 -07:00
cbmem_stage_cache.c
compute_ip_checksum.c
coreboot_table.c UPSTREAM: drivers/spi: ensure SPI flash is boot device for coreboot tables 2016-08-21 12:04:51 -07:00
debug.c
delay.c
edid.c edid: Make framebuffer row alignment configurable 2016-04-07 20:46:38 +02:00
ext_stage_cache.c
fallback_boot.c
fmap.c UPSTREAM: lib/fmap: provide RW region device support 2016-08-22 00:11:45 -07:00
gcc.c
gcov-glue.c
gcov-io.c
gcov-io.h
gcov-iov.h
generic_dump_spd.c
generic_sdram.c
gpio.c UPSTREAM: lib/gpio: add pullup & pulldown gpio_base2_value() variants 2016-07-07 19:29:24 -07:00
halt.c
hardwaremain.c UPSTREAM: lib/hardwaremain: Add \n to Boot failed message 2016-06-01 20:36:59 -07:00
hexdump.c
hexstrtobin.c UPSTREAM: hexstrtobin: Add a library function to decode ASCII hex into binary 2016-05-26 03:21:43 -07:00
imd.c
imd_cbmem.c UPSTREAM: cbmem: Always maintain backing store struct in a global on non-x86 2016-09-02 04:23:03 -07:00
jpeg.c
jpeg.h
libgcc.c
libgcov.c
lzma.c UPSTREAM: lib: remove ulzma() 2016-07-07 01:08:55 -07:00
lzmadecode.c lzma: Port size-checking ulzman() version to coreboot 2016-02-12 22:00:55 +01:00
lzmadecode.h
Makefile.inc UPSTREAM: drivers/spi: move cbfs_spi.c location 2016-08-19 14:20:19 -07:00
malloc.c
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c lib/memrange: avoid shadow object declarations 2016-02-26 02:14:56 +01:00
memset.c
mocked_tlcl.c
nhlt.c UPSTREAM: lib/nhlt: add helper functions for adding endpoints 2016-06-30 23:10:34 -07:00
primitive_memtest.c
prog_loaders.c UPSTREAM: region: Add writeat and eraseat support 2016-06-27 17:13:18 -07:00
prog_ops.c lib/prog_loading: introduce prog_segment_loaded() 2016-04-02 03:56:37 +02:00
program.ld program.ld: Don't exclude sbe region from verstage 2016-05-20 22:21:32 +00:00
ramtest.c
reg_script.c lib/reg_script: Fix braces 2016-05-05 19:41:29 +02:00
rmodule.c lib/prog_loading: introduce prog_segment_loaded() 2016-04-02 03:56:37 +02:00
rmodule.ld
romstage_stack.c UPSTREAM: intel post-car: Consolidate choose_top_of_stack() 2016-07-11 21:27:25 -07:00
rtc.c UPSTREAM: lib: Add real-time-clock functions 2016-07-07 01:08:44 -07:00
selfboot.c selfboot: Move the usable-RAM check into a function 2016-09-05 19:26:52 -07:00
stack.c
thread.c UPSTREAM: src/lib: Capitalize ROM, RAM, NVRAM and CPU 2016-08-04 23:38:04 -07:00
timer.c
timer_queue.c
timestamp.c UPSTREAM: memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-24 17:40:09 -07:00
tlcl.c
tlcl_internal.h
tlcl_structures.h
tpm2_marshaling.c UPSTREAM: tpm2: Fix tlcl and marshaling code for CAR usage 2016-09-07 21:31:36 -07:00
tpm2_marshaling.h tpm2: avoid comparison between signed and unsigned ints 2016-07-07 19:30:09 -07:00
tpm2_tlcl.c UPSTREAM: tpm2: Fix tlcl and marshaling code for CAR usage 2016-09-07 21:31:36 -07:00
tpm2_tlcl_structures.h tpm2: implement and use pcr_extend command 2016-07-07 22:14:28 -07:00
tpm_error_messages.h UPSTREAM: Remove non-ascii & unprintable characters 2016-08-05 11:45:20 -07:00
trace.c src/lib/trace.c: Make address size generic 2016-03-10 17:28:26 +01:00
version.c UPSTREAM: lib/version: Correct whitespace alignment 2016-07-15 08:39:33 -07:00
wrdd.c lib: Implement framework for retrieving WiFi regulatory domain 2016-03-08 18:41:33 +01:00