[edk2-devel] [PATCH 00/10] UefiCpuPkg: Create CpuPageTableLib for manipulating X86 paging structs

Ni, Ray posted 10 patches 1 year, 9 months ago
Failed in applying to current master (apply log)
UefiCpuPkg/Include/Library/CpuPageTableLib.h  | 129 ++++
.../Library/CpuPageTableLib/CpuPageTable.h    | 230 ++++++
.../CpuPageTableLib/CpuPageTableLib.inf       |  35 +
.../Library/CpuPageTableLib/CpuPageTableMap.c | 690 ++++++++++++++++++
.../CpuPageTableLib/CpuPageTableParse.c       | 330 +++++++++
UefiCpuPkg/UefiCpuPkg.dec                     |   3 +
UefiCpuPkg/UefiCpuPkg.dsc                     |   4 +-
7 files changed, 1420 insertions(+), 1 deletion(-)
create mode 100644 UefiCpuPkg/Include/Library/CpuPageTableLib.h
create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTable.h
create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableMap.c
create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c
[edk2-devel] [PATCH 00/10] UefiCpuPkg: Create CpuPageTableLib for manipulating X86 paging structs
Posted by Ni, Ray 1 year, 9 months ago
Ray Ni (10):
  UefiCpuPkg: Create CpuPageTableLib for manipulating X86 paging structs
  UefiCpuPkg/CpuPageTableLib: Return error on invalid parameters
  CpuPageTableLib: Fix a bug when a bit is 1 in Attribute, 0 in Mask
  CpuPageTableLib: Refactor the logic
  CpuPageTableLib: Split the page entry when LA is aligned but PA is not
  CpuPageTableLib: Avoid treating non-leaf entry as leaf one
  CpuPageTableLib: Fix parent attributes are not inherited properly
  CpuPageTableLib: Fix a bug to avoid unnecessary changing to page table
  CpuPageTableLib: Fix bug that wrongly requires extra size for mapping
  CpuPageTableLib: define IA32_PAGE_LEVEL enum type internally

 UefiCpuPkg/Include/Library/CpuPageTableLib.h  | 129 ++++
 .../Library/CpuPageTableLib/CpuPageTable.h    | 230 ++++++
 .../CpuPageTableLib/CpuPageTableLib.inf       |  35 +
 .../Library/CpuPageTableLib/CpuPageTableMap.c | 690 ++++++++++++++++++
 .../CpuPageTableLib/CpuPageTableParse.c       | 330 +++++++++
 UefiCpuPkg/UefiCpuPkg.dec                     |   3 +
 UefiCpuPkg/UefiCpuPkg.dsc                     |   4 +-
 7 files changed, 1420 insertions(+), 1 deletion(-)
 create mode 100644 UefiCpuPkg/Include/Library/CpuPageTableLib.h
 create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTable.h
 create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
 create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableMap.c
 create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c

-- 
2.35.1.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#91451): https://edk2.groups.io/g/devel/message/91451
Mute This Topic: https://groups.io/mt/92458156/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH 00/10] UefiCpuPkg: Create CpuPageTableLib for manipulating X86 paging structs
Posted by Dong, Eric 1 year, 8 months ago
Reviewed-by: Eric Dong <eric.dong@intel.com>

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ni, Ray
Sent: Monday, July 18, 2022 9:18 PM
To: devel@edk2.groups.io
Subject: [edk2-devel] [PATCH 00/10] UefiCpuPkg: Create CpuPageTableLib for manipulating X86 paging structs

Ray Ni (10):
  UefiCpuPkg: Create CpuPageTableLib for manipulating X86 paging structs
  UefiCpuPkg/CpuPageTableLib: Return error on invalid parameters
  CpuPageTableLib: Fix a bug when a bit is 1 in Attribute, 0 in Mask
  CpuPageTableLib: Refactor the logic
  CpuPageTableLib: Split the page entry when LA is aligned but PA is not
  CpuPageTableLib: Avoid treating non-leaf entry as leaf one
  CpuPageTableLib: Fix parent attributes are not inherited properly
  CpuPageTableLib: Fix a bug to avoid unnecessary changing to page table
  CpuPageTableLib: Fix bug that wrongly requires extra size for mapping
  CpuPageTableLib: define IA32_PAGE_LEVEL enum type internally

 UefiCpuPkg/Include/Library/CpuPageTableLib.h  | 129 ++++
 .../Library/CpuPageTableLib/CpuPageTable.h    | 230 ++++++
 .../CpuPageTableLib/CpuPageTableLib.inf       |  35 +
 .../Library/CpuPageTableLib/CpuPageTableMap.c | 690 ++++++++++++++++++
 .../CpuPageTableLib/CpuPageTableParse.c       | 330 +++++++++
 UefiCpuPkg/UefiCpuPkg.dec                     |   3 +
 UefiCpuPkg/UefiCpuPkg.dsc                     |   4 +-
 7 files changed, 1420 insertions(+), 1 deletion(-)  create mode 100644 UefiCpuPkg/Include/Library/CpuPageTableLib.h
 create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTable.h
 create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
 create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableMap.c
 create mode 100644 UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c

--
2.35.1.windows.2








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