summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorAjan Zhong <ajan.zhong@newfw.com>2025-11-21 05:28:23 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-12-12 07:44:38 +0300
commit66ea00be1bf3b3d91b1d98f84d3180ee56a3146f (patch)
tree0ae8e25af9147e6f4d4d979f710f81bfec627d6d /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parent84e7054790d128c7c9b2dd9d8059ccf54066c70c (diff)
downloadedk2-66ea00be1bf3b3d91b1d98f84d3180ee56a3146f.tar.xz
UefiPayloadPkg: Setup temporary GDT for x64 UniversalPayload
Separate Exception Stacks has been enabled by default in commit [1], in this case, TSS will be appended to original GDT. As secondary bootloader, UniversalPayload solution has different boot flow from original EDK2. When DxeMain tries to append TSS after original GDT, the original GDT is empty. It leads to system reboot when DxeMain tries to install new GDT which is appended with TSS. To fix this issue, set up temporary GDT with 64-bit code and data descriptors. [1] https://github.com/tianocore/edk2/commit/cec2c6 Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions