TianoCore EDK2 master
Loading...
Searching...
No Matches
MdeLibs.dsc.inc
1## @file
2# Mde DSC include file for [LibraryClasses*] section of all Architectures.
3#
4# This file can be included to the [LibraryClasses*] section(s) of a platform DSC file
5# by using "!include MdePkg/MdeLibs.dsc.inc" to specify the library instances
6# of some EDKII basic/common library classes.
7#
8# Copyright (c) 2021 - 2024, Intel Corporation. All rights reserved.<BR>
9#
10# SPDX-License-Identifier: BSD-2-Clause-Patent
11#
12##
13
14[LibraryClasses]
15 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
16 ArmTrngLib|MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.inf
17 RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
18 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
19 SmmCpuRendezvousLib|MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.inf
20 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
21 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
22 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
23 StackCheckFailureHookLib|MdePkg/Library/StackCheckFailureHookLibNull/StackCheckFailureHookLibNull.inf
24
25!ifndef CUSTOM_STACK_CHECK_LIB
26 # If CUSTOM_STACK_CHECK_LIB is set, MdeLibs.dsc.inc will not link StackCheckLibNull and it is expected that the
27 # DSC being built is providing it's own implementation of StackCheckLib.
28 NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
29
30!endif
31
32[LibraryClasses.ARM, LibraryClasses.AARCH64]
33 #
34 # It is not possible to prevent the ARM/AARCH64 compilers from inserting generic intrinsic functions.
35 # This library provides the intrinsic functions generated by these compilers.
36 #
37 # Linking this here as a null library will cause all ARM/AARCH64 files to link against it and have
38 # definitions for the intrinsic functions.
39 #
40 NULL|MdePkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
#define NULL
Definition: Base.h:319