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 "Platform.h" #include "Platform.h"
#include <Library/PciCf8Lib.h> #include <Library/PciCf8Lib.h>
#include "PlatformBaseAddresses.h" #include "PlatformBaseAddresses.h"
#include "PchAccess.h"
#include "PchAccess.h" #include "PchAccess.h"
#include <Guid/PlatformInfo.h> #include <Guid/PlatformInfo.h>
#include "PchCommonDefinitions.h" #include "PchCommonDefinitions.h"

View File

@@ -47,16 +47,18 @@ UpdateBootMode (
#endif #endif
/** /**
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 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
// ); // );