Vlv2TbltDevicePkg: Remove ResetSystem declaration

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 <zailiang.sun@intel.com>
Cc: David Wei <david.wei@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Reviewed-by: Yi Qian <yi.qian@intel.com>
This commit is contained in:
Zailiang Sun 2019-04-17 17:20:09 +08:00 committed by zwei4
parent d430568887
commit 2980988575
2 changed files with 7 additions and 6 deletions

View File

@ -18,7 +18,6 @@ Module Name:
#include "PlatformBaseAddresses.h" #include "PlatformBaseAddresses.h"
#include "PchAccess.h" #include "PchAccess.h"
#include <Guid/PlatformInfo.h> #include <Guid/PlatformInfo.h>
#include "Platform.h"
#include "PchCommonDefinitions.h" #include "PchCommonDefinitions.h"
#include <Ppi/MfgMemoryTest.h> #include <Ppi/MfgMemoryTest.h>
#include <Guid/SetupVariable.h> #include <Guid/SetupVariable.h>

View File

@ -48,15 +48,17 @@ UpdateBootMode (
This function reset the entire platform, including all processor and devices, and This function reset the entire platform, including all processor and devices, and
reboots the system. reboots the system.
Declaration of this function goes to MdeModulePkg/Include/Library/ResetSystemLib.h
@param PeiServices General purpose services available to every PEIM. @param PeiServices General purpose services available to every PEIM.
@retval EFI_SUCCESS if it completed successfully. @retval EFI_SUCCESS if it completed successfully.
**/ **/
EFI_STATUS // EFI_STATUS
EFIAPI // EFIAPI
ResetSystem ( // ResetSystem (
IN CONST EFI_PEI_SERVICES **PeiServices // IN CONST EFI_PEI_SERVICES **PeiServices
); // );
/** /**
This function will be called when MRC is done. This function will be called when MRC is done.