xref: /freebsd/stand/efi/include/efi.h (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
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 <sys/types.h>
64 
65 /*
66  * Global variables
67  */
68 extern EFI_LOADED_IMAGE *boot_img;
69 extern bool boot_services_active;
70 
71 /*
72  * FreeBSD UUID
73  */
74 #define FREEBSD_BOOT_VAR_GUID \
75 	{ 0xCFEE69AD, 0xA0DE, 0x47A9, {0x93, 0xA8, 0xF6, 0x31, 0x06, 0xF8, 0xAE, 0x99} }
76 
77 #endif
78