Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: c83ffd267680806483eb22c1cd9c9af83b8aa708
      
https://github.com/tianocore/edk2/commit/c83ffd267680806483eb22c1cd9c9af83b8aa708
  Author: Zhiguang Liu <[email protected]>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableMap.c

  Log Message:
  -----------
  UefiCpuPkg/CpuPageTableLib: Init local variable before using it.

The local variable OneOfPagingEntry is used before initialized, this
may cause reserved bit in page table entry is set especially in PAE
paging mode. The bug is random because it depends on the value in
stack.

Reviewed-by: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Signed-off-by: Zhiguang Liu <[email protected]>


  Commit: 02d6f39bd5371fed58c94ff2265e3d0ddee472e4
      
https://github.com/tianocore/edk2/commit/02d6f39bd5371fed58c94ff2265e3d0ddee472e4
  Author: Zhiguang Liu <[email protected]>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M UefiCpuPkg/Library/CpuPageTableLib/UnitTest/RandomTest.c
    M UefiCpuPkg/Library/CpuPageTableLib/UnitTest/TestHelper.c

  Log Message:
  -----------
  UefiCpuPkg/CpuPageTableLib/TestCase: Refine test case for PAE paging.

Refine test case:
1. Check PAE paging reserved bits is zero.
2. Set stack as random value.

Reviewed-by: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Signed-off-by: Zhiguang Liu <[email protected]>


  Commit: 7e18c9a788e543ab71cdc0485989cf5d00cdccc2
      
https://github.com/tianocore/edk2/commit/7e18c9a788e543ab71cdc0485989cf5d00cdccc2
  Author: Zhiguang Liu <[email protected]>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M UefiCpuPkg/CpuMpPei/CpuPaging.c

  Log Message:
  -----------
  UefiCpuPkg/CpuMpPei: Use CpuPageTableLib to set memory attribute.

Currently, there are code to set memory attribute in CpuMpPei module.
However, the code doesn't handle the case of 5 level paging.
Use the CpuPageTableLib to set memory attribute for two purpose:
1. Add 5 level paging support
2. Clean up code

Reviewed-by: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Signed-off-by: Zhiguang Liu <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/ef3fde64aa78...7e18c9a788e5


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to