Rename memory related routines to follow naming convention

This commit is contained in:
2024-01-15 15:13:34 +01:00
parent e64cf4d0aa
commit 8f40683270
9 changed files with 141 additions and 141 deletions

View File

@@ -31,7 +31,7 @@ BlpActivateSerialIOController()
/* Allocate memory for single EFI_HANDLE, what should be enough in most cases */
PciHandleSize = sizeof(EFI_HANDLE);
Status = BlMemoryAllocatePool(PciHandleSize, (PVOID*)&PciHandle);
Status = BlAllocateMemoryPool(PciHandleSize, (PVOID*)&PciHandle);
if(Status != STATUS_EFI_SUCCESS)
{
/* Memory allocation failure */
@@ -43,8 +43,8 @@ BlpActivateSerialIOController()
if(Status == STATUS_EFI_BUFFER_TOO_SMALL)
{
/* Reallocate more memory as requested by UEFI */
BlMemoryFreePool(PciHandle);
Status = BlMemoryAllocatePool(PciHandleSize, (PVOID*)&PciHandle);
BlFreeMemoryPool(PciHandle);
Status = BlAllocateMemoryPool(PciHandleSize, (PVOID*)&PciHandle);
if(Status != STATUS_EFI_SUCCESS)
{
/* Memory reallocation failure */