Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: e1b09dfca45cc48519fde2259461879b44659efc
      
https://github.com/tianocore/edk2/commit/e1b09dfca45cc48519fde2259461879b44659efc
  Author: Jiaxin Wu <[email protected]>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M UefiCpuPkg/UefiCpuPkg.dec

  Log Message:
  -----------
  UefiCpuPkg/UefiCpuPkg.dec: Add PcdMaxMappingAddressBeforeTempRamExit

This change is made for boot performance considerations.

Before the Temporary RAM is disabled, the permanent memory is in UC
state, causing the creation of the page table in
permanent memory to take more time with larger page table sizes.
Therefore, this patch adds the PcdMaxMappingAddressBeforeTempRamExit
to provide the platform with the capability to control the max
mapping address in page table before Temp Ram Exit. The value of
0xFFFFFFFFFFFFFFFF, then firmware will map entire physical address
space.

Signed-off-by: Jiaxin Wu <[email protected]>


  Commit: 12e1b1f8ef6ec14ff518518c9f5794e127308aa2
      
https://github.com/tianocore/edk2/commit/12e1b1f8ef6ec14ff518518c9f5794e127308aa2
  Author: Jiaxin Wu <[email protected]>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M UefiCpuPkg/SecCore/SecCore.inf
    M UefiCpuPkg/SecCore/SecCoreNative.inf
    M UefiCpuPkg/SecCore/SecMain.c

  Log Message:
  -----------
  UefiCpuPkg/SecCore: Consume PcdMaxMappingAddressBeforeTempRamExit

Consume PcdMaxMappingAddressBeforeTempRamExit for page table creation in
permanent memory before Temp Ram Exit.

This patch will create the full page table in two steps:
Step 1: Create the max address in page table before the Temporary RAM exit.
Step 2: Create the full range page table after the Temporary RAM exit.

Signed-off-by: Jiaxin Wu <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/836942fbadb6...12e1b1f8ef6e

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


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

Reply via email to