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:
Michael Kubacki 2024-07-02 19:20:38 -04:00 committed by mergify[bot]
parent 5c86b0b57c
commit f122c6f639
1 changed files with 2 additions and 2 deletions

View File

@ -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