]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Introduced BaseStackCheckLib
authorAndrew Fish <afish@apple.com>
Wed, 20 Aug 2014 17:58:46 +0000 (17:58 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 20 Aug 2014 17:58:46 +0000 (17:58 +0000)
This library only support GCC, RVCT and XCode for now.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Andrew Fish <afish@apple.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com
Reviewed-by: Gao, Liming <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15851 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/MdePkg.dec

index bd5ce07269ef402bce77ac44ea3f0926f6fb0514..743e7bdba828eaf4c6d76e09e3f0b563f786ed43 100644 (file)
   #  The required memory space is decided by the value of PcdMaximumGuidedExtractHandler.\r
   gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|0x1000000|UINT64|0x30001015\r
 \r
+  ## Canary value for the stack overflow protection. This PCD can be used by a firmware vendor\r
+  # or for debugging purposes to change the recommended value.\r
+  gEfiMdePkgTokenSpaceGuid.PcdBaseStackCanary|0x0AFF|UINT64|0x0000002A\r
+\r
 [PcdsFixedAtBuild.IPF]\r
   ## The base address of IO port space for IA64 arch\r
   gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000|UINT64|0x0000000f\r