2 // Copyright (c) 2012-2014, ARM Limited. All rights reserved.
3 // Copyright (c) 2014-2016, Linaro Limited. All rights reserved.
5 // SPDX-License-Identifier: BSD-2-Clause-Patent
9 #include <AsmMacroIoLibV8.h>
12 // Push x0 on the stack - The stack must always be quad-word aligned
15 // Load the HVC arguments values into the appropriate registers
23 // Pop the ARM_HVC_ARGS structure address from the stack into x9
26 // Store the HVC returned values into the ARM_HVC_ARGS structure.
27 // A HVC call can return up to 4 values