2 # Intel(r) UEFI Standard Libraries for EDK II.
5 # See the comments in the [LibraryClasses.IA32] and [BuildOptions] sections
6 # for important information about configuring this package for your
9 # This package contains:
12 # Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
13 # This program and the accompanying materials
14 # are licensed and made available under the terms and conditions of the BSD License
15 # which accompanies this distribution. The full text of the license may be found at
16 # http://opensource.org/licenses/bsd-license.
18 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
19 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
23 PLATFORM_NAME = StdLib
24 PLATFORM_GUID = 6135e67b-d813-4e4a-93c3-945d6af41858
25 PLATFORM_VERSION = 0.01
26 DSC_SPECIFICATION = 0x00010006
27 OUTPUT_DIRECTORY = Build/StdLib
28 SUPPORTED_ARCHITECTURES = IA32|IPF|X64
29 BUILD_TARGETS = DEBUG|RELEASE
30 SKUID_IDENTIFIER = DEFAULT
35 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
36 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
38 [PcdsFixedAtBuild.IPF]
42 # Entry Point Libraries
44 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
45 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
49 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
50 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
51 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
52 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
53 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
54 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
55 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
56 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
57 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
58 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
59 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
60 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
61 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
62 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
63 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
64 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
65 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
66 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
67 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
68 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
69 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
70 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
71 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
74 # C Standard Libraries
76 LibC|StdLib/LibC/LibC.inf
77 LibStdLib|StdLib/LibC/StdLib/StdLib.inf
78 LibString|StdLib/LibC/String/String.inf
79 LibWchar|StdLib/LibC/Wchar/Wchar.inf
80 LibCType|StdLib/LibC/Ctype/Ctype.inf
81 LibTime|StdLib/LibC/Time/Time.inf
82 LibStdio|StdLib/LibC/Stdio/Stdio.inf
83 LibGdtoa|StdLib/LibC/gdtoa/gdtoa.inf
84 LibLocale|StdLib/LibC/Locale/Locale.inf
85 LibUefi|StdLib/LibC/Uefi/Uefi.inf
86 LibMath|StdLib/LibC/Math/Math.inf
87 LibSignal|StdLib/LibC/Signal/Signal.inf
88 LibNetUtil|StdLib/LibC/NetUtil/NetUtil.inf
90 # Libraries for device abstractions within the Standard C Library
91 # Applications should not directly access any functions defined in these libraries.
92 DevUtility|StdLib/LibC/Uefi/Devices/daUtility.inf
93 DevConsole|StdLib/LibC/Uefi/Devices/daConsole.inf
94 DevShell|StdLib/LibC/Uefi/Devices/daShell.inf
97 TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
98 ## Comment out the above line and un-comment the line below for running under Nt32 emulation.
99 # TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
102 TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
105 PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf
106 TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
108 ###################################################################################################
110 # Components Section - list of the modules and components that will be processed by compilation
111 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
113 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
114 # into firmware volume images. This section is just a list of modules to compile from
115 # source into UEFI-compliant binaries.
116 # It is the FDF file that contains information on combining binary files into firmware
117 # volume images, whose concept is beyond UEFI and is described in PI specification.
118 # Binary modules do not need to be listed in this section, as they should be
119 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
120 # Logo (Logo.bmp), and etc.
121 # There may also be modules listed in this section that are not required in the FDF file,
122 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
123 # generated for it, but the binary will not be put into any firmware volume.
125 ###################################################################################################
128 # BaseLib and BaseMemoryLib need to be built with the /GL- switch when using the Microsoft
129 # tool chain. This is required so that the library functions can be resolved during
130 # the second pass of the linker during Link-time-code-generation.
132 # MdePkg/Library/BaseLib/BaseLib.inf {
134 # MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t /GL-
137 # MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf {
139 # MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t /GL-
142 # Standard C Libraries.
144 StdLib/LibC/StdLib/StdLib.inf
145 StdLib/LibC/String/String.inf
146 StdLib/LibC/Wchar/Wchar.inf
147 StdLib/LibC/Ctype/Ctype.inf
148 StdLib/LibC/Time/Time.inf
149 StdLib/LibC/Stdio/Stdio.inf
150 StdLib/LibC/gdtoa/gdtoa.inf
151 StdLib/LibC/Locale/Locale.inf
152 StdLib/LibC/Uefi/Uefi.inf
153 StdLib/LibC/Math/Math.inf
154 StdLib/LibC/Signal/Signal.inf
155 StdLib/LibC/NetUtil/NetUtil.inf
157 # Device Abstractions within the Standard C Library
158 # Applications should not directly access any functions defined in these libraries.
159 StdLib/LibC/Uefi/Devices/daUtility.inf
160 StdLib/LibC/Uefi/Devices/daConsole.inf
161 StdLib/LibC/Uefi/Devices/daShell.inf
163 ################################################################
165 # See the additional comments below if you plan to run applications under the
166 # Nt32 emulation environment.
170 INTEL:*_*_*_CC_FLAGS = /Qfreestanding
171 MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t
172 GCC:*_*_*_CC_FLAGS = -ffreestanding -nostdinc -nostdlib
174 # The Build Options, below, are only used when building the C library
175 # to be run under the NT32 emulation. They disable the clock() system call
176 # which is currently incompatible with the NT32 environment.
177 # Just uncomment the lines below and select the correct TimerLib instance, above.
179 # INTEL:*_*_IA32_CC_FLAGS = /D NT32dvm
180 # MSFT:*_*_IA32_CC_FLAGS = /D NT32dvm
181 # GCC:*_*_IA32_CC_FLAGS = -DNT32dvm