Rev 2726 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2726 | Rev 4687 | ||
---|---|---|---|
1 | /*++ |
1 | /*++ |
2 | 2 | ||
3 | Copyright (c) 1998 Intel Corporation |
3 | Copyright (c) 1998 Intel Corporation |
4 | 4 | ||
5 | Module Name: |
5 | Module Name: |
6 | 6 | ||
7 | lib.h |
7 | lib.h |
8 | 8 | ||
9 | Abstract: |
9 | Abstract: |
10 | 10 | ||
11 | EFI library header files |
11 | EFI library header files |
12 | 12 | ||
13 | 13 | ||
14 | 14 | ||
15 | Revision History |
15 | Revision History |
16 | 16 | ||
17 | --*/ |
17 | --*/ |
18 | 18 | ||
19 | 19 | ||
20 | #include "efi.h" |
20 | #include "efi.h" |
21 | #include "efilib.h" |
21 | #include "efilib.h" |
22 | #include "efirtlib.h" |
22 | #include "efirtlib.h" |
23 | 23 | ||
24 | // |
24 | // |
25 | // Include non architectural protocols |
25 | // Include non architectural protocols |
26 | // |
26 | // |
27 | #include "efivar.h" |
27 | #include "efivar.h" |
28 | #include "legacyboot.h" |
28 | #include "legacyboot.h" |
29 | #include "intload.h" |
29 | #include "intload.h" |
30 | #include "vgaclass.h" |
30 | #include "vgaclass.h" |
31 | #include "eficonsplit.h" |
31 | #include "eficonsplit.h" |
32 | #include "adapterdebug.h" |
32 | #include "adapterdebug.h" |
33 | #include "intload.h" |
33 | #include "intload.h" |
34 | 34 | ||
35 | #include "efigpt.h" |
35 | #include "efigpt.h" |
36 | #include "libsmbios.h" |
36 | #include "libsmbios.h" |
37 | 37 | ||
38 | // |
38 | // |
39 | // Prototypes |
39 | // Prototypes |
40 | // |
40 | // |
41 | 41 | ||
42 | VOID |
42 | VOID |
43 | InitializeGuid ( |
43 | InitializeGuid ( |
44 | VOID |
44 | VOID |
45 | ); |
45 | ); |
46 | 46 | ||
47 | INTN |
47 | INTN |
48 | LibStubStriCmp ( |
48 | LibStubStriCmp ( |
49 | IN EFI_UNICODE_COLLATION_INTERFACE *This, |
49 | IN EFI_UNICODE_COLLATION_INTERFACE *This, |
50 | IN CHAR16 *S1, |
50 | IN CHAR16 *S1, |
51 | IN CHAR16 *S2 |
51 | IN CHAR16 *S2 |
52 | ); |
52 | ); |
53 | 53 | ||
54 | BOOLEAN |
54 | BOOLEAN |
55 | LibStubMetaiMatch ( |
55 | LibStubMetaiMatch ( |
56 | IN EFI_UNICODE_COLLATION_INTERFACE *This, |
56 | IN EFI_UNICODE_COLLATION_INTERFACE *This, |
57 | IN CHAR16 *String, |
57 | IN CHAR16 *String, |
58 | IN CHAR16 *Pattern |
58 | IN CHAR16 *Pattern |
59 | ); |
59 | ); |
60 | 60 | ||
61 | VOID |
61 | VOID |
62 | LibStubStrLwrUpr ( |
62 | LibStubStrLwrUpr ( |
63 | IN EFI_UNICODE_COLLATION_INTERFACE *This, |
63 | IN EFI_UNICODE_COLLATION_INTERFACE *This, |
64 | IN CHAR16 *Str |
64 | IN CHAR16 *Str |
65 | ); |
65 | ); |
66 | 66 | ||
67 | BOOLEAN |
67 | BOOLEAN |
68 | LibMatchDevicePaths ( |
68 | LibMatchDevicePaths ( |
69 | IN EFI_DEVICE_PATH *Multi, |
69 | IN EFI_DEVICE_PATH *Multi, |
70 | IN EFI_DEVICE_PATH *Single |
70 | IN EFI_DEVICE_PATH *Single |
71 | ); |
71 | ); |
72 | 72 | ||
73 | EFI_DEVICE_PATH * |
73 | EFI_DEVICE_PATH * |
74 | LibDuplicateDevicePathInstance ( |
74 | LibDuplicateDevicePathInstance ( |
75 | IN EFI_DEVICE_PATH *DevPath |
75 | IN EFI_DEVICE_PATH *DevPath |
76 | ); |
76 | ); |
77 | 77 | ||
78 | 78 | ||
79 | // |
79 | // |
80 | // Globals |
80 | // Globals |
81 | // |
81 | // |
82 | extern BOOLEAN LibInitialized; |
82 | extern BOOLEAN LibInitialized; |
83 | extern BOOLEAN LibFwInstance; |
83 | extern BOOLEAN LibFwInstance; |
84 | extern SIMPLE_TEXT_OUTPUT_INTERFACE *LibRuntimeDebugOut; |
84 | extern SIMPLE_TEXT_OUTPUT_INTERFACE *LibRuntimeDebugOut; |
85 | extern EFI_UNICODE_COLLATION_INTERFACE *UnicodeInterface; |
85 | extern EFI_UNICODE_COLLATION_INTERFACE *UnicodeInterface; |
86 | extern EFI_UNICODE_COLLATION_INTERFACE LibStubUnicodeInterface; |
86 | extern EFI_UNICODE_COLLATION_INTERFACE LibStubUnicodeInterface; |
87 | extern EFI_RAISE_TPL LibRuntimeRaiseTPL; |
87 | extern EFI_RAISE_TPL LibRuntimeRaiseTPL; |
88 | extern EFI_RESTORE_TPL LibRuntimeRestoreTPL; |
88 | extern EFI_RESTORE_TPL LibRuntimeRestoreTPL; |
89 | 89 |