X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxeIplPeim%2FIa32%2FVirtualMemory.c;h=25fb37ea8e218c8b113fc1cdd5fe476e90743d53;hp=38b242c269c953af0a240fa0aed18280b1ef9175;hb=91d92e25647e9a26392b454499d309330710a076;hpb=6d3f77236cc0d894bc35117d43cc859e37e83d01 diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c b/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c index 38b242c269..25fb37ea8e 100644 --- a/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c +++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c @@ -30,28 +30,26 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "VirtualMemory.h" -UINTN -CreateIdentityMappingPageTables ( - VOID - ) -/*++ -Routine Description: - Allocates and fills in the Page Directory and Page Table Entries to - establish a 1:1 Virtual to Physical mapping. -Arguments: - NumberOfProcessorPhysicalAddressBits - Number of processor address bits to use. - Limits the number of page table entries - to the physical address space. +/** + Allocates and fills in the Page Directory and Page Table Entries to + establish a 1:1 Virtual to Physical mapping. -Returns: + @param NumberOfProcessorPhysicalAddressBits Number of processor address bits + to use. Limits the number of page + table entries to the physical + address space. - EFI_SUCCESS The 1:1 Virtual to Physical identity mapping was created + @return EFI_SUCCESS The 1:1 Virtual to Physical identity mapping was created ---*/ +**/ +UINTN +CreateIdentityMappingPageTables ( + VOID + ) { UINT8 PhysicalAddressBits; EFI_PHYSICAL_ADDRESS PageAddress; @@ -159,6 +157,6 @@ Returns: ); } - return (UINTN)PageMap; // FIXME + return (UINTN)PageMap; }