Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
765cac8d
"vscode:/vscode.git/clone" did not exist on "2d74c1bf2beaef4bd6ee6b9448d170450c45b172"
Commit
765cac8d
authored
Mar 12, 2020
by
Soby Mathew
Committed by
TrustedFirmware Code Review
Mar 12, 2020
Browse files
Merge "locks: bakery: add a DMB to the 'read_cache_op' macro" into integration
parents
ec2f82ec
d439cea9
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/locks/bakery/bakery_lock_normal.c
View file @
765cac8d
/*
/*
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
...
@@ -77,6 +78,8 @@ static inline void read_cache_op(uintptr_t addr, bool cached)
...
@@ -77,6 +78,8 @@ static inline void read_cache_op(uintptr_t addr, bool cached)
{
{
if
(
cached
)
if
(
cached
)
dccivac
(
addr
);
dccivac
(
addr
);
dmbish
();
}
}
/* Helper function to check if the lock is acquired */
/* Helper function to check if the lock is acquired */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment