xref: /openbsd-src/sys/stand/efi/include/efi.h (revision 060fee10799fa73a58f230f70329cb62e9f506ab)
1 /* $FreeBSD: head/sys/boot/efi/include/efi.h 264095 2014-04-04 00:16:46Z emaste $ */
2 /*++
3 
4 Copyright (c)  1999 - 2002 Intel Corporation. All rights reserved
5 This software and associated documentation (if any) is furnished
6 under a license and may only be used or copied in accordance
7 with the terms of the license. Except as permitted by such
8 license, no part of this software or documentation may be
9 reproduced, stored in a retrieval system, or transmitted in any
10 form or by any means without the express written consent of
11 Intel Corporation.
12 
13 Module Name:
14 
15     efi.h
16 
17 Abstract:
18 
19     Public EFI header files
20 
21 
22 
23 Revision History
24 
25 --*/
26 
27 //
28 // Build flags on input
29 //  EFI32
30 //  EFI_DEBUG               - Enable debugging code
31 //  EFI_NT_EMULATOR         - Building for running under NT
32 //
33 
34 
35 #ifndef _EFI_INCLUDE_
36 #define _EFI_INCLUDE_
37 
38 #define EFI_FIRMWARE_VENDOR         L"INTEL"
39 #define EFI_FIRMWARE_MAJOR_REVISION 14
40 #define EFI_FIRMWARE_MINOR_REVISION 62
41 #define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION <<16) | (EFI_FIRMWARE_MINOR_REVISION))
42 
43 #include "efibind.h"
44 #include "efidef.h"
45 #include "efidevp.h"
46 #include "efiprot.h"
47 #include "eficon.h"
48 #include "efiser.h"
49 #include "efi_nii.h"
50 #include "efipxebc.h"
51 #include "efinet.h"
52 #include "efiapi.h"
53 #include "efifs.h"
54 #include "efierr.h"
55 #include "efigop.h"
56 
57 #define EFI_STRINGIZE(a)                #a
58 #define EFI_PROTOCOL_DEFINITION(a)      EFI_STRINGIZE(Protocol/a/a.h)
59 
60 #define EFI_GUID_DEFINITION(a) EFI_STRINGIZE(Guid/a/a##.h)
61 #define EFI_GUID_STRING(guidpointer, shortstring, longstring)
62 
63 #endif
64