From 703ef6cfd5ba1aea6dc2191deef2cc59c754282f Mon Sep 17 00:00:00 2001 From: Hess Chen Date: Tue, 11 Apr 2017 16:17:19 +0800 Subject: 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 Reviewed-by: Yonghong Zhu --- BaseTools/Source/Python/Ecc/Configuration.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'BaseTools/Source/Python/Ecc/Configuration.py') 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.
+# Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.
# 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 # -- cgit v1.2.3