VirtualBox

Ignore:
Timestamp:
Sep 11, 2019 8:46:37 AM (5 years ago)
Author:
vboxsync
Message:

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/CryptoPkg/Library/IntrinsicLib/CopyMem.c

    r48674 r80721  
    44
    55Copyright (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.
     6SPDX-License-Identifier: BSD-2-Clause-Patent
    137
    148**/
     
    1711#include <Library/BaseMemoryLib.h>
    1812
     13#if defined(__clang__) && !defined(__APPLE__)
     14
     15/* Copies bytes between buffers */
     16static __attribute__((__used__))
     17void * __memcpy (void *dest, const void *src, unsigned int count)
     18{
     19  return CopyMem (dest, src, (UINTN)count);
     20}
     21__attribute__((__alias__("__memcpy")))
     22void * memcpy (void *dest, const void *src, unsigned int count);
     23
     24#else
    1925/* Copies bytes between buffers */
    2026void * memcpy (void *dest, const void *src, unsigned int count)
     
    2228  return CopyMem (dest, src, (UINTN)count);
    2329}
     30#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette