xref: /illumos-gate/usr/src/boot/efi/include/efi.h (revision 5d9d9091f564c198a760790b0bfa72c44e17912b)
1 /* $FreeBSD$ */
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 "efipciio.h"
47 #include "efiprot.h"
48 #include "eficon.h"
49 #include "eficonsctl.h"
50 #include "efiser.h"
51 #include "efi_nii.h"
52 #include "efipxebc.h"
53 #include "efinet.h"
54 #include "efiapi.h"
55 #include "efifs.h"
56 #include "efierr.h"
57 #include "efigop.h"
58 #include "efiip.h"
59 #include "efiudp.h"
60 #include "efitcp.h"
61 #include "efipoint.h"
62 #include "efiuga.h"
63 #include <stdbool.h>
64 
65 /*
66  * Global variables
67  */
68 extern bool has_boot_services;
69 
70 /*
71  * illumos UUID
72  */
73 #define	ILLUMOS_BOOT_VAR_GUID \
74 	{ 0x8B54B311, 0x7163, 0x40d3, {0xA6, 0x7B, 0xE7, 0xB2, 0x95, 0x1B, 0x3D, 0x56} }
75 #endif
76