QuarkPlatformPkg/PlatformInit: Resolve ResetSystemLib name collision

Change function name from ResetSystem() to PlatformResetSystem()
to resolve name collision with ResetSystemLib.

Cc: Kelly Steele <kelly.steele@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Kelly Steele <kelly.steele@intel.com>
This commit is contained in:
Michael D Kinney 2019-04-24 14:15:32 -07:00
parent 0edaa8c162
commit 80d28ddeb2
2 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ following action is performed in this file,
4. Set MTRR for PEI 4. Set MTRR for PEI
5. Create FV HOB and Flash HOB 5. Create FV HOB and Flash HOB
Copyright (c) 2013 - 2016, Intel Corporation. Copyright (c) 2013 - 2019, Intel Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
@ -20,7 +20,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
extern EFI_PEI_PPI_DESCRIPTOR mPpiStall[]; extern EFI_PEI_PPI_DESCRIPTOR mPpiStall[];
EFI_PEI_RESET_PPI mResetPpi = { ResetSystem }; EFI_PEI_RESET_PPI mResetPpi = { PlatformResetSystem };
EFI_PEI_PPI_DESCRIPTOR mPpiList[1] = { EFI_PEI_PPI_DESCRIPTOR mPpiList[1] = {
{ {
@ -40,7 +40,7 @@ EFI_PEI_PPI_DESCRIPTOR mPpiList[1] = {
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
ResetSystem ( PlatformResetSystem (
IN CONST EFI_PEI_SERVICES **PeiServices IN CONST EFI_PEI_SERVICES **PeiServices
) )
{ {

View File

@ -1,7 +1,7 @@
/** @file /** @file
The header file of Platform PEIM. The header file of Platform PEIM.
Copyright (c) 2013 Intel Corporation. Copyright (c) 2013 - 2019 Intel Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
@ -59,7 +59,7 @@ UpdateBootMode (
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
ResetSystem ( PlatformResetSystem (
IN CONST EFI_PEI_SERVICES **PeiServices IN CONST EFI_PEI_SERVICES **PeiServices
); );