IntelFsp2WrapperPkg/FspWrapperNotifyDxe: make global variable static
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1740 Add a 'static' storage-class specifier to the global variables that only used in a single file to minimize the name collisions. This is only for the variable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek <lersek@redhat.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
2410ac0230
commit
9ed8c3a806
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
This driver will register two callbacks to call fsp's notifies.
|
This driver will register two callbacks to call fsp's notifies.
|
||||||
|
|
||||||
Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
@ -39,7 +39,7 @@ extern EFI_GUID gAddPerfRecordProtocolGuid;
|
||||||
extern EFI_GUID gFspHobGuid;
|
extern EFI_GUID gFspHobGuid;
|
||||||
extern EFI_GUID gFspApiPerformanceGuid;
|
extern EFI_GUID gFspApiPerformanceGuid;
|
||||||
|
|
||||||
EFI_EVENT mExitBootServicesEvent = NULL;
|
static EFI_EVENT mExitBootServicesEvent = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Relocate this image under 4G memory.
|
Relocate this image under 4G memory.
|
||||||
|
|
Loading…
Reference in New Issue