4aec58dce7
If a thread wants to block a state transition it can use thread_run_until. Otherwise just let the thread run. `thread_join` can be used to block on the thread. Boot states are also a ramstage concept. If we want to use this API in any other stage, we need a way of starting a thread without talking about stages. BUG=b:179699789 TEST=verify thread_run no longer blocks the current state Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I3e5b0aed70385ddcd23ffcf7b063f8ccb547fc05 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56351 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
---|---|---|
.. | ||
gnat | ||
asan.c | ||
b64_decode.c | ||
bmp_logo.c | ||
boot_device.c | ||
bootblock.c | ||
bootmem.c | ||
bootmode.c | ||
bootsplash.c | ||
cb.ads | ||
cbfs.c | ||
cbmem_common.c | ||
cbmem_console.c | ||
cbmem_stage_cache.c | ||
compute_ip_checksum.c | ||
coreboot_table.c | ||
crc_byte.c | ||
decompressor.c | ||
delay.c | ||
device_tree.c | ||
dimm_info_util.c | ||
edid.c | ||
edid_fill_fb.c | ||
espi_debug.c | ||
ext_stage_cache.c | ||
fallback_boot.c | ||
fit.c | ||
fit_payload.c | ||
fmap.c | ||
fw_config.c | ||
gcc.c | ||
gcov-glue.c | ||
gcov-io.c | ||
gcov-io.h | ||
gcov-iov.h | ||
gpio.c | ||
halt.c | ||
hardwaremain.c | ||
hexdump.c | ||
hexstrtobin.c | ||
hw-time-timer.adb | ||
imd.c | ||
imd_cbmem.c | ||
jpeg.c | ||
jpeg.h | ||
Kconfig | ||
Kconfig.cbfs_verification | ||
libgcc.c | ||
libgcov.c | ||
list.c | ||
lzma.c | ||
lzmadecode.c | ||
lzmadecode.h | ||
Makefile.inc | ||
malloc.c | ||
memchr.c | ||
memcmp.c | ||
memcpy.c | ||
memmove.c | ||
memrange.c | ||
memset.c | ||
metadata_hash.c | ||
nhlt.c | ||
primitive_memtest.c | ||
prog_loaders.c | ||
prog_ops.c | ||
program.ld | ||
ramdetect.c | ||
ramtest.c | ||
reg_script.c | ||
region_file.c | ||
reset.c | ||
rmodule.c | ||
rmodule.ld | ||
romstage_handoff.c | ||
rtc.c | ||
selfboot.c | ||
spd_bin.c | ||
spd_cache.c | ||
stack.c | ||
string.c | ||
thread.c | ||
timer.c | ||
timer_queue.c | ||
timestamp.c | ||
ubsan.c | ||
uuid.c | ||
version.c | ||
wrdd.c |