]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Common/Dependency.h
Add in OFFSET_OF macro as defined in MDE Library spec
[mirror_edk2.git] / MdePkg / Include / Common / Dependency.h
1 /** @file
2 This module contains data specific to dependency expressions.
3
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 Module Name: Dependency.h
14
15 @par Revision Reference:
16 These definitions are from DxeCis 0.91 spec.
17
18 **/
19
20 #ifndef __DEPENDENCY_H__
21 #define __DEPENDENCY_H__
22
23 /// EFI_DEP_BEFORE - If present, this must be the first and only opcode
24 #define EFI_DEP_BEFORE 0x00
25
26 /// EFI_DEP_AFTER - If present, this must be the first and only opcode
27 #define EFI_DEP_AFTER 0x01
28
29 #define EFI_DEP_PUSH 0x02
30 #define EFI_DEP_AND 0x03
31 #define EFI_DEP_OR 0x04
32 #define EFI_DEP_NOT 0x05
33 #define EFI_DEP_TRUE 0x06
34 #define EFI_DEP_FALSE 0x07
35 #define EFI_DEP_END 0x08
36
37 /// EFI_DEP_SOR - If present, this must be the first opcode
38 #define EFI_DEP_SOR 0x09
39
40 #endif