Re: [edk2-devel] [PATCH 1/1] ArmPkg: Add SMC helper functions

2021-10-22 Thread Rebecca Cran
On 10/22/21 9:08 AM, Ard Biesheuvel wrote: On Tue, 19 Oct 2021 at 22:35, Rebecca Cran wrote: Add functions ArmCallSmc0/1/2/3 to do SMC calls with 0, 1, 2 or 3 arguments. The functions return up to 3 values. This is a lot of code to do something we already do in our code. Care to elaborate wh

Re: [edk2-devel] [PATCH 1/1] ArmPkg: Add SMC helper functions

2021-10-22 Thread Ard Biesheuvel
Hi Rebecca, On Tue, 19 Oct 2021 at 22:35, Rebecca Cran wrote: > > Add functions ArmCallSmc0/1/2/3 to do SMC calls with 0, 1, 2 or 3 > arguments. > The functions return up to 3 values. > This is a lot of code to do something we already do in our code. Care to elaborate what the use case is here?

[edk2-devel] [PATCH 1/1] ArmPkg: Add SMC helper functions

2021-10-19 Thread Rebecca Cran
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 --- ArmPkg/Include/Library/ArmSmcLib.h | 73 ArmPkg/Library/ArmSmcLib/ArmSmc.c| 122 ArmPkg/Libra