+++ /dev/null
-//------------------------------------------------------------------------------\r
-//\r
-// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-// Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>\r
-//\r
-// This program and the accompanying materials\r
-// are licensed and made available under the terms and conditions of the BSD License\r
-// which accompanies this distribution. The full text of the license may be found at\r
-// http://opensource.org/licenses/bsd-license.php\r
-//\r
-// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-//\r
-//------------------------------------------------------------------------------\r
-\r
-\r
- EXPORT __aeabi_memset\r
- EXPORT __aeabi_memclr\r
- EXPORT __aeabi_memclr4\r
-\r
- AREA Memset, CODE, READONLY\r
-\r
-; void __aeabi_memclr4(void *dest, size_t n);\r
-; void __aeabi_memclr(void *dest, size_t n);\r
-__aeabi_memclr\r
-__aeabi_memclr4\r
- mov r2, #0\r
-\r
-;\r
-;VOID\r
-;EFIAPI\r
-;__aeabi_memset (\r
-; IN VOID *Destination,\r
-; IN UINT32 Size,\r
-; IN UINT32 Character\r
-; );\r
-;\r
-__aeabi_memset\r
- cmp r1, #0\r
- bxeq lr\r
- ; args = 0, pretend = 0, frame = 0\r
- ; frame_needed = 1, uses_anonymous_args = 0\r
-L10\r
- strb r2, [r0], #1\r
- subs r1, r1, #1\r
- ; While size is not 0\r
- bne L10\r
- bx lr\r
-\r
- END\r