]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/Common/BinderFuncs.c
2 Binder function implementations for ANSI C libraries.
4 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #include "BinderFuncs.h"
10 #include "CommonLib.h"
15 // Binder Function Implementations
19 CommonLibBinderAllocate (
23 return (VOID
*) malloc (Size
);
35 CommonLibBinderCopyMem (
41 memmove (Destination
, Source
, Length
);
45 CommonLibBinderSetMem (
51 memset (Destination
, Value
, Length
);
55 CommonLibBinderCompareMem (
61 return memcmp (MemOne
, MemTwo
, Length
);
65 CommonLibBinderCompareGuid (
70 return CompareGuid (Guid1
, Guid2
) ? FALSE
: TRUE
;