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>
This commit is contained in:
Rebecca Cran
2021-12-13 11:30:55 -07:00
committed by mergify[bot]
parent 7a6e6ae933
commit 4d30352445
4 changed files with 290 additions and 0 deletions

View File

@@ -20,6 +20,9 @@
[Sources.AARCH64]
AArch64/ArmSmc.S
[Sources]
ArmSmc.c
[Packages]
MdePkg/MdePkg.dec
ArmPkg/ArmPkg.dec