]>
git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/CompilerIntrinsicsLib/memcpy_ms.c
1 //------------------------------------------------------------------------------
3 // Copyright (c) 2017, Pete Batard. All rights reserved.<BR>
5 // This program and the accompanying materials are licensed and made
6 // available under the terms and conditions of the BSD License which
7 // accompanies this distribution. The full text of the license may be
8 // found at http://opensource.org/licenses/bsd-license.php
10 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
14 //------------------------------------------------------------------------------
17 typedef unsigned __int64
size_t;
19 typedef unsigned __int32
size_t;
22 void* memcpy(void *, const void *, size_t);
23 #pragma intrinsic(memcpy)
24 #pragma function(memcpy)
25 void* memcpy(void *dest
, const void *src
, size_t n
)
27 unsigned char *d
= dest
;
28 unsigned char const *s
= src
;