arm-trusted-firmware/lib
Jeenu Viswambharan 82a0aca053 Rework bakery lock with WFE/SEV sequence
Current implementation of Bakery Lock does tight-loop waiting upon lock
contention.

This commit reworks the implementation to use WFE instruction for
waiting, and SEV to signal lock availability. It also adds the rationale
for choosing Bakery Locks instead of exclusion primitives, and more
comments for the lock algorithm.

Fixes ARM-software/tf-issue#67

Change-Id: Ie351d3dbb27ec8e64dbc9507c84af07bd385a7df
Co-authored-by: Vikram Kanigiri <vikram.kanigiri@arm.com>
2014-03-20 11:16:23 +00:00
..
arch/aarch64 Add generic functions for setting up aarch64 MMU translation tables 2014-03-05 16:21:14 +00:00
semihosting Fix semihosting with latest toolchain 2014-02-20 19:06:34 +00:00
stdlib Add IO abstraction framework 2014-02-17 18:51:43 +00:00
sync/locks Rework bakery lock with WFE/SEV sequence 2014-03-20 11:16:23 +00:00
io_storage.c Add IO abstraction framework 2014-02-17 18:51:43 +00:00
mmio.c Probe for GICv3 re-distributors on core bring-up 2014-01-17 10:27:53 +00:00