[edk2-devel] [PATCH 0/9] Create page table by CpuPageTableLib in DxeIpl

duntan posted 9 patches 1 year ago
Failed in applying to current master (apply log)
There is a newer version of this series
ArmVirtPkg/ArmVirtCloudHv.dsc                    |   2 ++
ArmVirtPkg/ArmVirtQemu.dsc                       |   3 ++-
EmulatorPkg/EmulatorPkg.dsc                      |   3 ++-
IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc          |   3 ++-
MdeModulePkg/Core/DxeIplPeim/DxeIpl.h            |   3 ++-
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf          |   4 +++-
MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c  | 112 ++++------------------------------------------------------------------------------------------------------------
MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c   |   5 +++--
MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c | 709 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.h | 182 ++++++++++----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MdeModulePkg/MdeModulePkg.ci.yaml                |   5 +++--
MdeModulePkg/MdeModulePkg.dsc                    |   3 ++-
OvmfPkg/AmdSev/AmdSevX64.dsc                     |   2 +-
OvmfPkg/Bhyve/BhyveX64.dsc                       |   3 ++-
OvmfPkg/CloudHv/CloudHvX64.dsc                   |   2 +-
OvmfPkg/Microvm/MicrovmX64.dsc                   |   2 +-
OvmfPkg/OvmfPkgIa32.dsc                          |   3 ++-
OvmfPkg/OvmfPkgIa32X64.dsc                       |   2 +-
OvmfPkg/OvmfPkgX64.dsc                           |   2 +-
OvmfPkg/OvmfXen.dsc                              |   2 +-
20 files changed, 202 insertions(+), 850 deletions(-)
[edk2-devel] [PATCH 0/9] Create page table by CpuPageTableLib in DxeIpl
Posted by duntan 1 year ago
This patch set is to create page table by CpuPageTableLib in DxeIpl.
With the CpuPageTableLib, we can create or update page table by 
calling PageTableMap() in CpuPageTableLib multiple times. Then the
original page table manipulating code can be removed.

Dun Tan (9):
  ArmVirtPkg: Add CpuPageTableLib required by DxeIpl in DSC
  EmulatorPkg: Add CpuPageTableLib required by DxeIpl in DSC
  IntelFsp2Pkg: Add CpuPageTableLib required by DxeIpl in DSC
  MdeModulePkg: Add CpuPageTableLib required by DxeIpl in DSC
  OvmfPkg: Add CpuPageTableLib required by DxeIpl in DSC file
  MdeModulePkg: Add UefiCpuPkg.dec to pass DependencyCheck
  MdeModulePkg/DxeIpl: Create page table by CpuPageTableLib
  MdeModulePkg/DxeIpl: Remove duplicated code to enable NX
  MdeModulePkg/DxeIpl: Refinement to the code to set PageTable as RO

 ArmVirtPkg/ArmVirtCloudHv.dsc                    |   2 ++
 ArmVirtPkg/ArmVirtQemu.dsc                       |   3 ++-
 EmulatorPkg/EmulatorPkg.dsc                      |   3 ++-
 IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc          |   3 ++-
 MdeModulePkg/Core/DxeIplPeim/DxeIpl.h            |   3 ++-
 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf          |   4 +++-
 MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c  | 112 ++++------------------------------------------------------------------------------------------------------------
 MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c   |   5 +++--
 MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c | 709 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.h | 182 ++++++++++----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 MdeModulePkg/MdeModulePkg.ci.yaml                |   5 +++--
 MdeModulePkg/MdeModulePkg.dsc                    |   3 ++-
 OvmfPkg/AmdSev/AmdSevX64.dsc                     |   2 +-
 OvmfPkg/Bhyve/BhyveX64.dsc                       |   3 ++-
 OvmfPkg/CloudHv/CloudHvX64.dsc                   |   2 +-
 OvmfPkg/Microvm/MicrovmX64.dsc                   |   2 +-
 OvmfPkg/OvmfPkgIa32.dsc                          |   3 ++-
 OvmfPkg/OvmfPkgIa32X64.dsc                       |   2 +-
 OvmfPkg/OvmfPkgX64.dsc                           |   2 +-
 OvmfPkg/OvmfXen.dsc                              |   2 +-
 20 files changed, 202 insertions(+), 850 deletions(-)

-- 
2.31.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#101990): https://edk2.groups.io/g/devel/message/101990
Mute This Topic: https://groups.io/mt/97897977/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-