mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 00:54:06 +02:00
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/UefiBootServicesTableLib.h>
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
|
|
||||||
EFI_EVENT mRuntimeResetSystemLibVirtualAddressChangeEvent;
|
EFI_EVENT mRuntimeResetSystemLibVirtualAddressChangeEvent;
|
||||||
EFI_RUNTIME_SERVICES *mInternalRT;
|
static EFI_RUNTIME_SERVICES *mInternalRT;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This function causes a system-wide reset (cold reset), in which
|
This function causes a system-wide reset (cold reset), in which
|
||||||
|
Loading…
x
Reference in New Issue
Block a user