mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-18 16:18:12 +02:00
Moved SetMemN API to a separate file to eliminate unnecessary inclusion of InternalMemSetMem64 and InternalMemSetMem32 APIs in driver binary. When the compiler linking the Object files it may not remove all the unused from NASM OBJs. This change is to reorganize the C files to minimize the impact of the NASM behavior resulting is code size reduction. Signed-off-by: Ashraf Ali <ashraf.ali.s@intel.com>
56 lines
1.3 KiB
INI
56 lines
1.3 KiB
INI
## @file
|
|
# Instance of Base Memory Library using EFI Boot Services.
|
|
#
|
|
# Base Memory Library implementation that uses EFI Boot Services
|
|
# where possible for size reduction.
|
|
#
|
|
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = UefiMemoryLib
|
|
MODULE_UNI_FILE = UefiMemoryLib.uni
|
|
FILE_GUID = f1bbe03d-2f28-4dee-bec7-d98d7a30c36a
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = BaseMemoryLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
|
|
|
|
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
|
|
[Sources]
|
|
ScanMem64Wrapper.c
|
|
ScanMem32Wrapper.c
|
|
ScanMem16Wrapper.c
|
|
ScanMem8Wrapper.c
|
|
ZeroMemWrapper.c
|
|
CompareMemWrapper.c
|
|
SetMemNWrapper.c
|
|
SetMem64Wrapper.c
|
|
SetMem32Wrapper.c
|
|
SetMem16Wrapper.c
|
|
SetMemWrapper.c
|
|
CopyMemWrapper.c
|
|
IsZeroBufferWrapper.c
|
|
MemLibGeneric.c
|
|
MemLibGuid.c
|
|
MemLib.c
|
|
MemLibInternals.h
|
|
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
UefiBootServicesTableLib
|
|
DebugLib
|
|
|