From 25402f5d0660acde3ee382a36b065945251990dc Mon Sep 17 00:00:00 2001 From: Harry Liebel Date: Thu, 18 Jul 2013 18:07:46 +0000 Subject: ArmPkg: Added Aarch64 support Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel Signed-off-by: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14486 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Library/ArmSmcLibNull/AArch64/ArmSmcNull.S | 32 +++++++++++++++++++++++ ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf | 3 +++ 2 files changed, 35 insertions(+) create mode 100644 ArmPkg/Library/ArmSmcLibNull/AArch64/ArmSmcNull.S (limited to 'ArmPkg/Library/ArmSmcLibNull') diff --git a/ArmPkg/Library/ArmSmcLibNull/AArch64/ArmSmcNull.S b/ArmPkg/Library/ArmSmcLibNull/AArch64/ArmSmcNull.S new file mode 100644 index 0000000000..ec6e067ac3 --- /dev/null +++ b/ArmPkg/Library/ArmSmcLibNull/AArch64/ArmSmcNull.S @@ -0,0 +1,32 @@ +// +// Copyright (c) 2012-2013, ARM Limited. All rights reserved. +// +// This program and the accompanying materials +// are licensed and made available under the terms and conditions of the BSD License +// which accompanies this distribution. The full text of the license may be found at +// http://opensource.org/licenses/bsd-license.php +// +// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +// +// + +.text +.align 3 + +GCC_ASM_EXPORT(ArmCallSmc) +GCC_ASM_EXPORT(ArmCallSmcArg1) +GCC_ASM_EXPORT(ArmCallSmcArg2) +GCC_ASM_EXPORT(ArmCallSmcArg3) + +ASM_PFX(ArmCallSmc): + ret + +ASM_PFX(ArmCallSmcArg1): + ret + +ASM_PFX(ArmCallSmcArg2): + ret + +ASM_PFX(ArmCallSmcArg3): + ret diff --git a/ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf b/ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf index fed6e95ddf..51006e78bb 100644 --- a/ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf +++ b/ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf @@ -26,6 +26,9 @@ Arm/ArmSmcNull.asm | RVCT Arm/ArmSmcNull.S | GCC +[Sources.AARCH64] + AArch64/ArmSmcNull.S | GCC + [Packages] MdePkg/MdePkg.dec ArmPkg/ArmPkg.dec -- cgit v1.2.3