Fix a bug in PeiDxeDebugLibReportStatusCode: it should use gReportStatusCodeDebugType so that report status code infrastructure can correctly extract debug info. Fix functional and coding style issues in the three instances in EdkModulePkg, namely: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibStderr, EdkUefiDebugLibConout. DevicePathLib: Sync with MWG 0.57 and add new interface of CreateDevicePathNode(). All the function headers have been updated. PeiServicesLib: Adjust coding style and fix a minor comment error. PciLib: Adjust assert() condition to sync with MWG 0.57 BaseMemoryLib: Adjust assert() for ScanMemXX (), ScanGuid() Rename UefiMemoryLib to DxeMemoryLib PrintLib: Change the return value of all print services to exclude the NULL-terminator. Misc: Slightly adjust the coding style in hob.c in PeiCore module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@757 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			85 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			85 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
 | 
						|
  <MsaHeader>
 | 
						|
    <ModuleName>EdkDxeDebugLibReportStatusCode</ModuleName>
 | 
						|
    <ModuleType>DXE_DRIVER</ModuleType>
 | 
						|
    <GuidValue>76a2a4d8-f605-407a-8057-4a17dcdc4c6d</GuidValue>
 | 
						|
    <Version>1.0</Version>
 | 
						|
    <Abstract>Debug Library for DXE drivers</Abstract>
 | 
						|
    <Description>FIX ME!</Description>
 | 
						|
    <Copyright>Copyright (c) 2004-2006, Intel Corporation</Copyright>
 | 
						|
    <License>All rights reserved. This program and the accompanying materials
 | 
						|
      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
 | 
						|
      http://opensource.org/licenses/bsd-license.php
 | 
						|
      THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | 
						|
      WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>
 | 
						|
    <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052</Specification>
 | 
						|
  </MsaHeader>
 | 
						|
  <ModuleDefinitions>
 | 
						|
    <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
 | 
						|
    <BinaryModule>false</BinaryModule>
 | 
						|
    <OutputFileBasename>EdkDxeDebugLibReportStatusCode</OutputFileBasename>
 | 
						|
  </ModuleDefinitions>
 | 
						|
  <LibraryClassDefinitions>
 | 
						|
    <LibraryClass Usage="ALWAYS_PRODUCED">
 | 
						|
      <Keyword>DebugLib</Keyword>
 | 
						|
    </LibraryClass>
 | 
						|
    <LibraryClass Usage="ALWAYS_CONSUMED">
 | 
						|
      <Keyword>ReportStatusCodeLib</Keyword>
 | 
						|
    </LibraryClass>
 | 
						|
    <LibraryClass Usage="ALWAYS_CONSUMED">
 | 
						|
      <Keyword>BaseMemoryLib</Keyword>
 | 
						|
    </LibraryClass>
 | 
						|
    <LibraryClass Usage="ALWAYS_CONSUMED">
 | 
						|
      <Keyword>BaseLib</Keyword>
 | 
						|
    </LibraryClass>
 | 
						|
    <LibraryClass Usage="ALWAYS_CONSUMED">
 | 
						|
      <Keyword>PcdLib</Keyword>
 | 
						|
    </LibraryClass>
 | 
						|
    <LibraryClass Usage="ALWAYS_CONSUMED">
 | 
						|
      <Keyword>UefiBootServicesTableLib</Keyword>
 | 
						|
    </LibraryClass>
 | 
						|
  </LibraryClassDefinitions>
 | 
						|
  <SourceFiles>
 | 
						|
    <Filename>DebugLib.c</Filename>
 | 
						|
  </SourceFiles>
 | 
						|
  <PackageDependencies>
 | 
						|
    <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
 | 
						|
    <Package PackageGuid="B6EC423C-21D2-490D-85C6-DD5864EAA674"/>
 | 
						|
  </PackageDependencies>
 | 
						|
  <Protocols>
 | 
						|
    <Protocol Usage="ALWAYS_PRODUCED">
 | 
						|
      <ProtocolCName>DebugLevel</ProtocolCName>
 | 
						|
    </Protocol>
 | 
						|
  </Protocols>
 | 
						|
  <Guids>
 | 
						|
    <GuidCNames Usage="ALWAYS_CONSUMED">
 | 
						|
      <GuidCName>StatusCodeDataTypeDebug</GuidCName>
 | 
						|
    </GuidCNames>
 | 
						|
  </Guids>
 | 
						|
  <Externs>
 | 
						|
    <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
 | 
						|
    <Specification>EDK_RELEASE_VERSION 0x00090000</Specification>
 | 
						|
    <Extern>
 | 
						|
      <Constructor>DebugLibConstructor</Constructor>
 | 
						|
    </Extern>
 | 
						|
  </Externs>
 | 
						|
  <PcdCoded>
 | 
						|
    <PcdEntry PcdItemType="FIXED_AT_BUILD">
 | 
						|
      <C_Name>PcdDebugPropertyMask</C_Name>
 | 
						|
          <TokenSpaceGuidCName>gEfiMdePkgTokenSpaceGuid</TokenSpaceGuidCName>
 | 
						|
 | 
						|
      <HelpText/>
 | 
						|
    </PcdEntry>
 | 
						|
    <PcdEntry PcdItemType="FIXED_AT_BUILD">
 | 
						|
      <C_Name>PcdDebugClearMemoryValue</C_Name>
 | 
						|
      <TokenSpaceGuidCName>FIX_ME_PcdDebugClearMemoryValue</TokenSpaceGuidCName>
 | 
						|
      <HelpText/>
 | 
						|
    </PcdEntry>
 | 
						|
    <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
 | 
						|
      <C_Name>PcdDebugPrintErrorLevel</C_Name>
 | 
						|
          <TokenSpaceGuidCName>gEfiMdePkgTokenSpaceGuid</TokenSpaceGuidCName>
 | 
						|
 | 
						|
      <HelpText/>
 | 
						|
    </PcdEntry>
 | 
						|
  </PcdCoded>
 | 
						|
</ModuleSurfaceArea> |