Home | History | Annotate | Download | only in GenDepex
      1 /*++
      2 Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
      3 This program and the accompanying materials
      4 are licensed and made available under the terms and conditions of the BSD License
      5 which accompanies this distribution.  The full text of the license may be found at
      6 http://opensource.org/licenses/bsd-license.php
      7 
      8 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
      9 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     10 
     11   Module Name:
     12           GenDepex.h
     13 
     14   Abstract:
     15           This file contains the relevant declarations required
     16           to generate a binary Dependency File
     17 
     18   Complies with Tiano C Coding Standards Document, version 0.31, 12 Dec 2000.
     19 
     20 --*/
     21 
     22 #ifndef _EFI_GEN_DEPEX_H
     23 #define _EFI_GEN_DEPEX_H
     24 
     25 #include "TianoCommon.h"
     26 #include "EfiDependency.h"
     27 #include <stdio.h>
     28 #include <stdlib.h>
     29 #include <memory.h>
     30 #include <string.h>
     31 #include <malloc.h>
     32 
     33 #define DEPENDENCY_START            "DEPENDENCY_START"
     34 #define OPERATOR_BEFORE             "BEFORE"
     35 #define OPERATOR_AFTER              "AFTER"
     36 #define OPERATOR_AND                "AND"
     37 #define OPERATOR_OR                 "OR"
     38 #define OPERATOR_NOT                "NOT"
     39 #define OPERATOR_TRUE               "TRUE"
     40 #define OPERATOR_FALSE              "FALSE"
     41 #define OPERATOR_SOR                "SOR"
     42 #define OPERATOR_END                "END"
     43 #define OPERATOR_LEFT_PARENTHESIS   "("
     44 #define OPERATOR_RIGHT_PARENTHESIS  ")"
     45 #define DEPENDENCY_END              "DEPENDENCY_END"
     46 
     47 #define DXE_DEP_LEFT_PARENTHESIS    0x0a
     48 #define DXE_DEP_RIGHT_PARENTHESIS   0x0b
     49 
     50 #define LINESIZE                    320
     51 #define SIZE_A_SYMBOL               60
     52 #define DEPENDENCY_OPCODE           UINT8
     53 #define EVAL_STACK_SIZE             0x1024
     54 #define BUFFER_SIZE                 0x100
     55 
     56 
     57 #endif
     58