summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiDebugLibDebugPortProtocol
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2024-07-02 12:10:55 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-16 23:17:04 +0000
commit55b043732d20305c769c6243e0a9a6e1f5ae879d (patch)
tree9a674f9c8d0da14a166a1b1b1f1b1620ee10b509 /MdePkg/Library/UefiDebugLibDebugPortProtocol
parent690f13fcb4a7b74b30091c7067a18bb7971982d8 (diff)
downloadedk2-55b043732d20305c769c6243e0a9a6e1f5ae879d.tar.gz
edk2-55b043732d20305c769c6243e0a9a6e1f5ae879d.tar.bz2
edk2-55b043732d20305c769c6243e0a9a6e1f5ae879d.zip
MdePkg/UefiDebugLibDebugPortProtocol: ExitBootServicesCallback() static
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3083 Since this is a library, make the function ExitBootServicesCallback() STATIC to prevent the likelihood that it collides with other symbols. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to 'MdePkg/Library/UefiDebugLibDebugPortProtocol')
-rw-r--r--MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c
index 298d17c6a0..7ddecd0b62 100644
--- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c
+++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c
@@ -34,9 +34,10 @@ EFI_BOOT_SERVICES *mDebugBS;
@param Context Pointer to the notification function's context.
**/
+static
VOID
EFIAPI
-ExitBootServicesCallback (
+UefiDebugLibDebugPortProtocolExitBootServicesCallback (
EFI_EVENT Event,
VOID *Context
)
@@ -67,7 +68,7 @@ DxeDebugLibConstructor (
mDebugBS->CreateEvent (
EVT_SIGNAL_EXIT_BOOT_SERVICES,
TPL_NOTIFY,
- ExitBootServicesCallback,
+ UefiDebugLibDebugPortProtocolExitBootServicesCallback,
NULL,
&mExitBootServicesEvent
);