xref: /freebsd/stand/efi/include/efi.h (revision d0b2dbfa)
1 /*++
2 
3 Copyright (c)  1999 - 2002 Intel Corporation. All rights reserved
4 This software and associated documentation (if any) is furnished
5 under a license and may only be used or copied in accordance
6 with the terms of the license. Except as permitted by such
7 license, no part of this software or documentation may be
8 reproduced, stored in a retrieval system, or transmitted in any
9 form or by any means without the express written consent of
10 Intel Corporation.
11 
12 Module Name:
13 
14     efi.h
15 
16 Abstract:
17 
18     Public EFI header files
19 
20 
21 
22 Revision History
23 
24 --*/
25 
26 //
27 // Build flags on input
28 //  EFI32
29 //  EFI_DEBUG               - Enable debugging code
30 //  EFI_NT_EMULATOR         - Building for running under NT
31 //
32 
33 
34 #ifndef _EFI_INCLUDE_
35 #define _EFI_INCLUDE_
36 
37 #define EFI_FIRMWARE_VENDOR         L"INTEL"
38 #define EFI_FIRMWARE_MAJOR_REVISION 14
39 #define EFI_FIRMWARE_MINOR_REVISION 62
40 #define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION <<16) | (EFI_FIRMWARE_MINOR_REVISION))
41 
42 #include "efibind.h"
43 #include "efidef.h"
44 #include "efidevp.h"
45 #include "efipciio.h"
46 #include "efiprot.h"
47 #include "eficon.h"
48 #include "eficonsctl.h"
49 #include "efiser.h"
50 #include "efi_nii.h"
51 #include "efipxebc.h"
52 #include "efinet.h"
53 #include "efiapi.h"
54 #include "efifs.h"
55 #include "efierr.h"
56 #include "efigop.h"
57 #include "efiip.h"
58 #include "efiudp.h"
59 #include "efitcp.h"
60 #include "efipoint.h"
61 #include "efiuga.h"
62 #include <sys/types.h>
63 
64 /*
65  * Global variables
66  */
67 extern EFI_LOADED_IMAGE *boot_img;
68 extern bool boot_services_active;
69 
70 /*
71  * FreeBSD UUID
72  */
73 #define FREEBSD_BOOT_VAR_GUID \
74 	{ 0xCFEE69AD, 0xA0DE, 0x47A9, {0x93, 0xA8, 0xF6, 0x31, 0x06, 0xF8, 0xAE, 0x99} }
75 
76 #endif
77