X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxeIplPeim%2FX64%2FVirtualMemory.c;fp=MdeModulePkg%2FCore%2FDxeIplPeim%2FX64%2FVirtualMemory.c;h=790f6ab6b87fcf3b343ffbc09b14862c5395375c;hp=ab1e91462ea7a563fdf15bdb3bdc586421369b0f;hb=36829e67667bdb6517ca8e7b04f086f4482a4934;hpb=9cda0af7ecfcfc5446da13e63b1930a0d83c0f3f diff --git a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c b/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c index ab1e91462e..790f6ab6b8 100644 --- a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c +++ b/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c @@ -15,7 +15,7 @@ 2) IA-32 Intel(R) Architecture Software Developer's Manual Volume 2:Instruction Set Reference, Intel 3) IA-32 Intel(R) Architecture Software Developer's Manual Volume 3:System Programmer's Guide, Intel -Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -67,6 +67,7 @@ Split2MPageTo4K ( PAGE_TABLE_4K_ENTRY *PageTableEntry; PageTableEntry = AllocatePages (1); + ASSERT (PageTableEntry != NULL); // // Fill in 2M page entry. // @@ -111,6 +112,7 @@ Split1GPageTo2M ( PAGE_TABLE_ENTRY *PageDirectoryEntry; PageDirectoryEntry = AllocatePages (1); + ASSERT (PageDirectoryEntry != NULL); // // Fill in 1G page entry. //