]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFsp2Pkg: FSP should not override IDT
authorChasel, Chiu <chasel.chiu@intel.com>
Fri, 19 Oct 2018 09:10:30 +0000 (17:10 +0800)
committerChasel, Chiu <chasel.chiu@intel.com>
Thu, 25 Oct 2018 09:01:36 +0000 (17:01 +0800)
commitb1cc6f672f3b924cdb190e5b92db3b47f46a8911
tree6422a8a03f085dcbec590ef45193af008d1bcaaf
parent5061efe70d020a6811788de2408531f661ef1e45
IntelFsp2Pkg: FSP should not override IDT

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1265

FSP should not override IDT table when it is initialized
by boot loader. IDT should be re-initialized in FSP only
when it is invalid.
To mitigate temporary memory usage a PCD
PcdFspMaxInterruptSupported created for platform to decide
how many interrupts the FSP IDT table can support.

Test: Verified on internal platform and boots successfully.

Cc: Jiewen Yao <Jiewen.yao@intel.com>
Cc: Desimone Nathaniel L <nathaniel.l.desimone@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
IntelFsp2Pkg/FspSecCore/SecMain.c
IntelFsp2Pkg/FspSecCore/SecMain.h
IntelFsp2Pkg/IntelFsp2Pkg.dec