//\r
-// Copyright (c) 2016 - 2017, ARM Limited. All rights reserved.\r
+// Copyright (c) 2016 - 2020, ARM Limited. All rights reserved.\r
//\r
// SPDX-License-Identifier: BSD-2-Clause-Patent\r
//\r
ldm r0, {r0-r7}\r
\r
svc #0\r
+ // Prevent speculative execution beyond svc instruction\r
+ dsb nsh\r
+ isb\r
\r
// Load the ARM_SVC_ARGS structure address from the stack into r8\r
ldr r8, [sp]\r