mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/RuntimeResetSystemLib: Make global static
Makes the `mInternalRT` global static in this library instance to avoid conflicting with other code such as a global variable with the same name in MdePkg/Library/UefiRuntimeLib. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
parent
5c86b0b57c
commit
f122c6f639
|
@ -12,8 +12,8 @@
|
|||
#include <Library/UefiBootServicesTableLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
|
||||
EFI_EVENT mRuntimeResetSystemLibVirtualAddressChangeEvent;
|
||||
EFI_RUNTIME_SERVICES *mInternalRT;
|
||||
EFI_EVENT mRuntimeResetSystemLibVirtualAddressChangeEvent;
|
||||
static EFI_RUNTIME_SERVICES *mInternalRT;
|
||||
|
||||
/**
|
||||
This function causes a system-wide reset (cold reset), in which
|
||||
|
|
Loading…
Reference in New Issue