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 #elif defined (__riscv) && __riscv_xlen == 64 54 #include "riscv64/efibind.h" 55 #else 56 #error Usupported architecture 57 #endif 58 59 #include "eficompiler.h" 60 #include "efidef.h" 61 #include "efidevp.h" 62 #include "efipciio.h" 63 #include "efiprot.h" 64 #include "eficon.h" 65 #include "eficonex.h" 66 #include "efiser.h" 67 #include "efi_nii.h" 68 #include "efipxebc.h" 69 #include "efinet.h" 70 #include "efiapi.h" 71 #include "efifs.h" 72 #include "efierr.h" 73 #include "efiui.h" 74 #include "efiip.h" 75 #include "efiudp.h" 76 #include "efitcp.h" 77 #include "efipoint.h" 78 #include "efishell.h" 79 80 #endif 81