summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-07-12 13:49:59 -0600
committerRaul Rangel <rrangel@chromium.org>2021-07-18 15:14:10 +0000
commitb29f9d471bade1cf6d5e0994af7ccf722ac65ef0 (patch)
treedf879543eaefe97ac9baa040f178879f7381ca4c /src/soc/amd/common
parenta98d302fe9dcce13a1c60b4bdfaf2e713fd11b51 (diff)
lib/thread: Add mutex
We need a way to protect shared resources. Since we are using cooperative multitasking the mutex implementation is pretty trivial. BUG=b:179699789 TEST=Verify thread lock and unlock. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Ife1ac95ec064ebcdd00fcaacec37a06ac52885ff Reviewed-on: https://review.coreboot.org/c/coreboot/+/56230 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>
Diffstat (limited to 'src/soc/amd/common')
0 files changed, 0 insertions, 0 deletions