From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: zailiang.sun@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Wed, 17 Apr 2019 21:53:44 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2019 21:53:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,364,1549958400"; d="scan'208";a="150346486" Received: from shwdeopenpsi508.ccr.corp.intel.com ([10.239.158.50]) by FMSMGA003.fm.intel.com with ESMTP; 17 Apr 2019 21:53:43 -0700 From: "Sun, Zailiang" To: devel@edk2.groups.io Cc: David Wei , Yi Qian Subject: [PATCH] Vlv2TbltDevicePkg: Remove ResetSystem declaration Date: Thu, 18 Apr 2019 12:53:23 +0800 Message-Id: <20190418045323.2684-1-zailiang.sun@intel.com> X-Mailer: git-send-email 2.19.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use MdeModulePkg declaration of ResetSystem function, comment the one in platform source code. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zailiang Sun Cc: David Wei Cc: Yi Qian Reviewed-by: Yi Qian --- Vlv2TbltDevicePkg/PlatformPei/Platform.c | 1 - Vlv2TbltDevicePkg/PlatformPei/Platform.h | 12 +++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Vlv2TbltDevicePkg/PlatformPei/Platform.c b/Vlv2TbltDevicePkg/PlatformPei/Platform.c index cf47a56a52..eba1dfff30 100644 --- a/Vlv2TbltDevicePkg/PlatformPei/Platform.c +++ b/Vlv2TbltDevicePkg/PlatformPei/Platform.c @@ -18,7 +18,6 @@ Module Name: #include "PlatformBaseAddresses.h" #include "PchAccess.h" #include -#include "Platform.h" #include "PchCommonDefinitions.h" #include #include diff --git a/Vlv2TbltDevicePkg/PlatformPei/Platform.h b/Vlv2TbltDevicePkg/PlatformPei/Platform.h index 4158dd4cf5..e1817b28c6 100644 --- a/Vlv2TbltDevicePkg/PlatformPei/Platform.h +++ b/Vlv2TbltDevicePkg/PlatformPei/Platform.h @@ -47,16 +47,18 @@ UpdateBootMode ( /** This function reset the entire platform, including all processor and devices, and reboots the system. + + Declaration of this function goes to MdeModulePkg/Include/Library/ResetSystemLib.h @param PeiServices General purpose services available to every PEIM. @retval EFI_SUCCESS if it completed successfully. **/ -EFI_STATUS -EFIAPI -ResetSystem ( - IN CONST EFI_PEI_SERVICES **PeiServices - ); +// EFI_STATUS +// EFIAPI +// ResetSystem ( + // IN CONST EFI_PEI_SERVICES **PeiServices + // ); /** This function will be called when MRC is done. -- 2.19.1.windows.1