Home | History | Annotate | Line # | Download | only in inc
      1 /*	$NetBSD: efi.h,v 1.1.1.3 2021/09/30 18:50:09 jmcneill Exp $	*/
      2 
      3 /*++
      4 
      5 Copyright (c) 1998  Intel Corporation
      6 
      7 Module Name:
      8 
      9     efi.h
     10 
     11 Abstract:
     12 
     13     Public EFI header files
     14 
     15 
     16 
     17 Revision History
     18 
     19 --*/
     20 
     21 
     22 // Add a predefined macro to detect usage of the library
     23 #ifndef _GNU_EFI
     24 #define _GNU_EFI
     25 #endif
     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 12
     40 #define EFI_FIRMWARE_MINOR_REVISION 33
     41 #define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION <<16) | (EFI_FIRMWARE_MINOR_REVISION))
     42 
     43 #if defined(_M_X64) || defined(__x86_64__) || defined(__amd64__)
     44 #include "x86_64/efibind.h"
     45 #elif defined(_M_IX86) || defined(__i386__)
     46 #include "ia32/efibind.h"
     47 #elif defined(_M_IA64) || defined(__ia64__)
     48 #include "ia64/efibind.h"
     49 #elif defined (_M_ARM64) || defined(__aarch64__)
     50 #include "aarch64/efibind.h"
     51 #elif defined (_M_ARM) || defined(__arm__)
     52 #include "arm/efibind.h"
     53 #elif defined (_M_MIPS64) || defined(__mips64__)
     54 #include "mips64el/efibind.h"
     55 #elif defined (__riscv) && __riscv_xlen == 64
     56 #include "riscv64/efibind.h"
     57 #else
     58 #error Usupported architecture
     59 #endif
     60 
     61 #include "eficompiler.h"
     62 #include "efidef.h"
     63 #include "efidevp.h"
     64 #include "efipciio.h"
     65 #include "efiprot.h"
     66 #include "eficon.h"
     67 #include "eficonex.h"
     68 #include "efiser.h"
     69 #include "efi_nii.h"
     70 #include "efipxebc.h"
     71 #include "efinet.h"
     72 #include "efiapi.h"
     73 #include "efifs.h"
     74 #include "efierr.h"
     75 #include "efiui.h"
     76 #include "efiip.h"
     77 #include "efiudp.h"
     78 #include "efitcp.h"
     79 #include "efipoint.h"
     80 #include "efishell.h"
     81 
     82 #endif
     83