1 /*++ 2 3 Copyright (c) 1998 Intel Corporation 4 5 Module Name: 6 7 efi.h 8 9 Abstract: 10 11 Public EFI header files 12 13 14 15 Revision History 16 17 --*/ 18 19 20 // Add a predefined macro to detect usage of the library 21 #ifndef _GNU_EFI 22 #define _GNU_EFI 23 #endif 24 25 // 26 // Build flags on input 27 // EFI32 28 // EFI_DEBUG - Enable debugging code 29 // EFI_NT_EMULATOR - Building for running under NT 30 // 31 32 33 #ifndef _EFI_INCLUDE_ 34 #define _EFI_INCLUDE_ 35 36 #define EFI_FIRMWARE_VENDOR L"INTEL" 37 #define EFI_FIRMWARE_MAJOR_REVISION 12 38 #define EFI_FIRMWARE_MINOR_REVISION 33 39 #define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION <<16) | (EFI_FIRMWARE_MINOR_REVISION)) 40 41 #if defined(_M_X64) || defined(__x86_64__) || defined(__amd64__) 42 #include "x86_64/efibind.h" 43 #elif defined(_M_IX86) || defined(__i386__) 44 #include "ia32/efibind.h" 45 #elif defined(_M_IA64) || defined(__ia64__) 46 #include "ia64/efibind.h" 47 #elif defined (_M_ARM64) || defined(__aarch64__) 48 #include "aarch64/efibind.h" 49 #elif defined (_M_ARM) || defined(__arm__) 50 #include "arm/efibind.h" 51 #elif defined (_M_MIPS64) || defined(__mips64__) 52 #include "mips64el/efibind.h" 53 #else 54 #error Usupported architecture 55 #endif 56 57 #include "eficompiler.h" 58 #include "efidef.h" 59 #include "efidevp.h" 60 #include "efipciio.h" 61 #include "efiprot.h" 62 #include "eficon.h" 63 #include "eficonex.h" 64 #include "efiser.h" 65 #include "efi_nii.h" 66 #include "efipxebc.h" 67 #include "efinet.h" 68 #include "efiapi.h" 69 #include "efifs.h" 70 #include "efierr.h" 71 #include "efiui.h" 72 #include "efiip.h" 73 #include "efiudp.h" 74 #include "efitcp.h" 75 #include "efipoint.h" 76 77 #endif 78