summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/EccToolError.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/EccToolError.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/EccToolError.py')
-rw-r--r--BaseTools/Source/Python/Ecc/EccToolError.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Ecc/EccToolError.py b/BaseTools/Source/Python/Ecc/EccToolError.py
index 1eae9d1364..1d51da3ae1 100644
--- a/BaseTools/Source/Python/Ecc/EccToolError.py
+++ b/BaseTools/Source/Python/Ecc/EccToolError.py
@@ -1,7 +1,7 @@
## @file
# Standardized Error Hanlding infrastructures.
#
-# Copyright (c) 2008 - 2016, 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
@@ -105,6 +105,8 @@ ERROR_META_DATA_FILE_CHECK_LIBRARY_NOT_DEFINED = 10022
ERROR_SPELLING_CHECK_ALL = 11000
+ERROR_SMM_COMM_PARA_CHECK_BUFFER_TYPE = 12001
+
gEccErrorMessage = {
ERROR_GENERAL_CHECK_ALL : "",
ERROR_GENERAL_CHECK_NO_TAB : "'TAB' character is not allowed in source code, please replace each 'TAB' with two spaces",
@@ -198,5 +200,7 @@ gEccErrorMessage = {
ERROR_META_DATA_FILE_CHECK_FORMAT_PCD : "Wrong Pcd Format used in Module file",
ERROR_META_DATA_FILE_CHECK_LIBRARY_NOT_DEFINED : "Not defined LibraryClass used in the Module file.",
ERROR_SPELLING_CHECK_ALL : "",
+
+ ERROR_SMM_COMM_PARA_CHECK_BUFFER_TYPE : "SMM communication function may use wrong parameter type",
}