X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FSmbiosDxe%2FSmbiosDxe.c;h=329bdbfc497ac4de3a5fc4757476366a07a10e11;hp=8bf5d443a192ac74a885cda539012c694214da09;hb=b68237300a036c59dcb1231708e64e12fd2f734f;hpb=b4e7b2d2cd1f5a5856206d2afaf4da2de5a8adc4 diff --git a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c index 8bf5d443a1..329bdbfc49 100644 --- a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c +++ b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c @@ -981,7 +981,7 @@ SmbiosCreateTable ( PhysicalAddress = 0xffffffff; Status = gBS->AllocatePages ( AllocateMaxAddress, - EfiReservedMemoryType, + EfiRuntimeServicesData, EFI_SIZE_TO_PAGES (EntryPointStructure->TableLength), &PhysicalAddress ); @@ -1093,7 +1093,7 @@ SmbiosDriverEntryPoint ( PhysicalAddress = 0xffffffff; Status = gBS->AllocatePages ( AllocateMaxAddress, - EfiReservedMemoryType, + EfiRuntimeServicesData, EFI_SIZE_TO_PAGES (sizeof (SMBIOS_TABLE_ENTRY_POINT)), &PhysicalAddress ); @@ -1101,7 +1101,7 @@ SmbiosDriverEntryPoint ( DEBUG ((EFI_D_ERROR, "SmbiosDriverEntryPoint() could not allocate EntryPointStructure < 4GB\n")); Status = gBS->AllocatePages ( AllocateAnyPages, - EfiReservedMemoryType, + EfiRuntimeServicesData, EFI_SIZE_TO_PAGES (sizeof (SMBIOS_TABLE_ENTRY_POINT)), &PhysicalAddress ); @@ -1127,7 +1127,7 @@ SmbiosDriverEntryPoint ( PhysicalAddress = 0xffffffff; Status = gBS->AllocatePages ( AllocateMaxAddress, - EfiReservedMemoryType, + EfiRuntimeServicesData, 1, &PhysicalAddress );