2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2009-01-09 08:23:31 +01:00
|
|
|
# Instance of Base Memory Library optimized for use in DXE phase.
|
2007-10-07 01:23:49 +02:00
|
|
|
#
|
2009-01-09 08:23:31 +01:00
|
|
|
# Base Memory Library that is optimized for use in DXE phase.
|
|
|
|
# Uses REP, MMX, XMM registers as required for best performance.
|
2008-10-28 10:45:52 +01:00
|
|
|
#
|
2016-08-17 08:26:25 +02:00
|
|
|
# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
|
2007-10-07 01:23:49 +02:00
|
|
|
#
|
2010-04-23 18:13:53 +02:00
|
|
|
# This program and the accompanying materials
|
2007-10-07 01:23:49 +02:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
2010-06-25 23:56:02 +02:00
|
|
|
# http://opensource.org/licenses/bsd-license.php.
|
2007-10-07 01:23:49 +02:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2007-10-07 01:23:49 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = BaseMemoryLibOptDxe
|
2014-08-27 11:33:09 +02:00
|
|
|
MODULE_UNI_FILE = BaseMemoryLibOptDxe.uni
|
2007-10-07 01:23:49 +02:00
|
|
|
FILE_GUID = 02BD55C2-AB1D-4b75-B0FD-9A63AE09B31D
|
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = BaseMemoryLib
|
|
|
|
|
|
|
|
|
|
|
|
#
|
2016-09-02 13:34:22 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
|
2007-10-07 01:23:49 +02:00
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2007-10-07 01:23:49 +02:00
|
|
|
MemLibInternals.h
|
|
|
|
|
|
|
|
[Sources.Ia32]
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ScanMem64.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ScanMem64.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ScanMem32.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ScanMem32.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ScanMem16.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ScanMem16.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ScanMem8.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ScanMem8.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/CompareMem.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/CompareMem.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ZeroMem.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ZeroMem.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/SetMem64.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/SetMem64.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/SetMem32.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/SetMem32.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/SetMem16.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/SetMem16.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/SetMem.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/SetMem.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/CopyMem.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/CopyMem.S
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ScanMem64.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ScanMem64.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ScanMem32.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ScanMem32.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ScanMem16.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ScanMem16.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ScanMem8.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ScanMem8.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/CompareMem.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/CompareMem.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/ZeroMem.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/ZeroMem.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/SetMem64.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/SetMem64.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/SetMem32.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/SetMem32.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/SetMem16.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/SetMem16.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/SetMem.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/SetMem.asm
|
2016-05-31 03:52:07 +02:00
|
|
|
Ia32/CopyMem.nasm
|
2007-10-07 01:23:49 +02:00
|
|
|
Ia32/CopyMem.asm
|
2016-08-17 08:26:25 +02:00
|
|
|
Ia32/IsZeroBuffer.nasm
|
2016-09-16 12:25:52 +02:00
|
|
|
MemLibGuid.c
|
2007-10-07 01:23:49 +02:00
|
|
|
|
|
|
|
[Sources.X64]
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/ScanMem64.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/ScanMem64.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/ScanMem64.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/ScanMem32.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/ScanMem32.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/ScanMem32.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/ScanMem16.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/ScanMem16.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/ScanMem16.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/ScanMem8.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/ScanMem8.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/ScanMem8.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/CompareMem.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/CompareMem.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/CompareMem.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/ZeroMem.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/ZeroMem.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/ZeroMem.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/SetMem64.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/SetMem64.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/SetMem64.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/SetMem32.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/SetMem32.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/SetMem32.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/SetMem16.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/SetMem16.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/SetMem16.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/SetMem.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/SetMem.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/SetMem.S
|
2016-05-31 03:52:08 +02:00
|
|
|
X64/CopyMem.nasm
|
2008-09-25 05:24:17 +02:00
|
|
|
X64/CopyMem.asm
|
2008-10-24 03:57:37 +02:00
|
|
|
X64/CopyMem.S
|
2016-08-17 08:26:25 +02:00
|
|
|
X64/IsZeroBuffer.nasm
|
2016-09-16 12:25:52 +02:00
|
|
|
MemLibGuid.c
|
2016-09-06 16:06:38 +02:00
|
|
|
|
2016-09-09 14:55:34 +02:00
|
|
|
[Defines.ARM, Defines.AARCH64]
|
|
|
|
#
|
|
|
|
# The ARM implementations of this library may perform unaligned accesses, and
|
|
|
|
# may use DC ZVA instructions that are only allowed when the MMU and D-cache
|
|
|
|
# are on. Since SEC, PEI_CORE and PEIM modules may execute with the MMU off,
|
|
|
|
# omit them from the supported module types list for this library.
|
|
|
|
#
|
|
|
|
LIBRARY_CLASS = BaseMemoryLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_DRIVER UEFI_APPLICATION
|
|
|
|
|
2016-09-06 16:06:38 +02:00
|
|
|
[Sources.ARM]
|
|
|
|
Arm/ScanMem.S |GCC
|
|
|
|
Arm/SetMem.S |GCC
|
|
|
|
Arm/CopyMem.S |GCC
|
|
|
|
Arm/CompareMem.S |GCC
|
2016-09-16 12:25:52 +02:00
|
|
|
Arm/CompareGuid.S |GCC
|
2016-09-06 16:06:38 +02:00
|
|
|
|
|
|
|
Arm/ScanMem.asm |RVCT
|
|
|
|
Arm/SetMem.asm |RVCT
|
|
|
|
Arm/CopyMem.asm |RVCT
|
|
|
|
Arm/CompareMem.asm |RVCT
|
2016-09-16 12:25:52 +02:00
|
|
|
Arm/CompareGuid.asm |RVCT
|
2016-09-06 16:06:38 +02:00
|
|
|
|
2016-09-02 13:34:22 +02:00
|
|
|
[Sources.AARCH64]
|
|
|
|
AArch64/ScanMem.S
|
|
|
|
AArch64/SetMem.S
|
|
|
|
AArch64/CopyMem.S
|
|
|
|
AArch64/CompareMem.S
|
2016-09-16 12:25:52 +02:00
|
|
|
AArch64/CompareGuid.S
|
2016-09-02 13:34:22 +02:00
|
|
|
|
|
|
|
[Sources.ARM, Sources.AARCH64]
|
2016-09-06 16:06:38 +02:00
|
|
|
Arm/ScanMemGeneric.c
|
2016-09-16 12:25:52 +02:00
|
|
|
Arm/MemLibGuid.c
|
2016-09-06 16:06:38 +02:00
|
|
|
|
|
|
|
[Sources]
|
2007-10-07 01:23:49 +02:00
|
|
|
ScanMem64Wrapper.c
|
|
|
|
ScanMem32Wrapper.c
|
|
|
|
ScanMem16Wrapper.c
|
|
|
|
ScanMem8Wrapper.c
|
|
|
|
ZeroMemWrapper.c
|
|
|
|
CompareMemWrapper.c
|
|
|
|
SetMem64Wrapper.c
|
|
|
|
SetMem32Wrapper.c
|
|
|
|
SetMem16Wrapper.c
|
|
|
|
SetMemWrapper.c
|
|
|
|
CopyMemWrapper.c
|
2016-08-17 08:26:25 +02:00
|
|
|
IsZeroBufferWrapper.c
|
2007-10-07 01:23:49 +02:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
DebugLib
|
|
|
|
BaseLib
|
|
|
|
|