2 // Copyright (c) 2012-2013, ARM Limited. All rights reserved.
4 // This program and the accompanying materials
5 // are licensed and made available under the terms and conditions of the BSD License
6 // which accompanies this distribution. The full text of the license may be found at
7 // http://opensource.org/licenses/bsd-license.php
9 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 GCC_ASM_EXPORT(ArmCallSmc)
18 GCC_ASM_EXPORT(ArmCallSmcArg1)
19 GCC_ASM_EXPORT(ArmCallSmcArg2)
20 GCC_ASM_EXPORT(ArmCallSmcArg3)
31 ASM_PFX(ArmCallSmcArg1):
32 stp x2, x3, [sp, #-0x10]!
40 ldp x2, x3, [sp], #0x10
43 ASM_PFX(ArmCallSmcArg2):
44 stp x3, x4, [sp, #-0x10]!
57 ldp x3, x4, [sp], #0x10
60 ASM_PFX(ArmCallSmcArg3):
61 stp x4, x5, [sp, #-0x10]!
62 stp x6, x7, [sp, #-0x10]!
76 ldp x4, x5, [sp], #0x10
77 ldp x6, x7, [sp], #0x10