X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FCommon%2FDataType.py;fp=BaseTools%2FSource%2FPython%2FCommon%2FDataType.py;h=56f5bfedd6b4078a5ee87ea23a00a4e3b541855d;hb=31ff1c443e25d6bff758bdcd9a248a907cff651b;hp=50d582a3f68e5fcb2b1e9741b6829c837cb1b9e2;hpb=6c2d8cb238c8d076fd177a30b5e1e3c5e0912145;p=mirror_edk2.git diff --git a/BaseTools/Source/Python/Common/DataType.py b/BaseTools/Source/Python/Common/DataType.py index 50d582a3f6..56f5bfedd6 100644 --- a/BaseTools/Source/Python/Common/DataType.py +++ b/BaseTools/Source/Python/Common/DataType.py @@ -487,6 +487,18 @@ DATABASE_PATH = ":memory:" #"BuildDatabase.db" # used by ECC MODIFIER_SET = {'IN', 'OUT', 'OPTIONAL', 'UNALIGNED', 'EFI_RUNTIMESERVICE', 'EFI_BOOTSERVICE', 'EFIAPI'} +# Dependency Opcodes +DEPEX_OPCODE_BEFORE = "BEFORE" +DEPEX_OPCODE_AFTER = "AFTER" +DEPEX_OPCODE_PUSH = "PUSH" +DEPEX_OPCODE_AND = "AND" +DEPEX_OPCODE_OR = "OR" +DEPEX_OPCODE_NOT = "NOT" +DEPEX_OPCODE_END = "END" +DEPEX_OPCODE_SOR = "SOR" +DEPEX_OPCODE_TRUE = "TRUE" +DEPEX_OPCODE_FALSE = "FALSE" + # Dependency Expression DEPEX_SUPPORTED_OPCODE_SET = {"BEFORE", "AFTER", "PUSH", "AND", "OR", "NOT", "END", "SOR", "TRUE", "FALSE", '(', ')'}