public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Marvin Häuser" <Marvin.Haeuser@outlook.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "michael.d.kinney@intel.com" <michael.d.kinney@intel.com>,
	"liming.gao@intel.com" <liming.gao@intel.com>,
	"star.zeng@intel.com" <star.zeng@intel.com>,
	"eric.dong@intel.com" <eric.dong@intel.com>,
	"ruiyu.ni@intel.com" <ruiyu.ni@intel.com>,
	"lersek@redhat.com" <lersek@redhat.com>,
	"kelly.steele@intel.com" <kelly.steele@intel.com>,
	"jordan.l.justen@intel.com" <jordan.l.justen@intel.com>,
	"ard.biesheuvel@linaro.org" <ard.biesheuvel@linaro.org>
Subject: [PATCH 6/8] QuarkSocPkg/SmmControlPei: Update MM PPI usages.
Date: Tue, 24 Jul 2018 01:40:39 +0000	[thread overview]
Message-ID: <VI1PR0801MB17905C5D1F2E9F7CBE3471C180550@VI1PR0801MB1790.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <d625966ce7c0ac98b65f1e946b2cf833f6801706.1532395896.git.Marvin.Haeuser@outlook.com>

Update all references to the SMM PPIs from MdeModulePkg to rather use
MdePkg's MM PPI declarations.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
---
 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c   | 24 ++++++++++----------
 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf |  2 +-
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c b/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c
index 4d19c8f89b0b..98f83d2ce82b 100644
--- a/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c
+++ b/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.c
@@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 
 #include <PiPei.h>
 
-#include <Ppi/SmmControl.h>
+#include <Ppi/MmControl.h>
 
 #include <Library/DebugLib.h>
 #include <Library/HobLib.h>
@@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 
   @param  PeiServices         Describes the list of possible PEI Services.
   @param  This                A pointer to an instance of
-                              EFI_SMM_CONTROL_PPI
+                              EFI_PEI_MM_CONTROL_PPI
   @param  ArgumentBuffer      The argument buffer
   @param  ArgumentBufferSize  The size of the argument buffer
   @param  Periodic            TRUE to indicate a periodical SMI
@@ -48,7 +48,7 @@ EFI_STATUS
 EFIAPI
 PeiActivate (
   IN      EFI_PEI_SERVICES           **PeiServices,
-  IN      PEI_SMM_CONTROL_PPI        *This,
+  IN      EFI_PEI_MM_CONTROL_PPI     *This,
   IN OUT  INT8                       *ArgumentBuffer OPTIONAL,
   IN OUT  UINTN                      *ArgumentBufferSize OPTIONAL,
   IN      BOOLEAN                    Periodic OPTIONAL,
@@ -59,7 +59,7 @@ PeiActivate (
   Clears an SMI.
 
   @param  PeiServices         Describes the list of possible PEI Services.
-  @param  This                Pointer to an instance of EFI_SMM_CONTROL_PPI
+  @param  This                Pointer to an instance of EFI_PEI_MM_CONTROL_PPI
   @param  Periodic            TRUE to indicate a periodical SMI
 
   @return Return value from SmmClear()
@@ -69,18 +69,18 @@ EFI_STATUS
 EFIAPI
 PeiDeactivate (
   IN  EFI_PEI_SERVICES            **PeiServices,
-  IN  PEI_SMM_CONTROL_PPI         *This,
+  IN  EFI_PEI_MM_CONTROL_PPI      *This,
   IN  BOOLEAN                     Periodic OPTIONAL
   );
 
-PEI_SMM_CONTROL_PPI      mSmmControlPpi = {
+EFI_PEI_MM_CONTROL_PPI      mSmmControlPpi = {
   PeiActivate,
   PeiDeactivate
 };
 
 EFI_PEI_PPI_DESCRIPTOR   mPpiList = {
   (EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
-  &gPeiSmmControlPpiGuid,
+  &gEfiPeiMmControlPpiGuid,
   &mSmmControlPpi
 };
 
@@ -177,7 +177,7 @@ Returns:
 
   @param  PeiServices         Describes the list of possible PEI Services.
   @param  This                A pointer to an instance of
-                              EFI_SMM_CONTROL_PPI
+                              EFI_PEI_MM_CONTROL_PPI
   @param  ArgumentBuffer      The argument buffer
   @param  ArgumentBufferSize  The size of the argument buffer
   @param  Periodic            TRUE to indicate a periodical SMI
@@ -191,7 +191,7 @@ EFI_STATUS
 EFIAPI
 PeiActivate (
   IN      EFI_PEI_SERVICES           **PeiServices,
-  IN      PEI_SMM_CONTROL_PPI        *This,
+  IN      EFI_PEI_MM_CONTROL_PPI     *This,
   IN OUT  INT8                       *ArgumentBuffer OPTIONAL,
   IN OUT  UINTN                      *ArgumentBufferSize OPTIONAL,
   IN      BOOLEAN                    Periodic OPTIONAL,
@@ -232,7 +232,7 @@ PeiActivate (
   Clears an SMI.
 
   @param  PeiServices         Describes the list of possible PEI Services.
-  @param  This                Pointer to an instance of EFI_SMM_CONTROL_PPI
+  @param  This                Pointer to an instance of EFI_PEI_MM_CONTROL_PPI
   @param  Periodic            TRUE to indicate a periodical SMI
 
   @return Return value from SmmClear()
@@ -242,7 +242,7 @@ EFI_STATUS
 EFIAPI
 PeiDeactivate (
   IN  EFI_PEI_SERVICES            **PeiServices,
-  IN  PEI_SMM_CONTROL_PPI         *This,
+  IN  EFI_PEI_MM_CONTROL_PPI      *This,
   IN  BOOLEAN                     Periodic OPTIONAL
   )
 {
@@ -255,7 +255,7 @@ PeiDeactivate (
 /**
   This is the constructor for the SMM Control Ppi.
 
-  This function installs EFI_SMM_CONTROL_PPI.
+  This function installs EFI_PEI_MM_CONTROL_PPI.
 
   @param   FileHandle       Handle of the file being invoked.
   @param   PeiServices      Describes the list of possible PEI Services.
diff --git a/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf b/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf
index 6b1dd1bcfd1c..0a98e5739416 100644
--- a/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf
+++ b/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf
@@ -46,7 +46,7 @@ [LibraryClasses]
   QNCAccessLib
 
 [Ppis]
-  gPeiSmmControlPpiGuid                        # ALWAYS_PRODUCED
+  gEfiPeiMmControlPpiGuid                      # ALWAYS_PRODUCED
 
 [Pcd]
   gEfiQuarkNcSocIdTokenSpaceGuid.PcdPm1blkIoBaseAddress
-- 
2.18.0.windows.1



  parent reply	other threads:[~2018-07-24  1:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d625966ce7c0ac98b65f1e946b2cf833f6801706.1532395896.git.Marvin.Haeuser@outlook.com>
2018-07-24  1:40 ` [PATCH 2/8] MdeModulePkg/SmmLockBoxPeiLib: Update MM PPI usages Marvin Häuser
2018-07-24  1:40 ` [PATCH 3/8] UefiCpuPkg/PiSmmCommunicationPei: " Marvin Häuser
2018-07-24  1:40 ` [PATCH 4/8] UefiCpuPkg/S3Resume2Pei: " Marvin Häuser
2018-07-24  1:40 ` [PATCH 5/8] QuarkSocPkg/SmmAccessPei: " Marvin Häuser
2018-07-24  1:40 ` Marvin Häuser [this message]
2018-07-24  1:40 ` [PATCH 7/8] OvmfPkg/SmmAccessPei: " Marvin Häuser
2018-07-24  9:20   ` Laszlo Ersek
2018-07-24 12:16     ` Marvin Häuser
2018-07-24 12:39       ` Laszlo Ersek
2018-07-24  1:40 ` [PATCH 8/8] MdeModulePkg: Deprecate Smm* PPIs Marvin Häuser
2018-07-24  6:38   ` Gao, Liming
2018-07-24 10:04     ` Zeng, Star
2018-07-24 10:28     ` Laszlo Ersek

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=VI1PR0801MB17905C5D1F2E9F7CBE3471C180550@VI1PR0801MB1790.eurprd08.prod.outlook.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