diff options
Diffstat (limited to 'bsps/shared/freebsd/stand/efi/include/efi.h')
-rw-r--r-- | bsps/shared/freebsd/stand/efi/include/efi.h | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/bsps/shared/freebsd/stand/efi/include/efi.h b/bsps/shared/freebsd/stand/efi/include/efi.h new file mode 100644 index 0000000000..5b4743d44b --- /dev/null +++ b/bsps/shared/freebsd/stand/efi/include/efi.h @@ -0,0 +1,87 @@ +/* $FreeBSD$ */ +/*++ + +Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved +This software and associated documentation (if any) is furnished +under a license and may only be used or copied in accordance +with the terms of the license. Except as permitted by such +license, no part of this software or documentation may be +reproduced, stored in a retrieval system, or transmitted in any +form or by any means without the express written consent of +Intel Corporation. + +Module Name: + + efi.h + +Abstract: + + Public EFI header files + + + +Revision History + +--*/ + +// +// Build flags on input +// EFI32 +// EFI_DEBUG - Enable debugging code +// EFI_NT_EMULATOR - Building for running under NT +// + + +#ifndef _EFI_INCLUDE_ +#define _EFI_INCLUDE_ + +#define EFI_FIRMWARE_VENDOR L"INTEL" +#define EFI_FIRMWARE_MAJOR_REVISION 14 +#define EFI_FIRMWARE_MINOR_REVISION 62 +#define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION <<16) | (EFI_FIRMWARE_MINOR_REVISION)) + +#include "efibind.h" +#include "efidef.h" +#include "efidevp.h" +#ifndef __rtems__ +#include "efipciio.h" +#include "efiprot.h" +#endif /* __rtems__ */ +#include "eficon.h" +#include "eficonsctl.h" +#ifndef __rtems__ +#include "efiser.h" +#include "efi_nii.h" +#include "efipxebc.h" +#include "efinet.h" +#endif /* __rtems__ */ +#include "efiapi.h" +#ifndef __rtems__ +#include "efifs.h" +#endif /* __rtems__ */ +#include "efierr.h" +#include "efigop.h" +#ifndef __rtems__ +#include "efiip.h" +#include "efiudp.h" +#include "efitcp.h" +#include "efipoint.h" +#include "efiuga.h" +#endif /* __rtems__ */ +#include <sys/types.h> +#ifdef __rtems__ +#include <stdbool.h> +#endif +/* + * Global variables + */ +extern EFI_LOADED_IMAGE *boot_img; +extern bool boot_services_active; + +/* + * FreeBSD UUID + */ +#define FREEBSD_BOOT_VAR_GUID \ + { 0xCFEE69AD, 0xA0DE, 0x47A9, {0x93, 0xA8, 0xF6, 0x31, 0x06, 0xF8, 0xAE, 0x99} } + +#endif |