public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Rebecca Cran" <rebecca@nuviainc.com>
To: devel@edk2.groups.io, Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Gerd Hoffmann <kraxel@redhat.com>,
	Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>,
	Leif Lindholm <leif@nuviainc.com>, nd <nd@arm.com>,
	Sami Mujawar <sami.mujawar@arm.com>
Cc: Rebecca Cran <rebecca@nuviainc.com>
Subject: [PATCH v3 0/2] ArmPkg: Add SMC helper functions
Date: Mon, 13 Dec 2021 11:30:54 -0700	[thread overview]
Message-ID: <20211213183056.31444-1-rebecca@nuviainc.com> (raw)

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

 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


             reply	other threads:[~2021-12-13 18:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-13 18:30 Rebecca Cran [this message]
2021-12-13 18:30 ` [PATCH v3 1/2] ArmPkg: Add SMC helper functions Rebecca Cran
2021-12-13 18:30 ` [PATCH v3 2/2] ArmPkg: Update SMC calls to use the new ArmCallSmc0/1/2/3 functions Rebecca Cran
2021-12-14 11:31 ` [PATCH v3 0/2] ArmPkg: Add SMC helper functions Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211213183056.31444-1-rebecca@nuviainc.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox