xref: /DragonStub/inc/efi.h (revision deb8a7f267d96299b9aa41300539f617db54c2a9)
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 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 #define EFI_FIRMWARE_VENDOR         L"INTEL"
41 #define EFI_FIRMWARE_MAJOR_REVISION 12
42 #define EFI_FIRMWARE_MINOR_REVISION 33
43 #define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION <<16) | (EFI_FIRMWARE_MINOR_REVISION))
44 
45 #if defined(_M_X64) || defined(__x86_64__) || defined(__amd64__)
46 #include "x86_64/efibind.h"
47 #elif defined(_M_IX86) || defined(__i386__)
48 #include "ia32/efibind.h"
49 #elif defined(_M_IA64) || defined(__ia64__)
50 #include "ia64/efibind.h"
51 #elif defined (_M_ARM64) || defined(__aarch64__)
52 #include "aarch64/efibind.h"
53 #elif defined (_M_ARM) || defined(__arm__)
54 #include "arm/efibind.h"
55 #elif defined (_M_MIPS64) || defined(__mips64__) || defined(__mips64)
56 #include "mips64el/efibind.h"
57 #elif defined (__riscv) && __riscv_xlen == 64
58 #include "riscv64/efibind.h"
59 #elif defined (__loongarch64)
60 #include "loongarch64/efibind.h"
61 #else
62 #error Usupported architecture
63 #endif
64 
65 #include "eficompiler.h"
66 #include "efidef.h"
67 #include "efidevp.h"
68 #include "efipciio.h"
69 #include "efiprot.h"
70 #include "eficon.h"
71 #include "eficonex.h"
72 #include "efiser.h"
73 #include "efi_nii.h"
74 #include "efipxebc.h"
75 #include "efinet.h"
76 #include "efiapi.h"
77 #include "efifs.h"
78 #include "efierr.h"
79 #include "efiui.h"
80 #include "efiip.h"
81 #include "efiudp.h"
82 #include "efitcp.h"
83 #include "efipoint.h"
84 #include "efishell.h"
85 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif
91