411394d6d6bcbe0b2be03363c1eb0539e17af35e
[dragonfly.git] / sys / boot / efi / include / efi.h
1 /* $FreeBSD: head/sys/boot/efi/include/efi.h 292625 2015-12-22 20:40:34Z 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 #define PACKED
44 #define GUID    EFI_GUID
45
46 #include "efibind.h"
47 #include "efidef.h"
48 #include "efidevp.h"
49 #include "efipxebc.h"
50 #include <Protocol/GraphicsOutput.h>
51 #include <Protocol/NetworkInterfaceIdentifier.h>
52 #include <Protocol/PciIo.h>
53 #include <Protocol/SerialIo.h>
54 #include <Protocol/SimpleNetwork.h>
55 #include <Protocol/SimpleTextIn.h>
56 #include <Protocol/SimpleTextOut.h>
57 #include <Protocol/UgaDraw.h>
58 #include "efiapi.h"
59 #include "efiprot.h"
60 #include "efifs.h"
61 #include "efierr.h"
62
63 #define EFI_STRINGIZE(a)                #a 
64 #define EFI_PROTOCOL_DEFINITION(a)      EFI_STRINGIZE(Protocol/a/a.h) 
65
66 #define EFI_GUID_DEFINITION(a) EFI_STRINGIZE(Guid/a/a##.h) 
67 #define EFI_GUID_STRING(guidpointer, shortstring, longstring)
68
69 #endif