1 1.1 jmcneill /* $NetBSD: lib.h,v 1.1.1.1 2021/09/30 18:50:09 jmcneill Exp $ */ 2 1.1 jmcneill 3 1.1 jmcneill /*++ 4 1.1 jmcneill 5 1.1 jmcneill Copyright (c) 1998 Intel Corporation 6 1.1 jmcneill 7 1.1 jmcneill Module Name: 8 1.1 jmcneill 9 1.1 jmcneill lib.h 10 1.1 jmcneill 11 1.1 jmcneill Abstract: 12 1.1 jmcneill 13 1.1 jmcneill EFI library header files 14 1.1 jmcneill 15 1.1 jmcneill 16 1.1 jmcneill 17 1.1 jmcneill Revision History 18 1.1 jmcneill 19 1.1 jmcneill --*/ 20 1.1 jmcneill 21 1.1 jmcneill #ifdef __GNUC__ 22 1.1 jmcneill #pragma GCC visibility push(hidden) 23 1.1 jmcneill #endif 24 1.1 jmcneill 25 1.1 jmcneill #include "efi.h" 26 1.1 jmcneill #include "efilib.h" 27 1.1 jmcneill #include "efirtlib.h" 28 1.1 jmcneill 29 1.1 jmcneill // 30 1.1 jmcneill // Include non architectural protocols 31 1.1 jmcneill // 32 1.1 jmcneill #include "protocol/efivar.h" 33 1.1 jmcneill #include "protocol/legacyboot.h" 34 1.1 jmcneill #include "protocol/intload.h" 35 1.1 jmcneill #include "protocol/vgaclass.h" 36 1.1 jmcneill #include "protocol/eficonsplit.h" 37 1.1 jmcneill #include "protocol/adapterdebug.h" 38 1.1 jmcneill #include "protocol/intload.h" 39 1.1 jmcneill 40 1.1 jmcneill #include "efigpt.h" 41 1.1 jmcneill #include "libsmbios.h" 42 1.1 jmcneill 43 1.1 jmcneill // 44 1.1 jmcneill // Prototypes 45 1.1 jmcneill // 46 1.1 jmcneill 47 1.1 jmcneill VOID 48 1.1 jmcneill InitializeGuid ( 49 1.1 jmcneill VOID 50 1.1 jmcneill ); 51 1.1 jmcneill 52 1.1 jmcneill INTN EFIAPI 53 1.1 jmcneill LibStubStriCmp ( 54 1.1 jmcneill IN EFI_UNICODE_COLLATION_INTERFACE *This, 55 1.1 jmcneill IN CHAR16 *S1, 56 1.1 jmcneill IN CHAR16 *S2 57 1.1 jmcneill ); 58 1.1 jmcneill 59 1.1 jmcneill BOOLEAN EFIAPI 60 1.1 jmcneill LibStubMetaiMatch ( 61 1.1 jmcneill IN EFI_UNICODE_COLLATION_INTERFACE *This, 62 1.1 jmcneill IN CHAR16 *String, 63 1.1 jmcneill IN CHAR16 *Pattern 64 1.1 jmcneill ); 65 1.1 jmcneill 66 1.1 jmcneill VOID EFIAPI 67 1.1 jmcneill LibStubStrLwrUpr ( 68 1.1 jmcneill IN EFI_UNICODE_COLLATION_INTERFACE *This, 69 1.1 jmcneill IN CHAR16 *Str 70 1.1 jmcneill ); 71 1.1 jmcneill 72 1.1 jmcneill BOOLEAN 73 1.1 jmcneill LibMatchDevicePaths ( 74 1.1 jmcneill IN EFI_DEVICE_PATH *Multi, 75 1.1 jmcneill IN EFI_DEVICE_PATH *Single 76 1.1 jmcneill ); 77 1.1 jmcneill 78 1.1 jmcneill EFI_DEVICE_PATH * 79 1.1 jmcneill LibDuplicateDevicePathInstance ( 80 1.1 jmcneill IN EFI_DEVICE_PATH *DevPath 81 1.1 jmcneill ); 82 1.1 jmcneill 83 1.1 jmcneill 84 1.1 jmcneill // 85 1.1 jmcneill // Globals 86 1.1 jmcneill // 87 1.1 jmcneill extern BOOLEAN LibInitialized; 88 1.1 jmcneill extern BOOLEAN LibFwInstance; 89 1.1 jmcneill extern EFI_HANDLE LibImageHandle; 90 1.1 jmcneill extern SIMPLE_TEXT_OUTPUT_INTERFACE *LibRuntimeDebugOut; 91 1.1 jmcneill extern EFI_UNICODE_COLLATION_INTERFACE *UnicodeInterface; 92 1.1 jmcneill extern EFI_UNICODE_COLLATION_INTERFACE LibStubUnicodeInterface; 93 1.1 jmcneill extern EFI_RAISE_TPL LibRuntimeRaiseTPL; 94 1.1 jmcneill extern EFI_RESTORE_TPL LibRuntimeRestoreTPL; 95