diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-10 14:09:56 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-11 12:29:31 +0200 |
commit | 5e32710023e2af6bf86aa946cafa3e0cfed16bbe (patch) | |
tree | 0b4c26dd90c7128dae703cfa63dc280c7f702816 /ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.c | |
parent | dfc2838892e4a69781b06353ef494ba3ddf16488 (diff) | |
download | edk2-5e32710023e2af6bf86aa946cafa3e0cfed16bbe.zip edk2-5e32710023e2af6bf86aa946cafa3e0cfed16bbe.tar.gz edk2-5e32710023e2af6bf86aa946cafa3e0cfed16bbe.tar.bz2 |
ArmPkg/ArmSmcLibNull: move to generic C implementation
The C language is powerful enough to implement a function that does
absolutely nothing, so there is no need to resort to implementations
in assembler for various toolchains/architectures.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.c')
-rw-r--r-- | ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.c b/ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.c new file mode 100644 index 0000000..e5d4e51 --- /dev/null +++ b/ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.c @@ -0,0 +1,22 @@ +// +// Copyright (c) 2016, Linaro 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. +// +// + +#include <Base.h> +#include <Library/ArmSmcLib.h> + +VOID +ArmCallSmc ( + IN OUT ARM_SMC_ARGS *Args + ) +{ +} |