diff options
author | Rebecca Cran <rebecca@nuviainc.com> | 2021-12-13 11:30:55 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-14 11:30:26 +0000 |
commit | 4d303524451d87d411c972736015138a8a4f03f6 (patch) | |
tree | a266cd1f4a9ba9361734d9c7be3a604464e0896c /ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf | |
parent | 7a6e6ae9332614d386446d2a73e34b74fe66446f (diff) | |
download | edk2-4d303524451d87d411c972736015138a8a4f03f6.zip edk2-4d303524451d87d411c972736015138a8a4f03f6.tar.gz edk2-4d303524451d87d411c972736015138a8a4f03f6.tar.bz2 |
ArmPkg: Add SMC helper functions
Add functions ArmCallSmc0/1/2/3 to do SMC calls with 0, 1, 2 or 3
arguments.
The functions return up to 3 values.
Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf')
-rw-r--r-- | ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf b/ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf index 4f4b09f..a89f920 100644 --- a/ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf +++ b/ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf @@ -20,6 +20,9 @@ [Sources.AARCH64]
AArch64/ArmSmc.S
+[Sources]
+ ArmSmc.c
+
[Packages]
MdePkg/MdePkg.dec
ArmPkg/ArmPkg.dec
|