diff options
Diffstat (limited to 'UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFuncFit.c')
-rw-r--r-- | UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFuncFit.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFuncFit.c b/UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFuncFit.c index 35b52a9..37528d5 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFuncFit.c +++ b/UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFuncFit.c @@ -54,14 +54,6 @@ HandOffToDxeCore ( IoWrite8 (LEGACY_8259_MASK_REGISTER_SLAVE, 0xFF);
//
- // Clear page 0 and mark it as allocated if NULL pointer detection is enabled.
- //
- if (IsNullDetectionEnabled ()) {
- ClearFirst4KPage (HobList.Raw);
- BuildMemoryAllocationHob (0, EFI_PAGES_TO_SIZE (1), EfiBootServicesData);
- }
-
- //
// Allocate 128KB for the Stack
//
BaseOfStack = AllocatePages (EFI_SIZE_TO_PAGES (STACK_SIZE));
|