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

Rebecca Cran posted 2 patches 2 years, 4 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
ArmPkg/Include/Library/ArmSmcLib.h                                      |  73 ++++++++++++
ArmPkg/Library/ArmSmcLib/ArmSmc.c                                       | 122 ++++++++++++++++++++
ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf                                  |   3 +
ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.c                            |  85 ++++++++++++++
ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c      |  10 +-
ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c |  31 ++---
6 files changed, 297 insertions(+), 27 deletions(-)
create mode 100644 ArmPkg/Library/ArmSmcLib/ArmSmc.c
[edk2-devel] [PATCH v2 0/2] ArmPkg: Add SMC helper functions
Posted by Rebecca Cran 2 years, 4 months ago
To reduce the amount of template code, introduce SMC helper
functions. Update ArmSmcPsciResetSystemLib and Universal/Smbios to use
them.

Changes from v1 to v2:

Added a patch to update code to use the new functions.

Rebecca Cran (2):
  ArmPkg: Add SMC helper functions
  ArmPkg: Update SMC calls to use the new ArmCallSmc1/2/3/4 functions

 ArmPkg/Include/Library/ArmSmcLib.h                                      |  73 ++++++++++++
 ArmPkg/Library/ArmSmcLib/ArmSmc.c                                       | 122 ++++++++++++++++++++
 ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf                                  |   3 +
 ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.c                            |  85 ++++++++++++++
 ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c      |  10 +-
 ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c |  31 ++---
 6 files changed, 297 insertions(+), 27 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 (#83062): https://edk2.groups.io/g/devel/message/83062
Mute This Topic: https://groups.io/mt/86753693/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-