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