1 /*++ 2 3 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR> 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 12 Module Name: 13 14 EfiDependency.h 15 16 Abstract: 17 18 This module contains data specific to dependency expressions 19 and local function prototypes. 20 21 --*/ 22 23 #ifndef _DEPENDENCY_H_ 24 #define _DEPENDENCY_H_ 25 26 // 27 // 28 // EFI_DEP_BEFORE - If present, it must be the first and only opcode 29 // EFI_DEP_AFTER - If present, it must be the first and only opcode 30 // EFI_DEP_SOR - If present, it must be the first opcode 31 // EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression 32 // to save time. A EFI_DEP_PUSH is evaluated one an 33 // replaced with EFI_DEP_REPLACE_TRUE 34 // 35 #define EFI_DEP_BEFORE 0x00 36 #define EFI_DEP_AFTER 0x01 37 #define EFI_DEP_PUSH 0x02 38 #define EFI_DEP_AND 0x03 39 #define EFI_DEP_OR 0x04 40 #define EFI_DEP_NOT 0x05 41 #define EFI_DEP_TRUE 0x06 42 #define EFI_DEP_FALSE 0x07 43 #define EFI_DEP_END 0x08 44 #define EFI_DEP_SOR 0x09 45 #define EFI_DEP_REPLACE_TRUE 0xff 46 47 // 48 // Define the initial size of the dependency expression evaluation stack 49 // 50 #define DEPEX_STACK_SIZE_INCREMENT 0x1000 51 52 #endif 53