]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/BuildToolError.py
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / Python / Common / BuildToolError.py
index 0a393fec60ca724f475a9fdf13a20c1df07768c4..ecc83d0f48bdb6bd0a41242fe21c8c9c6f4a994b 100644 (file)
@@ -1,14 +1,8 @@
 ## @file\r
-# Standardized Error Hanlding infrastructures.\r
+# Standardized Error Handling infrastructures.\r
 #\r
-# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 \r
 FILE_OPEN_FAILURE = 1\r
@@ -78,12 +72,18 @@ BUILD_ERROR = 0xF002
 GENFDS_ERROR = 0xF003\r
 ECC_ERROR = 0xF004\r
 EOT_ERROR = 0xF005\r
+PREBUILD_ERROR = 0xF007\r
+POSTBUILD_ERROR = 0xF008\r
 DDC_ERROR = 0xF009\r
 WARNING_AS_ERROR = 0xF006\r
 MIGRATION_ERROR = 0xF010\r
 PCD_VALIDATION_INFO_ERROR = 0xF011\r
 PCD_VARIABLE_ATTRIBUTES_ERROR = 0xF012\r
+PCD_VARIABLE_INFO_ERROR = 0xF016\r
 PCD_VARIABLE_ATTRIBUTES_CONFLICT_ERROR = 0xF013\r
+PCD_STRUCTURE_PCD_INVALID_FIELD_ERROR = 0xF014\r
+PCD_STRUCTURE_PCD_ERROR = 0xF015\r
+ERROR_STATEMENT = 0xFFFD\r
 ABORT_ERROR = 0xFFFE\r
 UNKNOWN_ERROR = 0xFFFF\r
 \r
@@ -146,6 +146,7 @@ gErrorMessage = {
     IO_TIMEOUT              :   "Timeout",\r
     IO_UNKNOWN_ERROR        :   "Unknown error in IO operation",\r
 \r
+    ERROR_STATEMENT         :   "!error statement",\r
     UNKNOWN_ERROR           :   "Unknown error",\r
 }\r
 \r