]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/ResetVector/Vtf0: Move Page Table/CR3 setting to a new file
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 24 Sep 2013 18:23:09 +0000 (18:23 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 24 Sep 2013 18:23:09 +0000 (18:23 +0000)
commita63f2e245099ac9ab17046322ab6e13f84bb053c
tree87f7aaca9134abb1c24b44c36a22574f275d90c4
parentcd5a40bd98ab3298b87af4baa247cbaeeff4cb1e
UefiCpuPkg/ResetVector/Vtf0: Move Page Table/CR3 setting to a new file

Now, Transition32FlatTo64Flat calls SetCr3ForPageTables64
which is located in Ia32/PageTables64.asm.

This change is required so OVMF can replace the code in
Ia32/PageTables64.asm with code that generates page tables in
RAM.

Note: Since this change does not impact the functionality of the
current VTF0 binaries, they are not being updated. The resulting
new binaries were tested to verify there is no regression.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14714 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/ResetVector/Vtf0/Ia32/Flat32ToFlat64.asm
UefiCpuPkg/ResetVector/Vtf0/Ia32/PageTables64.asm [new file with mode: 0644]
UefiCpuPkg/ResetVector/Vtf0/ResetVectorCode.asm