X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=MdeModulePkg%2FUniversal%2FDebugSupportDxe%2FIpf%2FPlDebugSupport.c;h=b4b078cb5787838f52ffb16693ef15669e9c1cdb;hb=519f076a478a7da9ff4b9d5327a993b1fc2968e8;hp=5402e04041ca873edb7f309992481ec7fba05d45;hpb=978baf50be487ad7d74f8b7d34772517c2219526;p=mirror_edk2.git 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 { //