]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
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 | |
4 | environment that they are running under.\r | |
5 | \r | |
6 | Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved.<BR>\r | |
7 | This program and the accompanying materials\r | |
8 | are licensed and made available under the terms and conditions of the BSD License\r | |
9 | which accompanies this distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef BinderFuncs_h_INCLUDED\r | |
18 | #define BinderFuncs_h_INCLUDED\r | |
19 | \r | |
20 | #include "Common/UefiBaseTypes.h"\r | |
21 | \r | |
22 | //\r | |
23 | // Binder Function Prototypes\r | |
24 | //\r | |
25 | // These binding functions must be implemented externally as appropriate for\r | |
26 | // the environment that the code will be running under.\r | |
27 | //\r | |
28 | \r | |
29 | VOID *\r | |
30 | CommonLibBinderAllocate (\r | |
31 | IN UINTN Size\r | |
32 | );\r | |
33 | \r | |
34 | VOID\r | |
35 | CommonLibBinderFree (\r | |
36 | IN VOID *Pointer\r | |
37 | );\r | |
38 | \r | |
39 | VOID\r | |
40 | CommonLibBinderCopyMem (\r | |
41 | IN VOID *Destination,\r | |
42 | IN VOID *Source,\r | |
43 | IN UINTN Length\r | |
44 | );\r | |
45 | \r | |
46 | VOID\r | |
47 | CommonLibBinderSetMem (\r | |
48 | IN VOID *Destination,\r | |
49 | IN UINTN Length,\r | |
50 | IN UINT8 Value\r | |
51 | );\r | |
52 | \r | |
53 | INTN\r | |
54 | CommonLibBinderCompareMem (\r | |
55 | IN VOID *MemOne,\r | |
56 | IN VOID *MemTwo,\r | |
57 | IN UINTN Length\r | |
58 | );\r | |
59 | \r | |
60 | BOOLEAN\r | |
61 | CommonLibBinderCompareGuid (\r | |
62 | IN EFI_GUID *Guid1,\r | |
63 | IN EFI_GUID *Guid2\r | |
64 | );\r | |
65 | \r | |
66 | #endif // #ifndef CommonLibs_h_INCLUDED\r | |
67 | \r |