Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.msa
CommitLineData
878ddf1f 1<?xml version="1.0" encoding="UTF-8"?>\r
a537f148 2<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
3bdeb048 3 <MsaHeader>\r
4 <ModuleName>UefiLib</ModuleName>\r
a537f148 5 <ModuleType>DXE_DRIVER</ModuleType>\r
3bdeb048 6 <GuidValue>3a004ba5-efe0-4a61-9f1a-267a46ae5ba9</GuidValue>\r
7 <Version>1.0</Version>\r
878ddf1f 8 <Abstract>Component description file for the entry point to a EFIDXE Drivers</Abstract>\r
a537f148 9 <Description>Library to abstract Framework extensions that conflict with UEFI 2.0 Specification
10
11 Help Port Framework/Tinao code that has conflicts with UEFI 2.0 by hiding the oldconflicts with library functions and supporting implementations of the old
12 (EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way. This module is a DXE driver as it contains DXE enum extensions for EFI event services.</Description>\r
abf537ea 13 <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>\r
53b86193 14 <License>All rights reserved. This program and the accompanying materials
15 are licensed and made available under the terms and conditions of the BSD License
16 which accompanies this distribution. The full text of the license may be found at
17 http://opensource.org/licenses/bsd-license.php
18 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
3bdeb048 19 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
20 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
21 </MsaHeader>\r
22 <ModuleDefinitions>\r
23 <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
24 <BinaryModule>false</BinaryModule>\r
25 <OutputFileBasename>UefiLib</OutputFileBasename>\r
26 </ModuleDefinitions>\r
5b2a7957 27 <LibraryClassDefinitions>\r
f5c96748 28 <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER">\r
3bdeb048 29 <Keyword>UefiLib</Keyword>\r
30 </LibraryClass>\r
31 <LibraryClass Usage="ALWAYS_CONSUMED">\r
32 <Keyword>UefiBootServicesTableLib</Keyword>\r
33 </LibraryClass>\r
34 <LibraryClass Usage="ALWAYS_CONSUMED">\r
35 <Keyword>BaseLib</Keyword>\r
36 </LibraryClass>\r
37 <LibraryClass Usage="ALWAYS_CONSUMED">\r
38 <Keyword>BaseMemoryLib</Keyword>\r
39 </LibraryClass>\r
40 <LibraryClass Usage="ALWAYS_CONSUMED">\r
41 <Keyword>DebugLib</Keyword>\r
42 </LibraryClass>\r
43 <LibraryClass Usage="ALWAYS_CONSUMED">\r
44 <Keyword>MemoryAllocationLib</Keyword>\r
45 </LibraryClass>\r
22d9199f 46 <LibraryClass Usage="ALWAYS_CONSUMED">\r
47 <Keyword>PcdLib</Keyword>\r
48 </LibraryClass>\r
49 <LibraryClass Usage="ALWAYS_CONSUMED">\r
50 <Keyword>PrintLib</Keyword>\r
51 </LibraryClass>\r
878ddf1f 52 </LibraryClassDefinitions>\r
5b2a7957 53 <SourceFiles>\r
878ddf1f 54 <Filename>UefiLib.c</Filename>\r
55 <Filename>Console.c</Filename>\r
56 <Filename>UefiNotTiano.c</Filename>\r
22d9199f 57 <Filename>UefiLibPrint.c</Filename>\r
878ddf1f 58 </SourceFiles>\r
3bdeb048 59 <PackageDependencies>\r
60 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
61 </PackageDependencies>\r
5b2a7957 62 <Guids>\r
3bdeb048 63 <GuidCNames Usage="ALWAYS_CONSUMED">\r
53b86193 64 <GuidCName>gEfiEventLegacyBootGuid</GuidCName>\r
3bdeb048 65 </GuidCNames>\r
66 <GuidCNames Usage="ALWAYS_CONSUMED">\r
53b86193 67 <GuidCName>gEfiEventReadyToBootGuid</GuidCName>\r
3bdeb048 68 </GuidCNames>\r
69 <GuidCNames Usage="ALWAYS_CONSUMED">\r
53b86193 70 <GuidCName>gEfiFrameworkDevicePathGuid</GuidCName>\r
3bdeb048 71 </GuidCNames>\r
878ddf1f 72 </Guids>\r
3bdeb048 73 <Externs>\r
74 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
15b06e58 75 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
3bdeb048 76 </Externs>\r
22d9199f 77 <PcdCoded>\r
78 <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">\r
79 <C_Name>PcdUefiLibMaxPrintBufferSize</C_Name>\r
80 <TokenSpaceGuidCName>gEfiMdePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
81 <HelpText>This PCD is used by UefiLib APIs, which are Print, ErrorPrint, AsciiPrint, AsciiErrorPrint. If the length of the formatted Unicode or ASCII string is greater than PcdUefiLibMaxPrintBufferSize, then only the first (PcdUefiLibMaxPrintBufferSize / Sizeof(CHAR16)) Unicode characters or PcdUefiLibMaxPrintBufferSize Ascii characters are sent to the respective console.</HelpText>\r
82 </PcdEntry>\r
83 </PcdCoded>\r
3bdeb048 84</ModuleSurfaceArea>