summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/CommonDataClass/PackageClass.py
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2017-12-07 15:13:30 +0300
committerStar Zeng <star.zeng@intel.com>2017-12-08 09:38:46 +0300
commitadb9f50e4bba7d785af58e6647a15175d9be4446 (patch)
tree873114cef03e86a9440e55dcf86da3601c7d7a10 /BaseTools/Source/Python/CommonDataClass/PackageClass.py
parent448d014b7359b92404653a4da3c63abe4d2389a5 (diff)
downloadedk2-adb9f50e4bba7d785af58e6647a15175d9be4446.tar.xz
UefiCpuPkg/UefiCpuPkg.dec: Add two new PCDs for stack switch
Stack switch is required by Stack Guard feature. Following two PCDs are introduced to simplify the resource allocation for initializing stack switch. gUefiCpuPkgTokenSpaceGuid.PcdCpuStackSwitchExceptionList gUefiCpuPkgTokenSpaceGuid.PcdCpuKnownGoodStackSize PcdCpuStackSwitchExceptionList is used to specify which exception will have separate stack for its handler. For Stack Guard feature, #PF must be specified at least. PcdCpuKnownGoodStackSize is used to specify the size of knwon good stack for an exception handler. Cpu driver or other drivers should use this PCD to reserve new stack memory for exceptions specified by above PCD. Cc: Eric Dong <eric.dong@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Suggested-by: Ayellet Wolman <ayellet.wolman@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Jeff Fan <vanjeff_919@hotmail.com> Reviewed-by: Jiewen.yao@intel.com
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/PackageClass.py')
0 files changed, 0 insertions, 0 deletions