Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 8a763b533bb1b10af2831f6c35d6545bdd5c69d1
      
https://github.com/tianocore/edk2/commit/8a763b533bb1b10af2831f6c35d6545bdd5c69d1
  Author: Zhiguang Liu <zhiguang....@intel.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    M MdeModulePkg/MdeModulePkg.dec

  Log Message:
  -----------
  MdeModulePkg: Disambiguate the meaning of PcdDxeIplSwitchToLongMode

Literally, the meaning of PcdDxeIplSwitchToLongMode is clear, indicating
whether need switch to long mode when loading DxeCore.
However, the comments in dec are confusing for the case where PEI core and
DXE core are both in 64-bit. This patch makes it clear.
PcdDxeIplSwitchToLongMode is true only when PEI core is 32-bit, and switch
to long mode to load 64-bit DXE core. In other cases, this PCD is false.
This also aligns with current usage in OvmfPkg.

Cc: Jian J Wang <jian.j.w...@intel.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Ray Ni <ray...@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang....@intel.com>
Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn>
Reviewed-by: Ray Ni <ray...@intel.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to