]>
Commit | Line | Data |
---|---|---|
d39eb83c | 1 | ## @file\r |
2 | # Instance of Base Memory Library with some ARM vldm/vstm assembly.\r | |
3 | #\r | |
4 | # This is a copy of the MdePkg BaseMemoryLib with the CopyMem and \r | |
5 | # SetMem worker functions replaced with assembler that uses \r | |
6 | # vldm/vstm (part of NEON SIMD, optional in ARMv7-A).\r | |
7 | #\r | |
8 | # Note: You need to enable NEON in SEC to use this library\r | |
9 | # // Enable NEON register in case folks want to use them for optimizations (CopyMem)\r | |
10 | # mrc p15, 0, r0, c1, c0, 2\r | |
11 | # orr r0, r0, #0x00f00000 // Enable VPF access (V* instructions)\r | |
12 | # mcr p15, 0, r0, c1, c0, 2\r | |
13 | # mov r0, #0x40000000 // Set EN bit in FPEXC\r | |
14 | # msr FPEXC,r0\r | |
15 | #\r | |
d6ebcab7 HT |
16 | # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r |
17 | # Portions copyright (c) 2010, Apple Inc. All rights reserved.<BR>\r | |
d39eb83c | 18 | #\r |
d6ebcab7 | 19 | # This program and the accompanying materials\r |
d39eb83c | 20 | # are licensed and made available under the terms and conditions of the BSD License\r |
21 | # which accompanies this distribution. The full text of the license may be found at\r | |
22 | # http://opensource.org/licenses/bsd-license.php\r | |
23 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
24 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
25 | #\r | |
26 | #\r | |
27 | ##\r | |
28 | \r | |
29 | [Defines]\r | |
30 | INF_VERSION = 0x00010005\r | |
31 | BASE_NAME = BaseMemoryLibVstm\r | |
32 | FILE_GUID = 09EE1E8D-7A2E-4573-8117-68A18569C1F5\r | |
33 | MODULE_TYPE = BASE\r | |
34 | VERSION_STRING = 1.0\r | |
35 | LIBRARY_CLASS = BaseMemoryLib \r | |
36 | \r | |
37 | \r | |
38 | #\r | |
39 | # VALID_ARCHITECTURES = ARM\r | |
40 | #\r | |
41 | \r | |
42 | [Sources.ARM]\r | |
43 | ScanMem64Wrapper.c\r | |
44 | ScanMem32Wrapper.c\r | |
45 | ScanMem16Wrapper.c\r | |
46 | ScanMem8Wrapper.c\r | |
47 | ZeroMemWrapper.c\r | |
48 | CompareMemWrapper.c\r | |
49 | SetMem64Wrapper.c\r | |
50 | SetMem32Wrapper.c\r | |
51 | SetMem16Wrapper.c\r | |
52 | SetMemWrapper.c\r | |
53 | CopyMemWrapper.c\r | |
54 | MemLibGeneric.c\r | |
55 | MemLibGuid.c \r | |
56 | MemLibInternals.h\r | |
57 | Arm/CopyMem.asm\r | |
58 | Arm/CopyMem.S\r | |
59 | Arm/SetMem.asm\r | |
60 | Arm/SetMem.S\r | |
61 | \r | |
62 | \r | |
63 | [Packages]\r | |
64 | MdePkg/MdePkg.dec\r | |
65 | \r | |
66 | [LibraryClasses]\r | |
67 | DebugLib\r | |
68 | BaseLib\r | |
69 | \r |