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