1## @file
2#  Instance of Base Memory Library with some ARM ldm/stm assembly.
3#
4#  This is a copy of the MdePkg BaseMemoryLib with the CopyMem and
5#  SetMem worker functions replaced with assembler that uses
6#  ldm/stm.
7#
8#  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
9#  Portions copyright (c) 2010, Apple Inc. All rights reserved.<BR>
10#  Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
11#
12#  This program and the accompanying materials
13#  are licensed and made available under the terms and conditions of the BSD License
14#  which accompanies this distribution. The full text of the license may be found at
15#  http://opensource.org/licenses/bsd-license.php
16#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18#
19#
20##
21
22[Defines]
23  INF_VERSION                    = 0x00010005
24  BASE_NAME                      = BaseMemoryLibStm
25  FILE_GUID                      = 4D466AF3-2380-448D-A337-E4033F29F3F7
26  MODULE_TYPE                    = BASE
27  VERSION_STRING                 = 1.0
28  LIBRARY_CLASS                  = BaseMemoryLib
29
30
31#
32#  VALID_ARCHITECTURES           = ARM AARCH64
33#
34
35
36[Sources.Common]
37  ScanMem64Wrapper.c
38  ScanMem32Wrapper.c
39  ScanMem16Wrapper.c
40  ScanMem8Wrapper.c
41  ZeroMemWrapper.c
42  CompareMemWrapper.c
43  SetMem64Wrapper.c
44  SetMem32Wrapper.c
45  SetMem16Wrapper.c
46  SetMemWrapper.c
47  CopyMemWrapper.c
48  MemLibGeneric.c
49  MemLibGuid.c
50  MemLibInternals.h
51
52[Sources.ARM]
53  Arm/CopyMem.asm
54  Arm/CopyMem.S
55  Arm/SetMem.asm
56  Arm/SetMem.S
57
58[Sources.AARCH64]
59  AArch64/CopyMem.c
60  AArch64/SetMem.c
61
62[Packages]
63  MdePkg/MdePkg.dec
64  ArmPkg/ArmPkg.dec
65
66[LibraryClasses]
67  DebugLib
68  BaseLib
69
70