BaseTools: AutoGen - add Opcode constants
add constants for dependency expression opcode strings use these new opcode string constants Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
6c2d8cb238
commit
31ff1c443e
@ -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", '(', ')'}
|
||||
|
||||
|
Reference in New Issue
Block a user