]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - BaseTools/Source/C/Common/BinderFuncs.h
BaseTools: Convert incomplete expression with dangling while()
[mirror_edk2.git] / BaseTools / Source / C / Common / BinderFuncs.h
... / ...
CommitLineData
1/** @file\r
2Prototypes for binder functions that allow common code to be written which then \r
3links to implementation of these functions which is appropriate for the specific \r
4environment that they are running under.\r
5 \r
6Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved.<BR>\r
7This program and the accompanying materials\r
8are licensed and made available under the terms and conditions of the BSD License\r
9which accompanies this distribution. The full text of the license may be found at\r
10http://opensource.org/licenses/bsd-license.php\r
11\r
12THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13WITHOUT 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
29VOID *\r
30CommonLibBinderAllocate (\r
31 IN UINTN Size\r
32 );\r
33\r
34VOID\r
35CommonLibBinderFree (\r
36 IN VOID *Pointer\r
37 );\r
38\r
39VOID\r
40CommonLibBinderCopyMem (\r
41 IN VOID *Destination,\r
42 IN VOID *Source,\r
43 IN UINTN Length\r
44 );\r
45\r
46VOID\r
47CommonLibBinderSetMem (\r
48 IN VOID *Destination,\r
49 IN UINTN Length,\r
50 IN UINT8 Value\r
51 );\r
52\r
53INTN\r
54CommonLibBinderCompareMem (\r
55 IN VOID *MemOne,\r
56 IN VOID *MemTwo,\r
57 IN UINTN Length\r
58 );\r
59\r
60BOOLEAN\r
61CommonLibBinderCompareGuid (\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