summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/DebugSupportDxe
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/DebugSupportDxe')
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c b/MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c
index 5402e04041..b4b078cb57 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c
+++ b/MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c
@@ -145,7 +145,7 @@ PlInitializeDebugSupportDriver (
VOID
)
{
- SetMem (IvtEntryTable, sizeof (IvtEntryTable), 0);
+ ZeroMem (IvtEntryTable, sizeof (IvtEntryTable));
ExternalInterruptCount = 0;
return EFI_SUCCESS;
}
@@ -307,7 +307,7 @@ ManageIvtEntryTable (
//
// re-init IvtEntryTable
//
- SetMem (&IvtEntryTable[ExceptionType], sizeof (IVT_ENTRY), 0);
+ ZeroMem (&IvtEntryTable[ExceptionType], sizeof (IVT_ENTRY));
}
} else {
//