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

@@ -452,7 +452,7 @@ BlDisplayInputDialog(IN PWCHAR Caption,
/* Get initial input text length and allocate a buffer */
BufferLength = RtlWideStringLength(*InputFieldText, 0);
Status = BlMemoryAllocatePool(BufferLength * sizeof(WCHAR), (PVOID *)&InputFieldBuffer);
Status = BlAllocateMemoryPool(BufferLength * sizeof(WCHAR), (PVOID *)&InputFieldBuffer);
if(Status != STATUS_EFI_SUCCESS)
{
/* Memory allocation failure, print error message and return */
@@ -1213,7 +1213,7 @@ BlpDrawDialogMessage(IN PXTBL_DIALOG_HANDLE Handle,
/* Allocate memory for dialog box message */
Length = RtlWideStringLength(Message, 0);
Status = BlMemoryAllocatePool(Length * sizeof(WCHAR), (PVOID *)&Msg);
Status = BlAllocateMemoryPool(Length * sizeof(WCHAR), (PVOID *)&Msg);
if(Status != STATUS_EFI_SUCCESS)
{
/* Memory allocation failure, print debug message and return */