Changeset 80721 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/CryptoPkg/Library/IntrinsicLib/CopyMem.c
- Timestamp:
- Sep 11, 2019 8:46:37 AM (5 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-129237 /vendor/edk2/current 103735-103757,103769-103776,129194-133213
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/CryptoPkg/Library/IntrinsicLib/CopyMem.c
r48674 r80721 4 4 5 5 Copyright (c) 2010, Intel Corporation. All rights reserved.<BR> 6 This program and the accompanying materials 7 are licensed and made available under the terms and conditions of the BSD License 8 which accompanies this distribution. The full text of the license may be found at 9 http://opensource.org/licenses/bsd-license.php 10 11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 6 SPDX-License-Identifier: BSD-2-Clause-Patent 13 7 14 8 **/ … … 17 11 #include <Library/BaseMemoryLib.h> 18 12 13 #if defined(__clang__) && !defined(__APPLE__) 14 15 /* Copies bytes between buffers */ 16 static __attribute__((__used__)) 17 void * __memcpy (void *dest, const void *src, unsigned int count) 18 { 19 return CopyMem (dest, src, (UINTN)count); 20 } 21 __attribute__((__alias__("__memcpy"))) 22 void * memcpy (void *dest, const void *src, unsigned int count); 23 24 #else 19 25 /* Copies bytes between buffers */ 20 26 void * memcpy (void *dest, const void *src, unsigned int count) … … 22 28 return CopyMem (dest, src, (UINTN)count); 23 29 } 30 #endif
Note:
See TracChangeset
for help on using the changeset viewer.