Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 819af4cd11f4fe095a0cf149c6aa36b6917434bb
https://github.com/tianocore/edk2/commit/819af4cd11f4fe095a0cf149c6aa36b6917434bb
Author: Ray Ni <[email protected]>
Date: 2026-03-19 (Thu, 19 Mar 2026)
Changed paths:
M IntelFsp2Pkg/FspSecCore/SecMain.c
M IntelFsp2Pkg/FspSecCore/SecMain.h
Log Message:
-----------
IntelFsp2Pkg/FspSecCore: Allocate correct number of IDT entries on stack
PcdFspMaxInterruptSupported is the max interrupt number but it is used as
number of interrupts when defining SEC_IDT_TABLE.
Fix it by changing the SEC_IDT_TABLE.IdtTable array from
IdtTable[FixedPcdGet8 (PcdFspMaxInterruptSupported)];
to
IdtTable[FixedPcdGet8 (PcdFspMaxInterruptSupported) + 1];
Signed-off-by: Ray Ni <[email protected]>
Commit: ff2543960090c9c74c679d368a9051bbcd6424e0
https://github.com/tianocore/edk2/commit/ff2543960090c9c74c679d368a9051bbcd6424e0
Author: Ray Ni <[email protected]>
Date: 2026-03-19 (Thu, 19 Mar 2026)
Changed paths:
M IntelFsp2Pkg/FspSecCore/SecMain.c
M IntelFsp2Pkg/IntelFsp2Pkg.dec
Log Message:
-----------
IntelFsp2Pkg/FspSecCore: Do not hang when bootloader IDT is larger
The current logic in FspSecCore is when the size of IDT created
by the bootloader is larger than the size of IDT that's going to be created
by FSP, CpuDeadLoop() is hit.
Change PcdFspMaxInterruptSupported from 34 to 255 to avoid such case.
Even when the PCD is overriden to a small value, the dead-loop is
not necessary. The patch updates the logic to only copy
the first part of the IDT entries when bootloader's IDT is larger.
A warn is printed in the debug log when such case happens.
The change addresses a boot hang in FSP API mode introduced by
commit 3454d7ab41.
Signed-off-by: Ray Ni <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/8c50e656c088...ff2543960090
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