summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/CommonDataClass/PlatformClass.py
diff options
context:
space:
mode:
authorWang, Jian J <jian.j.wang@intel.com>2017-08-26 09:08:10 +0800
committerEric Dong <eric.dong@intel.com>2017-10-11 16:39:00 +0800
commitf7e077768fe47075130bfa774c88c331d2ad54ff (patch)
treebb49893cba369c49a7538f810ea5e7f9f0ee76c9 /BaseTools/Source/Python/CommonDataClass/PlatformClass.py
parent92d07e48907f54a0da01663f3e876782a76b1e18 (diff)
downloadedk2-f7e077768fe47075130bfa774c88c331d2ad54ff.tar.gz
edk2-f7e077768fe47075130bfa774c88c331d2ad54ff.tar.bz2
edk2-f7e077768fe47075130bfa774c88c331d2ad54ff.zip
MdeModulePkg/MdeModulePkg.dec,.uni: Add NULL pointer detection PCD
PCD PcdNullPointerDetectionPropertyMask is a bitmask used to control the NULL address detection functionality in code for different phases. If enabled, accessing NULL address in UEFI or SMM code can be caught as a page fault exception. BIT0 - Enable NULL pointer detection for UEFI. BIT1 - Enable NULL pointer detection for SMM. BIT2..6 - Reserved for future uses. BIT7 - Disable NULL pointer detection just after EndOfDxe. This is a workaround for those unsolvable NULL access issues in OptionROM, boot loader, etc. It can also help to avoid unnecessary exception caused by legacy memory (0-4095) access after EndOfDxe, such as Windows 7 boot on Qemu. Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Ayellet Wolman <ayellet.wolman@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: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/PlatformClass.py')
0 files changed, 0 insertions, 0 deletions