[edk2-devel] [PATCH v3 0/2] ArmPkg: Add SMC helper functions

Ard Biesheuvel ardb at kernel.org
Tue Dec 14 11:31:14 UTC 2021


On Mon, 13 Dec 2021 at 19:31, Rebecca Cran <rebecca at nuviainc.com> wrote:
>
> To reduce the amount of template code, introduce SMC helper
> functions. Update ArmSmcPsciResetSystemLib and Universal/Smbios to use
> them.
>
> Changes from v2 to v3:
>
> o Fixed code style issues with Uncrustify.
> o Fixed patch 2/2 subject.
> o Added OPTIONAL tag to functions.
> o Added ZeroMem call to initialize Args.
>
> GitHub Test PR: https://github.com/tianocore/edk2/pull/2300
>
> Rebecca Cran (2):
>   ArmPkg: Add SMC helper functions
>   ArmPkg: Update SMC calls to use the new ArmCallSmc0/1/2/3 functions
>

Merged as #2303

Thanks,

>  ArmPkg/Include/Library/ArmSmcLib.h                                      |  73 +++++++++++
>  ArmPkg/Library/ArmSmcLib/ArmSmc.c                                       | 129 ++++++++++++++++++++
>  ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf                                  |   3 +
>  ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.c                            |  85 +++++++++++++
>  ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c      |  10 +-
>  ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c |  40 +++---
>  6 files changed, 308 insertions(+), 32 deletions(-)
>  create mode 100644 ArmPkg/Library/ArmSmcLib/ArmSmc.c
>
> --
> 2.31.1
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84799): https://edk2.groups.io/g/devel/message/84799
Mute This Topic: https://groups.io/mt/87704308/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list