mirror of https://github.com/acidanthera/audk.git
MdePkg: Add Stack Cookie Interrupt Vector PCD
This patch adds a PCD allowing a platform to specify the interrupt vector to trigger on a stack check failure. On x86, this is an offset into the IDT. On ARM/AARCH64, this triggers a software interrupt that can be decoded to indicate this was a stack check failure. Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
This commit is contained in:
parent
26c3818011
commit
3a9da5f329
|
@ -2259,6 +2259,9 @@
|
|||
# @Prompt Speculation Barrier Type.
|
||||
gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0x01|UINT8|0x30001018
|
||||
|
||||
## This PCD specifies the interrupt vector for stack cookie check failures
|
||||
gEfiMdePkgTokenSpaceGuid.PcdStackCookieExceptionVector|0x42|UINT8|0x30001019
|
||||
|
||||
[PcdsFixedAtBuild,PcdsPatchableInModule]
|
||||
## Indicates the maximum length of unicode string used in the following
|
||||
# BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>
|
||||
|
|
Loading…
Reference in New Issue