public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ArmPkg: Add SMC helper functions
@ 2021-11-01 22:11 Rebecca Cran
  2021-11-01 22:11 ` [PATCH v2 1/2] " Rebecca Cran
  2021-11-01 22:11 ` [PATCH v2 2/2] ArmPkg: Update SMC calls to use the new ArmCallSmc1/2/3/4 functions Rebecca Cran
  0 siblings, 2 replies; 11+ messages in thread
From: Rebecca Cran @ 2021-11-01 22:11 UTC (permalink / raw)
  To: devel, Sami Mujawar, Ard Biesheuvel, Gerd Hoffmann,
	Samer El-Haj-Mahmoud, Leif Lindholm
  Cc: Rebecca Cran

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-12-13 12:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-01 22:11 [PATCH v2 0/2] ArmPkg: Add SMC helper functions Rebecca Cran
2021-11-01 22:11 ` [PATCH v2 1/2] " Rebecca Cran
2021-11-09  1:56   ` Rebecca Cran
2021-11-09 11:57     ` Leif Lindholm
2021-11-09 12:15       ` Ard Biesheuvel
2021-12-09 22:54         ` Rebecca Cran
2021-12-13 11:49           ` Ard Biesheuvel
2021-12-13 12:26             ` Sami Mujawar
2021-12-13 12:31   ` Sami Mujawar
2021-11-01 22:11 ` [PATCH v2 2/2] ArmPkg: Update SMC calls to use the new ArmCallSmc1/2/3/4 functions Rebecca Cran
2021-12-13 12:26   ` Sami Mujawar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox