summaryrefslogtreecommitdiffhomepage
path: root/dev/Boot/src
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-16 19:26:51 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-16 19:26:51 +0100
commit0737d2f96d52e80cd6d13b0c37a4f8428e1b5bb9 (patch)
tree9443bee06cd6cf39d57335c66990c537df821b7d /dev/Boot/src
parent384710f48befc0e68d9fd8e70926b4ab8163119d (diff)
ADD: Many tweaks to the OS.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot/src')
-rw-r--r--dev/Boot/src/HEL/AMD64/BootEFI.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/dev/Boot/src/HEL/AMD64/BootEFI.cc b/dev/Boot/src/HEL/AMD64/BootEFI.cc
index b3e03f01..a8dc5561 100644
--- a/dev/Boot/src/HEL/AMD64/BootEFI.cc
+++ b/dev/Boot/src/HEL/AMD64/BootEFI.cc
@@ -201,11 +201,6 @@ EFI_EXTERN_C EFI_API Int32 Main(EfiHandlePtr image_handle,
while (BS->AllocatePool(EfiLoaderData, handover_hdr->f_BitMapSize, &handover_hdr->f_BitMapStart) != kEfiOk)
{
- if (handover_hdr->f_BitMapStart)
- {
- BS->FreePool(handover_hdr->f_BitMapStart);
- handover_hdr->f_BitMapStart = nullptr;
- }
}
handover_hdr->f_FirmwareCustomTables[0] = (VoidPtr)BS;