]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c
Code scrub DxeIpl, Runtime, DevicePath, FvbServicesLib, DiskIo, Partition, English...
[mirror_edk2.git] / MdeModulePkg / Core / DxeIplPeim / Ia32 / VirtualMemory.c
index 25fb37ea8e218c8b113fc1cdd5fe476e90743d53..e940feb1c4a5ba387776e8021fd4f6fcd9e9eb10 100644 (file)
@@ -4,16 +4,16 @@
   enter Long Mode (x64 64-bit mode).\r
 \r
   While we make a 1:1 mapping (identity mapping) for all physical pages \r
-  we still need to use the MTRR's to ensure that the cachability attirbutes\r
+  we still need to use the MTRR's to ensure that the cachability attributes\r
   for all memory regions is correct.\r
 \r
   The basic idea is to use 2MB page table entries where ever possible. If\r
   more granularity of cachability is required then 4K page tables are used.\r
 \r
   References:\r
-    1) IA-32 Intel(R) Atchitecture Software Developer's Manual Volume 1:Basic Architecture, Intel\r
-    2) IA-32 Intel(R) Atchitecture Software Developer's Manual Volume 2:Instruction Set Reference, Intel\r
-    3) IA-32 Intel(R) Atchitecture Software Developer's Manual Volume 3:System Programmer's Guide, Intel\r
+    1) IA-32 Intel(R) Architecture Software Developer's Manual Volume 1:Basic Architecture, Intel\r
+    2) IA-32 Intel(R) Architecture Software Developer's Manual Volume 2:Instruction Set Reference, Intel\r
+    3) IA-32 Intel(R) Architecture Software Developer's Manual Volume 3:System Programmer's Guide, Intel\r
 \r
 Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
 All rights reserved. This program and the accompanying materials\r
@@ -29,11 +29,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include "DxeIpl.h"\r
 #include "VirtualMemory.h"\r
 \r
-\r
-\r
-\r
-\r
-\r
 /**\r
   Allocates and fills in the Page Directory and Page Table Entries to\r
   establish a 1:1 Virtual to Physical mapping.\r
@@ -43,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
                                                 table entries  to the physical \r
                                                 address space. \r
 \r
-  @return EFI_SUCCESS           The 1:1 Virtual to Physical identity mapping was created\r
+  @return The address of 4 level page map.\r
 \r
 **/\r
 UINTN\r