diff options
author | Dun Tan <dun.tan@intel.com> | 2023-05-15 15:47:54 +0800 |
---|---|---|
committer | Ray Ni <ray.ni@intel.com> | 2023-06-30 11:07:40 +0530 |
commit | 701b5797b260cbc9477380beb7fb071f3c5c88d1 (patch) | |
tree | b1c0fe99e3fd819136fb50c48fd0c4a35760ee4e /ArmPlatformPkg | |
parent | d706d9c64ac6074f3066f0531b66f59f4991973b (diff) | |
download | edk2-701b5797b260cbc9477380beb7fb071f3c5c88d1.tar.gz |
UefiCpuPkg: Add GenSmmPageTable() to create smm page table
This commit is code refinement to current smm pagetable generation
code. Add a new GenSmmPageTable() API to create smm page table
based on the PageTableMap() API in CpuPageTableLib. Caller only
needs to specify the paging mode and the PhysicalAddressBits to map.
This function can be used to create both IA32 pae paging and X64
5level, 4level paging.
Signed-off-by: Dun Tan <dun.tan@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ArmPlatformPkg')
0 files changed, 0 insertions, 0 deletions