]>
Commit | Line | Data |
---|---|---|
30fdf114 | 1 | /** @file\r |
f7496d71 LG |
2 | Prototypes for binder functions that allow common code to be written which then\r |
3 | links to implementation of these functions which is appropriate for the specific\r | |
97fa0ee9 | 4 | environment that they are running under.\r |
f7496d71 LG |
5 | \r |
6 | Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
2e351cbe | 7 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
30fdf114 | 8 | \r |
30fdf114 LG |
9 | **/\r |
10 | \r | |
11 | #ifndef BinderFuncs_h_INCLUDED\r | |
12 | #define BinderFuncs_h_INCLUDED\r | |
13 | \r | |
14 | #include "Common/UefiBaseTypes.h"\r | |
15 | \r | |
16 | //\r | |
17 | // Binder Function Prototypes\r | |
18 | //\r | |
19 | // These binding functions must be implemented externally as appropriate for\r | |
20 | // the environment that the code will be running under.\r | |
21 | //\r | |
22 | \r | |
23 | VOID *\r | |
24 | CommonLibBinderAllocate (\r | |
25 | IN UINTN Size\r | |
26 | );\r | |
27 | \r | |
28 | VOID\r | |
29 | CommonLibBinderFree (\r | |
30 | IN VOID *Pointer\r | |
31 | );\r | |
32 | \r | |
33 | VOID\r | |
34 | CommonLibBinderCopyMem (\r | |
35 | IN VOID *Destination,\r | |
36 | IN VOID *Source,\r | |
37 | IN UINTN Length\r | |
38 | );\r | |
39 | \r | |
40 | VOID\r | |
41 | CommonLibBinderSetMem (\r | |
42 | IN VOID *Destination,\r | |
43 | IN UINTN Length,\r | |
44 | IN UINT8 Value\r | |
45 | );\r | |
46 | \r | |
47 | INTN\r | |
48 | CommonLibBinderCompareMem (\r | |
49 | IN VOID *MemOne,\r | |
50 | IN VOID *MemTwo,\r | |
51 | IN UINTN Length\r | |
52 | );\r | |
53 | \r | |
54 | BOOLEAN\r | |
55 | CommonLibBinderCompareGuid (\r | |
56 | IN EFI_GUID *Guid1,\r | |
57 | IN EFI_GUID *Guid2\r | |
58 | );\r | |
59 | \r | |
60 | #endif // #ifndef CommonLibs_h_INCLUDED\r | |
61 | \r |