summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/Configuration.py
diff options
context:
space:
mode:
authorHess Chen <hesheng.chen@intel.com>2017-04-11 16:17:19 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2017-04-13 10:55:57 +0800
commit703ef6cfd5ba1aea6dc2191deef2cc59c754282f (patch)
tree064831d445ef7e24ff48a6b5433b8a14d6a54e35 /BaseTools/Source/Python/Ecc/Configuration.py
parent86601b78955fbb7fbb4a2a7d8cdda99344b24384 (diff)
downloadedk2-703ef6cfd5ba1aea6dc2191deef2cc59c754282f.tar.gz
edk2-703ef6cfd5ba1aea6dc2191deef2cc59c754282f.tar.bz2
edk2-703ef6cfd5ba1aea6dc2191deef2cc59c754282f.zip
BaseTools/ECC: Add a new checkpoint
Add a new checkpoint to check if the SMM communication parameter has a correct buffer type. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Configuration.py')
-rw-r--r--BaseTools/Source/Python/Ecc/Configuration.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Ecc/Configuration.py b/BaseTools/Source/Python/Ecc/Configuration.py
index 5262b685a5..b523858e1b 100644
--- a/BaseTools/Source/Python/Ecc/Configuration.py
+++ b/BaseTools/Source/Python/Ecc/Configuration.py
@@ -1,7 +1,7 @@
## @file
# This file is used to define class Configuration
#
-# Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -256,6 +256,11 @@ class Configuration(object):
# Check PCD whether defined the prompt, help in the DEC file and localized information in the associated UNI file.
self.UniCheckPCDInfo = 1
+ # Check SMM communication function parameter
+ self.SmmCommParaCheckAll = 0
+ # Check if the EFI_SMM_COMMUNICATION_PROTOCOL parameter buffer type is Reserved / ACPI NVS or UEFI RT code/data
+ self.SmmCommParaCheckBufferType = -1
+
#
# The check points in this section are reserved
#