1 ;------------------------------------------------------------------------------
3 ; SpeculationBarrier() for AArch64
5 ; Copyright (c) 2019, Linaro Ltd. All rights reserved.
7 ; SPDX-License-Identifier: BSD-2-Clause-Patent
9 ;------------------------------------------------------------------------------
11 EXPORT SpeculationBarrier
12 AREA BaseLib_LowLevel, CODE, READONLY
15 ; Uses as a barrier to stop speculative execution.
17 ; Ensures that no later instruction will execute speculatively, until all prior
18 ; instructions have completed.