• BaseMemoryLib:

Modify some Aassert()s conditions to sync with MWG 0.56d
	Modify some defects in function header.
•	PostCodeLib:
Implement PeiDxePostCodeLibReportStatusCode.
•	Misc
Rename BaseDebugLibReportStatusCode to PeiDxeDebugLibReportStatusCode
	Remove tabs in all .c and .h files in MdePkg.
	Rename PeiServicesReinstallPpi() to PeiServicesReInstallPpi()
	Adjust some minor coding style in PeCoffLoaderGetEntryPointerLib()


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@626 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2006-06-26 10:18:28 +00:00
parent 23f52b03b4
commit 24e25d11c0
193 changed files with 2222 additions and 1554 deletions

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>UefiDevicePathLib</Library> <Library>UefiDevicePathLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>UefiDevicePathLib</Library> <Library>UefiDevicePathLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxeRuntimeDriverLib</Library> <Library>EdkDxeRuntimeDriverLib</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeHobLib</Library> <Library>DxeHobLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>EdkScsiLib</Library> <Library>EdkScsiLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>EdkScsiLib</Library> <Library>EdkScsiLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>EdkUsbLib</Library> <Library>EdkUsbLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>EdkUsbLib</Library> <Library>EdkUsbLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>EdkUsbLib</Library> <Library>EdkUsbLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>EdkUsbLib</Library> <Library>EdkUsbLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>EdkUsbLib</Library> <Library>EdkUsbLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>EdkUsbLib</Library> <Library>EdkUsbLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>EdkUsbLib</Library> <Library>EdkUsbLib</Library>

View File

@ -24,7 +24,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>BaseCacheMaintenanceLib</Library> <Library>BaseCacheMaintenanceLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library OverrideID="1111">DxeCoreUefiDecompressLibFromHob</Library> <Library OverrideID="1111">DxeCoreUefiDecompressLibFromHob</Library>
<Library OverrideID="1111">DxeCoreTianoDecompressLibFromHob</Library> <Library OverrideID="1111">DxeCoreTianoDecompressLibFromHob</Library>
<Library OverrideID="3333">DxeCoreCustomDecompressLibFromHob</Library> <Library OverrideID="3333">DxeCoreCustomDecompressLibFromHob</Library>

View File

@ -37,7 +37,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>BaseUefiTianoDecompressLib</Library> <Library>BaseUefiTianoDecompressLib</Library>
<Library>BaseCustomDecompressLibNull</Library> <Library>BaseCustomDecompressLibNull</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>PeiMemoryAllocationLib</Library> <Library>PeiMemoryAllocationLib</Library>
<Arch ArchType="IA32"> <Arch ArchType="IA32">

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>BaseCacheMaintenanceLib</Library> <Library>BaseCacheMaintenanceLib</Library>
<Library>BaseUefiTianoDecompressLib</Library> <Library>BaseUefiTianoDecompressLib</Library>
<Library>BaseCustomDecompressLibNull</Library> <Library>BaseCustomDecompressLibNull</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>PeiMemoryAllocationLib</Library> <Library>PeiMemoryAllocationLib</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>PeiServicesLib</Library> <Library>PeiServicesLib</Library>
<Library>PeiHobLib</Library> <Library>PeiHobLib</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BasePerformanceLibNull</Library> <Library>BasePerformanceLibNull</Library>
<Arch ArchType="IA32"> <Arch ArchType="IA32">
<Library OverrideID="6666">BasePeCoffGetEntryPointLib</Library> <Library OverrideID="6666">BasePeCoffGetEntryPointLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>HiiLib</Library> <Library>HiiLib</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -32,7 +32,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -33,7 +33,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
<Library>UefiDevicePathLib</Library> <Library>UefiDevicePathLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
<Library>UefiDevicePathLib</Library> <Library>UefiDevicePathLib</Library>
</Libraries> </Libraries>

View File

@ -36,7 +36,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>UefiDevicePathLib</Library> <Library>UefiDevicePathLib</Library>
</Libraries> </Libraries>
</ModuleBuildDescription> </ModuleBuildDescription>

View File

@ -33,6 +33,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
</Libraries> </Libraries>
</ModuleBuildDescription> </ModuleBuildDescription>

View File

@ -33,7 +33,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -29,7 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Libraries> <Libraries>
<Library>UefiBootServicesTableLib</Library> <Library>UefiBootServicesTableLib</Library>
<Library>BaseMemoryLib</Library> <Library>BaseMemoryLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>EdkDxeRuntimeDriverLib</Library> <Library>EdkDxeRuntimeDriverLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -33,7 +33,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
</Libraries> </Libraries>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeServicesTableLib</Library> <Library>DxeServicesTableLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -30,7 +30,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Libraries> <Libraries>
<Library>PeimEntryPoint</Library> <Library>PeimEntryPoint</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>PeiServicesTablePointerLib</Library> <Library>PeiServicesTablePointerLib</Library>
<Library>PeiMemoryLib</Library> <Library>PeiMemoryLib</Library>
<Library>PeiServicesLib</Library> <Library>PeiServicesLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
<Library>EdkDxeRuntimeDriverLib</Library> <Library>EdkDxeRuntimeDriverLib</Library>
<Arch ArchType="IPF"> <Arch ArchType="IPF">

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -36,7 +36,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
<Library>EdkDxeRuntimeDriverLib</Library> <Library>EdkDxeRuntimeDriverLib</Library>
</Libraries> </Libraries>

View File

@ -33,7 +33,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>PeiServicesLib</Library> <Library>PeiServicesLib</Library>
<Library OverrideID="4444">PeiServicesTablePointerLib</Library> <Library OverrideID="4444">PeiServicesTablePointerLib</Library>
<Library>PeiHobLib</Library> <Library>PeiHobLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>PeiMemoryLib</Library> <Library>PeiMemoryLib</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>PeiMemoryAllocationLib</Library> <Library>PeiMemoryAllocationLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>BaseMemoryLib</Library> <Library>BaseMemoryLib</Library>
<Library>EdkDxeRuntimeDriverLib</Library> <Library>EdkDxeRuntimeDriverLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Arch ArchType="IPF"> <Arch ArchType="IPF">
<Library>EdkDxeSalLib</Library> <Library>EdkDxeSalLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
</Libraries> </Libraries>
</ModuleBuildDescription> </ModuleBuildDescription>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>BasePrintLib</Library> <Library>BasePrintLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeIoLibCpuIo</Library> <Library>DxeIoLibCpuIo</Library>
<Library>BaseMemoryLib</Library> <Library>BaseMemoryLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>

View File

@ -32,7 +32,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiRuntimeServicesTableLib</Library> <Library>UefiRuntimeServicesTableLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>BaseMemoryLib</Library> <Library>BaseMemoryLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BasePrintLib</Library> <Library>BasePrintLib</Library>
<Library>EdkGraphicsLib</Library> <Library>EdkGraphicsLib</Library>
<Library>EdkIfrSupportLib</Library> <Library>EdkIfrSupportLib</Library>

View File

@ -32,7 +32,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiRuntimeServicesTableLib</Library> <Library>UefiRuntimeServicesTableLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>BasePrintLib</Library> <Library>BasePrintLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>

View File

@ -29,7 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</MbdHeader> </MbdHeader>
<Libraries> <Libraries>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>PeiMemoryLib</Library> <Library>PeiMemoryLib</Library>
<Library>PeiServicesLib</Library> <Library>PeiServicesLib</Library>

View File

@ -29,7 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Libraries> <Libraries>
<Library>UefiBootServicesTableLib</Library> <Library>UefiBootServicesTableLib</Library>
<Library>BaseMemoryLib</Library> <Library>BaseMemoryLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>EdkDxeRuntimeDriverLib</Library> <Library>EdkDxeRuntimeDriverLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>DxeServicesTableLib</Library> <Library>DxeServicesTableLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxeRuntimeDriverLib</Library> <Library>EdkDxeRuntimeDriverLib</Library>
<Library>DxeHobLib</Library> <Library>DxeHobLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiLib</Library> <Library>UefiLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkDxePrintLib</Library> <Library>EdkDxePrintLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
<Library>UefiDevicePathLib</Library> <Library>UefiDevicePathLib</Library>
</Libraries> </Libraries>

View File

@ -36,7 +36,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeServicesTableLib</Library> <Library>DxeServicesTableLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>EdkGenericBdsLib</Library> <Library>EdkGenericBdsLib</Library>
<Library>BasePrintLib</Library> <Library>BasePrintLib</Library>
<Library>EdkGraphicsLib</Library> <Library>EdkGraphicsLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>UefiDriverModelLib</Library> <Library>UefiDriverModelLib</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxePcdLib</Library> <Library>DxePcdLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
<Library>UefiDevicePathLib</Library> <Library>UefiDevicePathLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeWinNtLib</Library> <Library>DxeWinNtLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -36,7 +36,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeWinNtLib</Library> <Library>DxeWinNtLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -29,7 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</MbdHeader> </MbdHeader>
<Libraries> <Libraries>
<Library>UefiBootServicesTableLib</Library> <Library>UefiBootServicesTableLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeHobLib</Library> <Library>DxeHobLib</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>UefiLib</Library> <Library>UefiLib</Library>

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>UefiMemoryLib</Library> <Library>UefiMemoryLib</Library>
<Library>UefiDriverEntryPoint</Library> <Library>UefiDriverEntryPoint</Library>
<Library>DxeReportStatusCodeLib</Library> <Library>DxeReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>DxeWinNtLib</Library> <Library>DxeWinNtLib</Library>
<Library>DxeMemoryAllocationLib</Library> <Library>DxeMemoryAllocationLib</Library>
</Libraries> </Libraries>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>PeiServicesTablePointerLib</Library> <Library>PeiServicesTablePointerLib</Library>
<Library>PeiHobLib</Library> <Library>PeiHobLib</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -33,7 +33,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>PeiServicesLib</Library> <Library>PeiServicesLib</Library>
<Library>PeiServicesTablePointerLib</Library> <Library>PeiServicesTablePointerLib</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>PeiServicesTablePointerLib</Library> <Library>PeiServicesTablePointerLib</Library>
<Library>PeiHobLib</Library> <Library>PeiHobLib</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>PeiServicesTablePointerLib</Library> <Library>PeiServicesTablePointerLib</Library>
<Library>PeiHobLib</Library> <Library>PeiHobLib</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -29,7 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</MbdHeader> </MbdHeader>
<Libraries> <Libraries>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
<Library>PeiMemoryLib</Library> <Library>PeiMemoryLib</Library>
<Library>PeiServicesTablePointerLib</Library> <Library>PeiServicesTablePointerLib</Library>

View File

@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Library>PeiServicesTablePointerLib</Library> <Library>PeiServicesTablePointerLib</Library>
<Library>PeiHobLib</Library> <Library>PeiHobLib</Library>
<Library>PeiReportStatusCodeLib</Library> <Library>PeiReportStatusCodeLib</Library>
<Library>BaseDebugLibReportStatusCode</Library> <Library>PeiDxeDebugLibReportStatusCode</Library>
<Library>BaseLib</Library> <Library>BaseLib</Library>
</Libraries> </Libraries>
<BuildOptions ToolChain="MSFT"> <BuildOptions ToolChain="MSFT">

View File

@ -1,16 +1,16 @@
/** @file /** @file
Memory-only library functions with no library constructor/destructor Memory-only library functions with no library constructor/destructor
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: BaseLib.h Module Name: BaseLib.h
**/ **/
@ -873,7 +873,7 @@ IsListEmpty (
If Node is not a node in List and Node is not equal to List, then ASSERT(). If Node is not a node in List and Node is not equal to List, then ASSERT().
@param List A pointer to the head node of a doubly linked list. @param List A pointer to the head node of a doubly linked list.
@param Node A pointer to a node in the doubly linked list. @param Node A pointer to a node in the doubly linked list.
@retval TRUE Node is one of the nodes in the doubly linked list. @retval TRUE Node is one of the nodes in the doubly linked list.
@retval FALSE Node is not one of the nodes in the doubly linked list. @retval FALSE Node is not one of the nodes in the doubly linked list.
@ -901,7 +901,7 @@ IsNull (
If Node is not a node in List, then ASSERT(). If Node is not a node in List, then ASSERT().
@param List A pointer to the head node of a doubly linked list. @param List A pointer to the head node of a doubly linked list.
@param Node A pointer to a node in the doubly linked list. @param Node A pointer to a node in the doubly linked list.
@retval TRUE Node is the last node in the linked list. @retval TRUE Node is the last node in the linked list.
@retval FALSE Node is not the last node in the linked list. @retval FALSE Node is not the last node in the linked list.

View File

@ -1,16 +1,16 @@
/** @file /** @file
Memory-only library functions with no library constructor/destructor Memory-only library functions with no library constructor/destructor
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: BaseMemoryLib.h Module Name: BaseMemoryLib.h
**/ **/
@ -18,51 +18,48 @@
#define __BASE_MEMORY_LIB__ #define __BASE_MEMORY_LIB__
/** /**
Copy Length bytes from Source to Destination. Copies a source buffer to a destination buffer, and returns the destination buffer.
This function copies Length bytes from SourceBuffer to DestinationBuffer, and This function copies Length bytes from SourceBuffer to DestinationBuffer, and returns
returns DestinationBuffer. The implementation must be reentrant, and it must DestinationBuffer. The implementation must be reentrant, and it must handle the case
handle the case where SourceBuffer overlaps DestinationBuffer. where SourceBuffer overlaps DestinationBuffer.
If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT().
If Length is greater than (MAX_ADDRESS - SourceBuffer + 1), then ASSERT().
If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then @param DestinationBuffer Pointer to the destination buffer of the memory copy.
ASSERT(). @param SourceBuffer Pointer to the source buffer of the memory copy.
If Length is greater than (MAX_ADDRESS - SourceBuffer + 1), then ASSERT(). @param Length Number of bytes to copy from SourceBuffer to DestinationBuffer.
@param Destination Target of copy @return DestinationBuffer.
@param Source Place to copy from
@param Length Number of bytes to copy
@return Destination
**/ **/
VOID * VOID *
EFIAPI EFIAPI
CopyMem ( CopyMem (
OUT VOID *DestinationBuffer, OUT VOID *DestinationBuffer,
IN CONST VOID *SourceBuffer, IN CONST VOID *SourceBuffer,
IN UINTN Length IN UINTN Length
); );
/** /**
Set Buffer to Value for Size bytes. Fills a target buffer with a byte value, and returns the target buffer.
This function fills Length bytes of Buffer with Value, and returns Buffer. This function fills Length bytes of Buffer with Value, and returns Buffer.
If Length is greater than (MAX_ADDRESS Buffer + 1), then ASSERT().
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). @param Buffer Memory to set.
@param Length Number of bytes to set
@param Value Value of the set operation.
@param Buffer Memory to set. @return Buffer.
@param Size Number of bytes to set
@param Value Value of the set operation.
@return Buffer
**/ **/
VOID * VOID *
EFIAPI EFIAPI
SetMem ( SetMem (
OUT VOID *Buffer, OUT VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN UINT8 Value IN UINT8 Value
); );
/** /**
@ -72,7 +69,7 @@ SetMem (
Value, and returns Buffer. Value is repeated every 16-bits in for Length Value, and returns Buffer. Value is repeated every 16-bits in for Length
bytes of Buffer. bytes of Buffer.
If Buffer is NULL and Length > 0, then ASSERT(). If Length > 0 and Buffer is NULL, then ASSERT().
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
If Buffer is not aligned on a 16-bit boundary, then ASSERT(). If Buffer is not aligned on a 16-bit boundary, then ASSERT().
If Length is not aligned on a 16-bit boundary, then ASSERT(). If Length is not aligned on a 16-bit boundary, then ASSERT().
@ -81,15 +78,15 @@ SetMem (
@param Length Number of bytes in Buffer to fill. @param Length Number of bytes in Buffer to fill.
@param Value Value with which to fill Length bytes of Buffer. @param Value Value with which to fill Length bytes of Buffer.
@return Buffer @return Buffer.
**/ **/
VOID * VOID *
EFIAPI EFIAPI
SetMem16 ( SetMem16 (
OUT VOID *Buffer, OUT VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN UINT16 Value IN UINT16 Value
); );
/** /**
@ -99,7 +96,7 @@ SetMem16 (
Value, and returns Buffer. Value is repeated every 32-bits in for Length Value, and returns Buffer. Value is repeated every 32-bits in for Length
bytes of Buffer. bytes of Buffer.
If Buffer is NULL and Length > 0, then ASSERT(). If Length > 0 and Buffer is NULL, then ASSERT().
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
If Buffer is not aligned on a 32-bit boundary, then ASSERT(). If Buffer is not aligned on a 32-bit boundary, then ASSERT().
If Length is not aligned on a 32-bit boundary, then ASSERT(). If Length is not aligned on a 32-bit boundary, then ASSERT().
@ -108,15 +105,15 @@ SetMem16 (
@param Length Number of bytes in Buffer to fill. @param Length Number of bytes in Buffer to fill.
@param Value Value with which to fill Length bytes of Buffer. @param Value Value with which to fill Length bytes of Buffer.
@return Buffer @return Buffer.
**/ **/
VOID * VOID *
EFIAPI EFIAPI
SetMem32 ( SetMem32 (
OUT VOID *Buffer, OUT VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN UINT32 Value IN UINT32 Value
); );
/** /**
@ -126,7 +123,7 @@ SetMem32 (
Value, and returns Buffer. Value is repeated every 64-bits in for Length Value, and returns Buffer. Value is repeated every 64-bits in for Length
bytes of Buffer. bytes of Buffer.
If Buffer is NULL and Length > 0, then ASSERT(). If Length > 0 and Buffer is NULL, then ASSERT().
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
If Buffer is not aligned on a 64-bit boundary, then ASSERT(). If Buffer is not aligned on a 64-bit boundary, then ASSERT().
If Length is not aligned on a 64-bit boundary, then ASSERT(). If Length is not aligned on a 64-bit boundary, then ASSERT().
@ -135,232 +132,215 @@ SetMem32 (
@param Length Number of bytes in Buffer to fill. @param Length Number of bytes in Buffer to fill.
@param Value Value with which to fill Length bytes of Buffer. @param Value Value with which to fill Length bytes of Buffer.
@return Buffer @return Buffer.
**/ **/
VOID * VOID *
EFIAPI EFIAPI
SetMem64 ( SetMem64 (
OUT VOID *Buffer, OUT VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN UINT64 Value IN UINT64 Value
); );
/** /**
Set Buffer to 0 for Size bytes. Fills a target buffer with zeros, and returns the target buffer.
This function fills Length bytes of Buffer with zeros, and returns Buffer. This function fills Length bytes of Buffer with zeros, and returns Buffer.
If Length > 0 and Buffer is NULL, then ASSERT().
If Length is greater than (MAX_ADDRESS Buffer + 1), then ASSERT().
If Buffer is NULL and Length > 0, then ASSERT(). @param Buffer Pointer to the target buffer to fill with zeros.
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). @param Length Number of bytes in Buffer to fill with zeros.
@param Buffer Memory to set. @return Buffer.
@param Size Number of bytes to set
@return Buffer
**/ **/
VOID * VOID *
EFIAPI EFIAPI
ZeroMem ( ZeroMem (
OUT VOID *Buffer, OUT VOID *Buffer,
IN UINTN Length IN UINTN Length
); );
/** /**
Compares two memory buffers of a given length. Compares the contents of two buffers.
This function compares Length bytes of SourceBuffer to Length bytes of This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer.
DestinationBuffer. If all Length bytes of the two buffers are identical, then If all Length bytes of the two buffers are identical, then 0 is returned. Otherwise, the
0 is returned. Otherwise, the value returned is the first mismatched byte in value returned is the first mismatched byte in SourceBuffer subtracted from the first
SourceBuffer subtracted from the first mismatched byte in DestinationBuffer. mismatched byte in DestinationBuffer.
If Length > 0 and DestinationBuffer is NULL and Length > 0, then ASSERT().
If Length > 0 and SourceBuffer is NULL and Length > 0, then ASSERT().
If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT().
If Length is greater than (MAX_ADDRESS - SourceBuffer + 1), then ASSERT().
If DestinationBuffer is NULL and Length > 0, then ASSERT().
If SourceBuffer is NULL and Length > 0, then ASSERT().
If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then
ASSERT().
If Length is greater than (MAX_ADDRESS - SourceBuffer + 1), then ASSERT().
@param DestinationBuffer First memory buffer @param DestinationBuffer Pointer to the destination buffer to compare.
@param SourceBuffer Second memory buffer @param SourceBuffer Pointer to the source buffer to compare.
@param Length Length of DestinationBuffer and SourceBuffer memory @param Length Number of bytes to compare.
regions to compare
@retval 0 if DestinationBuffer == SourceBuffer @return 0 All Length bytes of the two buffers are identical.
@retval Non-zero if DestinationBuffer != SourceBuffer @retval Non-zero The first mismatched byte in SourceBuffer subtracted from the first
mismatched byte in DestinationBuffer.
**/ **/
INTN INTN
EFIAPI EFIAPI
CompareMem ( CompareMem (
IN CONST VOID *DestinationBuffer, IN CONST VOID *DestinationBuffer,
IN CONST VOID *SourceBuffer, IN CONST VOID *SourceBuffer,
IN UINTN Length IN UINTN Length
); );
/** /**
Scans a target buffer for an 8-bit value, and returns a pointer to the Scans a target buffer for an 8-bit value, and returns a pointer to the matching 8-bit value
matching 8-bit value in the target buffer. in the target buffer.
This function searches target the buffer specified by Buffer and Length from This function searches target the buffer specified by Buffer and Length from the lowest
the lowest address to the highest address for an 8-bit value that matches address to the highest address for an 8-bit value that matches Value. If a match is found,
Value. If a match is found, then a pointer to the matching byte in the target then a pointer to the matching byte in the target buffer is returned. If no match is found,
buffer is returned. If no match is found, then NULL is returned. If Length is then NULL is returned. If Length is 0, then NULL is returned.
0, then NULL is returned. If Length > 0 and Buffer is NULL, then ASSERT().
If Length is greater than (MAX_ADDRESS Buffer + 1), then ASSERT().
If Buffer is NULL, then ASSERT(). @param Buffer Pointer to the target buffer to scan.
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). @param Length Number of bytes in Buffer to scan.
@param Value Value to search for in the target buffer.
@param Buffer Pointer to the target buffer to scan. @return A pointer to the matching byte in the target buffer or NULL otherwise.
@param Length Number of bytes in Buffer to scan.
@param Value Value to search for in the target buffer.
@return Pointer to the first occurrence or NULL if not found.
@retval NULL if Length == 0 or Value was not found.
**/ **/
VOID * VOID *
EFIAPI EFIAPI
ScanMem8 ( ScanMem8 (
IN CONST VOID *Buffer, IN CONST VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN UINT8 Value IN UINT8 Value
); );
/** /**
Scans a target buffer for a 16-bit value, and returns a pointer to the Scans a target buffer for a 16-bit value, and returns a pointer to the matching 16-bit value
matching 16-bit value in the target buffer. in the target buffer.
This function searches target the buffer specified by Buffer and Length from This function searches target the buffer specified by Buffer and Length from the lowest
the lowest address to the highest address at 16-bit increments for a 16-bit address to the highest address for a 16-bit value that matches Value. If a match is found,
value that matches Value. If a match is found, then a pointer to the matching then a pointer to the matching byte in the target buffer is returned. If no match is found,
value in the target buffer is returned. If no match is found, then NULL is then NULL is returned. If Length is 0, then NULL is returned.
returned. If Length is 0, then NULL is returned. If Length > 0 and Buffer is NULL, then ASSERT().
If Buffer is NULL, then ASSERT().
If Buffer is not aligned on a 16-bit boundary, then ASSERT(). If Buffer is not aligned on a 16-bit boundary, then ASSERT().
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). If Length is greater than (MAX_ADDRESS Buffer + 1), then ASSERT().
@param Buffer Pointer to the target buffer to scan. @param Buffer Pointer to the target buffer to scan.
@param Length Number of bytes in Buffer to scan. @param Length Number of bytes in Buffer to scan.
@param Value Value to search for in the target buffer. @param Value Value to search for in the target buffer.
@return Pointer to the first occurrence. @return A pointer to the matching byte in the target buffer or NULL otherwise.
@retval NULL if Length == 0 or Value was not found.
**/ **/
VOID * VOID *
EFIAPI EFIAPI
ScanMem16 ( ScanMem16 (
IN CONST VOID *Buffer, IN CONST VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN UINT16 Value IN UINT16 Value
); );
/** /**
Scans a target buffer for a 32-bit value, and returns a pointer to the Scans a target buffer for a 32-bit value, and returns a pointer to the matching 32-bit value
matching 32-bit value in the target buffer. in the target buffer.
This function searches target the buffer specified by Buffer and Length from This function searches target the buffer specified by Buffer and Length from the lowest
the lowest address to the highest address at 32-bit increments for a 32-bit address to the highest address for a 32-bit value that matches Value. If a match is found,
value that matches Value. If a match is found, then a pointer to the matching then a pointer to the matching byte in the target buffer is returned. If no match is found,
value in the target buffer is returned. If no match is found, then NULL is then NULL is returned. If Length is 0, then NULL is returned.
returned. If Length is 0, then NULL is returned. If Length > 0 and Buffer is NULL, then ASSERT().
If Buffer is NULL, then ASSERT().
If Buffer is not aligned on a 32-bit boundary, then ASSERT(). If Buffer is not aligned on a 32-bit boundary, then ASSERT().
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). If Length is greater than (MAX_ADDRESS Buffer + 1), then ASSERT().
@param Buffer Pointer to the target buffer to scan. @param Buffer Pointer to the target buffer to scan.
@param Length Number of bytes in Buffer to scan. @param Length Number of bytes in Buffer to scan.
@param Value Value to search for in the target buffer. @param Value Value to search for in the target buffer.
@return Pointer to the first occurrence or NULL if not found. @return A pointer to the matching byte in the target buffer or NULL otherwise.
@retval NULL if Length == 0 or Value was not found.
**/ **/
VOID * VOID *
EFIAPI EFIAPI
ScanMem32 ( ScanMem32 (
IN CONST VOID *Buffer, IN CONST VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN UINT32 Value IN UINT32 Value
); );
/** /**
Scans a target buffer for a 64-bit value, and returns a pointer to the Scans a target buffer for a 64-bit value, and returns a pointer to the matching 64-bit value
matching 64-bit value in the target buffer. in the target buffer.
This function searches target the buffer specified by Buffer and Length from This function searches target the buffer specified by Buffer and Length from the lowest
the lowest address to the highest address at 64-bit increments for a 64-bit address to the highest address for a 64-bit value that matches Value. If a match is found,
value that matches Value. If a match is found, then a pointer to the matching then a pointer to the matching byte in the target buffer is returned. If no match is found,
value in the target buffer is returned. If no match is found, then NULL is then NULL is returned. If Length is 0, then NULL is returned.
returned. If Length is 0, then NULL is returned. If Length > 0 and Buffer is NULL, then ASSERT().
If Buffer is NULL, then ASSERT().
If Buffer is not aligned on a 64-bit boundary, then ASSERT(). If Buffer is not aligned on a 64-bit boundary, then ASSERT().
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). If Length is greater than (MAX_ADDRESS Buffer + 1), then ASSERT().
@param Buffer Pointer to the target buffer to scan. @param Buffer Pointer to the target buffer to scan.
@param Length Number of bytes in Buffer to scan. @param Length Number of bytes in Buffer to scan.
@param Value Value to search for in the target buffer. @param Value Value to search for in the target buffer.
@return Pointer to the first occurrence or NULL if not found. @return A pointer to the matching byte in the target buffer or NULL otherwise.
@retval NULL if Length == 0 or Value was not found.
**/ **/
VOID * VOID *
EFIAPI EFIAPI
ScanMem64 ( ScanMem64 (
IN CONST VOID *Buffer, IN CONST VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN UINT64 Value IN UINT64 Value
); );
/** /**
This function copies a source GUID to a destination GUID. Copies a source GUID to a destination GUID.
This function copies the contents of the 128-bit GUID specified by SourceGuid
to DestinationGuid, and returns DestinationGuid.
This function copies the contents of the 128-bit GUID specified by SourceGuid to
DestinationGuid, and returns DestinationGuid.
If DestinationGuid is NULL, then ASSERT(). If DestinationGuid is NULL, then ASSERT().
If SourceGuid is NULL, then ASSERT(). If SourceGuid is NULL, then ASSERT().
@param DestinationGuid Pointer to the destination GUID. @param DestinationGuid Pointer to the destination GUID.
@param SourceGuid Pointer to the source GUID. @param SourceGuid Pointer to the source GUID.
@return DestinationGuid @return DestinationGuid.
**/ **/
GUID * GUID *
EFIAPI EFIAPI
CopyGuid ( CopyGuid (
OUT GUID *DestinationGuid, OUT GUID *DestinationGuid,
IN CONST GUID *SourceGuid IN CONST GUID *SourceGuid
); );
/** /**
Compares two GUIDs Compares two GUIDs.
This function compares Guid1 to Guid2. If the GUIDs are identical then TRUE
is returned. If there are any bit differences in the two GUIDs, then FALSE is
returned.
This function compares Guid1 to Guid2. If the GUIDs are identical then TRUE is returned.
If there are any bit differences in the two GUIDs, then FALSE is returned.
If Guid1 is NULL, then ASSERT(). If Guid1 is NULL, then ASSERT().
If Guid2 is NULL, then ASSERT(). If Guid2 is NULL, then ASSERT().
@param Guid1 guid to compare @param Guid1 A pointer to a 128 bit GUID.
@param Guid2 guid to compare @param Guid2 A pointer to a 128 bit GUID.
@retval TRUE if Guid1 == Guid2 @retval TRUE Guid1 and Guid2 are identical.
@retval FALSE if Guid1 != Guid2 @retval FALSE Guid1 and Guid2 are not identical.
**/ **/
BOOLEAN BOOLEAN
EFIAPI EFIAPI
CompareGuid ( CompareGuid (
IN CONST GUID *Guid1, IN CONST GUID *Guid1,
IN CONST GUID *Guid2 IN CONST GUID *Guid2
); );
/** /**
@ -368,28 +348,27 @@ CompareGuid (
in the target buffer. in the target buffer.
This function searches target the buffer specified by Buffer and Length from This function searches target the buffer specified by Buffer and Length from
the lowest address to the highest address at 128-bit increments for the the lowest address to the highest address at 128-bit increments for the 128-bit
128-bit GUID value that matches Guid. If a match is found, then a pointer to GUID value that matches Guid. If a match is found, then a pointer to the matching
the matching GUID in the target buffer is returned. If no match is found, GUID in the target buffer is returned. If no match is found, then NULL is returned.
then NULL is returned. If Length is 0, then NULL is returned. If Length is 0, then NULL is returned.
If Length > 0 and Buffer is NULL, then ASSERT().
If Buffer is NULL, then ASSERT().
If Buffer is not aligned on a 64-bit boundary, then ASSERT(). If Buffer is not aligned on a 64-bit boundary, then ASSERT().
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). If Length is greater than (MAX_ADDRESS Buffer + 1), then ASSERT().
@param Buffer Pointer to the target buffer to scan. @param Buffer Pointer to the target buffer to scan.
@param Length Number of bytes in Buffer to scan. @param Length Number of bytes in Buffer to scan.
@param Guid Value to search for in the target buffer. @param Guid Value to search for in the target buffer.
@return Pointer to the first occurrence. @return A pointer to the matching Guid in the target buffer or NULL otherwise.
@retval NULL if Length == 0 or Guid was not found.
**/ **/
VOID * VOID *
EFIAPI EFIAPI
ScanGuid ( ScanGuid (
IN CONST VOID *Buffer, IN CONST VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN CONST GUID *Guid IN CONST GUID *Guid
); );
#endif #endif

View File

@ -1,16 +1,16 @@
/** @file /** @file
Cache Maintenance Functions Cache Maintenance Functions
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: CacheMaintenanceLib.h Module Name: CacheMaintenanceLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Library that provides processor specific library services Library that provides processor specific library services
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: CpuLib.h Module Name: CpuLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Entry point to a DXE Boot Services Driver Entry point to a DXE Boot Services Driver
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: DevicePathLib.h Module Name: DevicePathLib.h
**/ **/
@ -18,13 +18,13 @@
#define __DEVICE_PATH_LIB_H__ #define __DEVICE_PATH_LIB_H__
/** /**
This function returns the size, in bytes, This function returns the size, in bytes,
of the device path data structure specified by DevicePath. of the device path data structure specified by DevicePath.
If DevicePath is NULL, then 0 is returned. If DevicePath is NULL, then 0 is returned.
@param DevicePath A pointer to a device path data structure. @param DevicePath A pointer to a device path data structure.
@return The size of a device path in bytes. @return The size of a device path in bytes.
**/ **/
UINTN UINTN
@ -35,12 +35,12 @@ GetDevicePathSize (
; ;
/** /**
This function allocates space for a new copy of the device path This function allocates space for a new copy of the device path
specified by DevicePath. specified by DevicePath.
@param DevicePath A pointer to a device path data structure. @param DevicePath A pointer to a device path data structure.
@return The duplicated device path. @return The duplicated device path.
**/ **/
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
@ -51,18 +51,18 @@ DuplicateDevicePath (
; ;
/** /**
This function appends the device path SecondDevicePath This function appends the device path SecondDevicePath
to every device path instance in FirstDevicePath. to every device path instance in FirstDevicePath.
@param FirstDevicePath A pointer to a device path data structure. @param FirstDevicePath A pointer to a device path data structure.
@param SecondDevicePath A pointer to a device path data structure. @param SecondDevicePath A pointer to a device path data structure.
@return @return
A pointer to the new device path is returned. A pointer to the new device path is returned.
NULL is returned if space for the new device path could not be allocated from pool. NULL is returned if space for the new device path could not be allocated from pool.
It is up to the caller to free the memory used by FirstDevicePath and SecondDevicePath It is up to the caller to free the memory used by FirstDevicePath and SecondDevicePath
if they are no longer needed. if they are no longer needed.
**/ **/
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
@ -95,16 +95,16 @@ AppendDevicePathNode (
; ;
/** /**
This function appends the device path instance Instance to the device path Source. This function appends the device path instance Instance to the device path Source.
If Source is NULL, then a new device path with one instance is created. If Source is NULL, then a new device path with one instance is created.
@param Source A pointer to a device path data structure. @param Source A pointer to a device path data structure.
@param Instance A pointer to a device path instance. @param Instance A pointer to a device path instance.
@return @return
A pointer to the new device path. A pointer to the new device path.
If there is not enough temporary pool memory available to complete this function, If there is not enough temporary pool memory available to complete this function,
then NULL is returned. then NULL is returned.
**/ **/
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
@ -116,17 +116,17 @@ AppendDevicePathInstance (
; ;
/** /**
Function retrieves the next device path instance from a device path data structure. Function retrieves the next device path instance from a device path data structure.
@param DevicePath A pointer to a device path data structure. @param DevicePath A pointer to a device path data structure.
@param Size A pointer to the size of a device path instance in bytes. @param Size A pointer to the size of a device path instance in bytes.
@return @return
This function returns a pointer to the current device path instance. This function returns a pointer to the current device path instance.
In addition, it returns the size in bytes of the current device path instance in Size, In addition, it returns the size in bytes of the current device path instance in Size,
and a pointer to the next device path instance in DevicePath. and a pointer to the next device path instance in DevicePath.
If there are no more device path instances in DevicePath, then DevicePath will be set to NULL. If there are no more device path instances in DevicePath, then DevicePath will be set to NULL.
**/ **/
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
@ -138,12 +138,12 @@ GetNextDevicePathInstance (
; ;
/** /**
Return TRUE is this is a multi instance device path. Return TRUE is this is a multi instance device path.
@param DevicePath A pointer to a device path data structure. @param DevicePath A pointer to a device path data structure.
@retval TRUE If DevicePath is multi-instance. @retval TRUE If DevicePath is multi-instance.
@retval FALSE If DevicePath is not multi-instance or DevicePath is NULL. @retval FALSE If DevicePath is not multi-instance or DevicePath is NULL.
**/ **/
BOOLEAN BOOLEAN
@ -154,13 +154,13 @@ IsDevicePathMultiInstance (
; ;
/** /**
This function retrieves the device path protocol from a handle. This function retrieves the device path protocol from a handle.
@param Handle The handle from which to retrieve the device path protocol. @param Handle The handle from which to retrieve the device path protocol.
@return @return
This function returns the device path protocol from the handle specified by Handle. This function returns the device path protocol from the handle specified by Handle.
If Handle is NULL or Handle does not contain a device path protocol, then NULL is returned. If Handle is NULL or Handle does not contain a device path protocol, then NULL is returned.
**/ **/
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
@ -171,18 +171,18 @@ DevicePathFromHandle (
; ;
/** /**
This function allocates a device path for a file and appends it to an existing device path. This function allocates a device path for a file and appends it to an existing device path.
@param Device A pointer to a device handle. This parameter is optional and may be NULL. @param Device A pointer to a device handle. This parameter is optional and may be NULL.
@param FileName A pointer to a Null-terminated Unicode string. @param FileName A pointer to a Null-terminated Unicode string.
@return @return
If Device is a valid device handle that contains a device path protocol, If Device is a valid device handle that contains a device path protocol,
then a device path for the file specified by FileName is allocated then a device path for the file specified by FileName is allocated
and appended to the device path associated with the handle Device. The allocated device path is returned. and appended to the device path associated with the handle Device. The allocated device path is returned.
If Device is NULL or Device is a handle that does not support the device path protocol, If Device is NULL or Device is a handle that does not support the device path protocol,
then a device path containing a single device path node for the file specified by FileName then a device path containing a single device path node for the file specified by FileName
is allocated and returned. is allocated and returned.
**/ **/
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *

View File

@ -1,16 +1,16 @@
/** @file /** @file
Library to abstract runtime services Library to abstract runtime services
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: DxeRuntimeDriverLib.h Module Name: DxeRuntimeDriverLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Library that provides a global pointer to the DXE Services Table Library that provides a global pointer to the DXE Services Table
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: DxeServicesTableLib.h Module Name: DxeServicesTableLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Public include file for the HII Library Public include file for the HII Library
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: HiiLib.h Module Name: HiiLib.h
**/ **/
@ -18,16 +18,16 @@
#define __HII_LIB_H__ #define __HII_LIB_H__
/** /**
This function allocates pool for an EFI_HII_PACKAGES structure This function allocates pool for an EFI_HII_PACKAGES structure
with enough space for the variable argument list of package pointers. with enough space for the variable argument list of package pointers.
The allocated structure is initialized using NumberOfPackages, Guid, The allocated structure is initialized using NumberOfPackages, Guid,
and the variable length argument list of package pointers. and the variable length argument list of package pointers.
@param NumberOfPackages The number of HII packages to prepare. @param NumberOfPackages The number of HII packages to prepare.
@param Guid Package GUID. @param Guid Package GUID.
@return @return
The allocated and initialized packages. The allocated and initialized packages.
**/ **/
EFI_HII_PACKAGES * EFI_HII_PACKAGES *

View File

@ -1,16 +1,16 @@
/** @file /** @file
Public include file for the HOB Library Public include file for the HOB Library
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: HobLib.h Module Name: HobLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
I/O and MMIO Library Services I/O and MMIO Library Services
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: IoLib.h Module Name: IoLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Memory Allocation Library Services Memory Allocation Library Services
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: MemoryAllocationLib.h Module Name: MemoryAllocationLib.h
**/ **/
@ -18,14 +18,14 @@
#define __MEMORY_ALLOCATION_LIB_H__ #define __MEMORY_ALLOCATION_LIB_H__
/** /**
Allocates the number of 4KB pages specified by Pages of type EfiBootServicesData. Allocates the number of 4KB pages specified by Pages of type EfiBootServicesData.
@param Pages The number of 4 KB pages to allocate. @param Pages The number of 4 KB pages to allocate.
@return @return
A pointer to the allocated buffer. The buffer returned is aligned on a 4KB boundary. A pointer to the allocated buffer. The buffer returned is aligned on a 4KB boundary.
If Pages is 0, then NULL is returned. If Pages is 0, then NULL is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -36,14 +36,14 @@ AllocatePages (
; ;
/** /**
Allocates the number of 4KB pages specified by Pages of type EfiRuntimeServicesData. Allocates the number of 4KB pages specified by Pages of type EfiRuntimeServicesData.
@param Pages The number of 4 KB pages to allocate. @param Pages The number of 4 KB pages to allocate.
@return @return
A pointer to the allocated buffer. The buffer returned is aligned on a 4KB boundary. A pointer to the allocated buffer. The buffer returned is aligned on a 4KB boundary.
If Pages is 0, then NULL is returned. If Pages is 0, then NULL is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -54,14 +54,14 @@ AllocateRuntimePages (
; ;
/** /**
Allocates the number of 4KB pages specified by Pages of type EfiReservedMemoryType. Allocates the number of 4KB pages specified by Pages of type EfiReservedMemoryType.
@param Pages The number of 4 KB pages to allocate. @param Pages The number of 4 KB pages to allocate.
@return @return
A pointer to the allocated buffer. The buffer returned is aligned on a 4KB boundary. A pointer to the allocated buffer. The buffer returned is aligned on a 4KB boundary.
If Pages is 0, then NULL is returned. If Pages is 0, then NULL is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -72,13 +72,13 @@ AllocateReservedPages (
; ;
/** /**
Frees one or more 4KB pages that were previously allocated with Frees one or more 4KB pages that were previously allocated with
one of the page allocation functions in the Memory Allocation Library. one of the page allocation functions in the Memory Allocation Library.
@param Buffer Pointer to the buffer of pages to free. @param Buffer Pointer to the buffer of pages to free.
@param Pages The number of 4 KB pages to free. @param Pages The number of 4 KB pages to free.
None. None.
**/ **/
VOID VOID
@ -90,15 +90,15 @@ FreePages (
; ;
/** /**
Allocates the number of 4KB pages specified by Pages of type EfiBootServicesData with an alignment specified by Alignment. Allocates the number of 4KB pages specified by Pages of type EfiBootServicesData with an alignment specified by Alignment.
@param Pages The number of 4 KB pages to allocate. @param Pages The number of 4 KB pages to allocate.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
The allocated buffer is returned. If Pages is 0, then NULL is returned. The allocated buffer is returned. If Pages is 0, then NULL is returned.
If there is not enough memory at the specified alignment remaining to satisfy the request, then NULL is returned. If there is not enough memory at the specified alignment remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -110,15 +110,15 @@ AllocateAlignedPages (
; ;
/** /**
Allocates the number of 4KB pages specified by Pages of type EfiRuntimeServicesData with an alignment specified by Alignment. Allocates the number of 4KB pages specified by Pages of type EfiRuntimeServicesData with an alignment specified by Alignment.
@param Pages The number of 4 KB pages to allocate. @param Pages The number of 4 KB pages to allocate.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
The allocated buffer is returned. If Pages is 0, then NULL is returned. The allocated buffer is returned. If Pages is 0, then NULL is returned.
If there is not enough memory at the specified alignment remaining to satisfy the request, then NULL is returned. If there is not enough memory at the specified alignment remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -130,15 +130,15 @@ AllocateAlignedRuntimePages (
; ;
/** /**
Allocates one or more 4KB pages of type EfiReservedMemoryType at a specified alignment. Allocates one or more 4KB pages of type EfiReservedMemoryType at a specified alignment.
@param Pages The number of 4 KB pages to allocate. @param Pages The number of 4 KB pages to allocate.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
The allocated buffer is returned. If Pages is 0, then NULL is returned. The allocated buffer is returned. If Pages is 0, then NULL is returned.
If there is not enough memory at the specified alignment remaining to satisfy the request, then NULL is returned. If there is not enough memory at the specified alignment remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -150,13 +150,13 @@ AllocateAlignedReservedPages (
; ;
/** /**
Frees one or more 4KB pages that were previously allocated with Frees one or more 4KB pages that were previously allocated with
one of the aligned page allocation functions in the Memory Allocation Library. one of the aligned page allocation functions in the Memory Allocation Library.
@param Buffer Pointer to the buffer of pages to free. @param Buffer Pointer to the buffer of pages to free.
@param Pages The number of 4 KB pages to free. @param Pages The number of 4 KB pages to free.
None. None.
**/ **/
VOID VOID
@ -168,13 +168,13 @@ FreeAlignedPages (
; ;
/** /**
Allocates a buffer of type EfiBootServicesData. Allocates a buffer of type EfiBootServicesData.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -185,13 +185,13 @@ AllocatePool (
; ;
/** /**
Allocates a buffer of type EfiRuntimeServicesData. Allocates a buffer of type EfiRuntimeServicesData.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -202,13 +202,13 @@ AllocateRuntimePool (
; ;
/** /**
Allocates a buffer of type EfiReservedMemoryType. Allocates a buffer of type EfiReservedMemoryType.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -219,13 +219,13 @@ AllocateReservedPool (
; ;
/** /**
Allocates and zeros a buffer of type EfiBootServicesData. Allocates and zeros a buffer of type EfiBootServicesData.
@param AllocationSize The number of bytes to allocate and zero. @param AllocationSize The number of bytes to allocate and zero.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -236,13 +236,13 @@ AllocateZeroPool (
; ;
/** /**
Allocates and zeros a buffer of type EfiRuntimeServicesData. Allocates and zeros a buffer of type EfiRuntimeServicesData.
@param AllocationSize The number of bytes to allocate and zero. @param AllocationSize The number of bytes to allocate and zero.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -253,13 +253,13 @@ AllocateRuntimeZeroPool (
; ;
/** /**
Allocates and zeros a buffer of type EfiReservedMemoryType. Allocates and zeros a buffer of type EfiReservedMemoryType.
@param AllocationSize The number of bytes to allocate and zero. @param AllocationSize The number of bytes to allocate and zero.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -270,14 +270,14 @@ AllocateReservedZeroPool (
; ;
/** /**
Copies a buffer to an allocated buffer of type EfiBootServicesData. Copies a buffer to an allocated buffer of type EfiBootServicesData.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Buffer The buffer to copy to the allocated buffer. @param Buffer The buffer to copy to the allocated buffer.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -289,14 +289,14 @@ AllocateCopyPool (
; ;
/** /**
Copies a buffer to an allocated buffer of type EfiRuntimeServicesData. Copies a buffer to an allocated buffer of type EfiRuntimeServicesData.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Buffer The buffer to copy to the allocated buffer. @param Buffer The buffer to copy to the allocated buffer.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -308,14 +308,14 @@ AllocateRuntimeCopyPool (
; ;
/** /**
Copies a buffer to an allocated buffer of type EfiReservedMemoryType. Copies a buffer to an allocated buffer of type EfiReservedMemoryType.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Buffer The buffer to copy to the allocated buffer. @param Buffer The buffer to copy to the allocated buffer.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -327,12 +327,12 @@ AllocateReservedCopyPool (
; ;
/** /**
Frees a buffer that was previously allocated with one of the pool allocation functions Frees a buffer that was previously allocated with one of the pool allocation functions
in the Memory Allocation Library. in the Memory Allocation Library.
@param Buffer Pointer to the buffer to free. @param Buffer Pointer to the buffer to free.
None. None.
**/ **/
VOID VOID
@ -343,15 +343,15 @@ FreePool (
; ;
/** /**
Allocates a buffer of type EfiBootServicesData at a specified alignment. Allocates a buffer of type EfiBootServicesData at a specified alignment.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -363,15 +363,15 @@ AllocateAlignedPool (
; ;
/** /**
Allocates a buffer of type EfiRuntimeServicesData at a specified alignment. Allocates a buffer of type EfiRuntimeServicesData at a specified alignment.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -383,15 +383,15 @@ AllocateAlignedRuntimePool (
; ;
/** /**
Allocates a buffer of type EfiReservedMemoryType at a specified alignment. Allocates a buffer of type EfiReservedMemoryType at a specified alignment.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -403,15 +403,15 @@ AllocateAlignedReservedPool (
; ;
/** /**
Allocates and zeros a buffer of type EfiBootServicesData at a specified alignment. Allocates and zeros a buffer of type EfiBootServicesData at a specified alignment.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -423,15 +423,15 @@ AllocateAlignedZeroPool (
; ;
/** /**
Allocates and zeros a buffer of type EfiRuntimeServicesData at a specified alignment. Allocates and zeros a buffer of type EfiRuntimeServicesData at a specified alignment.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -443,15 +443,15 @@ AllocateAlignedRuntimeZeroPool (
; ;
/** /**
Allocates and zeros a buffer of type EfiReservedMemoryType at a specified alignment. Allocates and zeros a buffer of type EfiReservedMemoryType at a specified alignment.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -463,16 +463,16 @@ AllocateAlignedReservedZeroPool (
; ;
/** /**
Copies a buffer to an allocated buffer of type EfiBootServicesData at a specified alignment. Copies a buffer to an allocated buffer of type EfiBootServicesData at a specified alignment.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Buffer The buffer to copy to the allocated buffer. @param Buffer The buffer to copy to the allocated buffer.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -485,16 +485,16 @@ AllocateAlignedCopyPool (
; ;
/** /**
Copies a buffer to an allocated buffer of type EfiRuntimeServicesData at a specified alignment. Copies a buffer to an allocated buffer of type EfiRuntimeServicesData at a specified alignment.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Buffer The buffer to copy to the allocated buffer. @param Buffer The buffer to copy to the allocated buffer.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -507,16 +507,16 @@ AllocateAlignedRuntimeCopyPool (
; ;
/** /**
Copies a buffer to an allocated buffer of type EfiReservedMemoryType at a specified alignment. Copies a buffer to an allocated buffer of type EfiReservedMemoryType at a specified alignment.
@param AllocationSize The number of bytes to allocate. @param AllocationSize The number of bytes to allocate.
@param Buffer The buffer to copy to the allocated buffer. @param Buffer The buffer to copy to the allocated buffer.
@param Alignment The requested alignment of the allocation. Must be a power of two. @param Alignment The requested alignment of the allocation. Must be a power of two.
If Alignment is zero, then byte alignment is used. If Alignment is zero, then byte alignment is used.
@return @return
A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. A pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned.
If there is not enough memory remaining to satisfy the request, then NULL is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.
**/ **/
VOID * VOID *
@ -529,12 +529,12 @@ AllocateAlignedReservedCopyPool (
; ;
/** /**
Frees a buffer that was previously allocated with one of the aligned pool allocation functions Frees a buffer that was previously allocated with one of the aligned pool allocation functions
in the Memory Allocation Library. in the Memory Allocation Library.
@param Buffer Pointer to the buffer to free. @param Buffer Pointer to the buffer to free.
None. None.
**/ **/
VOID VOID

View File

@ -1,16 +1,16 @@
/** @file /** @file
PCI CF8 Library Services for PCI Segment #0 PCI CF8 Library Services for PCI Segment #0
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: PciCf8Lib.h Module Name: PciCf8Lib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Pci Express Library Services for PCI Segment #0 Pci Express Library Services for PCI Segment #0
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: PciExpressLib.h Module Name: PciExpressLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
PCI Library Services for PCI Segment #0 PCI Library Services for PCI Segment #0
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: PciLib.h Module Name: PciLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Memory Only PE COFF loader Memory Only PE COFF loader
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: PeCoffGetEntryPointLib.h Module Name: PeCoffGetEntryPointLib.h
**/ **/
@ -18,22 +18,27 @@
#define __PE_COFF_GET_ENTRY_POINT_LIB_H__ #define __PE_COFF_GET_ENTRY_POINT_LIB_H__
/** /**
Loads a PE/COFF image into memory Retrieves and returns a pointer to the entry point to a PE/COFF image that has been loaded
into system memory with the PE/COFF Loader Library functions.
@param Pe32Data Pointer to a PE/COFF Image Retrieves the entry point to the PE/COFF image specified by Pe32Data and returns this entry
point in EntryPoint. If the entry point could not be retrieved from the PE/COFF image, then
@param EntryPoint Pointer to the entry point of the PE/COFF image return RETURN_INVALID_PARAMETER. Otherwise return RETURN_SUCCESS.
If Pe32Data is NULL, then ASSERT().
If EntryPoint is NULL, then ASSERT().
@retval EFI_SUCCESS if the EntryPoint was returned @param Pe32Data Pointer to the PE/COFF image that is loaded in system memory.
@retval EFI_INVALID_PARAMETER if the EntryPoint could not be found from Pe32Data @param EntryPoint Pointer to entry point to the PE/COFF image to return.
@retval RETURN_SUCCESS EntryPoint was returned.
@retval RETURN_INVALID_PARAMETER The entry point could not be found in the PE/COFF image.
**/ **/
RETURN_STATUS RETURN_STATUS
EFIAPI EFIAPI
PeCoffLoaderGetEntryPoint ( PeCoffLoaderGetEntryPoint (
IN VOID *Pe32Data, IN VOID *Pe32Data,
IN OUT VOID **EntryPoint OUT VOID **EntryPoint
) );
;
#endif #endif

View File

@ -1,16 +1,16 @@
/** @file /** @file
Memory Only PE COFF loader Memory Only PE COFF loader
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: PeCoffLib.h Module Name: PeCoffLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
PEI Core Library implementation PEI Core Library implementation
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: PeiServicesLib.h Module Name: PeiServicesLib.h
**/ **/
@ -18,15 +18,15 @@
#define __PEI_SERVICES_LIB_H__ #define __PEI_SERVICES_LIB_H__
/** /**
This service enables a given PEIM to register an interface into the PEI Foundation. This service enables a given PEIM to register an interface into the PEI Foundation.
@param PpiList A pointer to the list of interfaces that the caller shall install. @param PpiList A pointer to the list of interfaces that the caller shall install.
@retval EFI_SUCCESS The interface was successfully installed. @retval EFI_SUCCESS The interface was successfully installed.
@retval EFI_INVALID_PARAMETER The PpiList pointer is NULL. @retval EFI_INVALID_PARAMETER The PpiList pointer is NULL.
@retval EFI_INVALID_PARAMETER Any of the PEI PPI descriptors in the list do not have @retval EFI_INVALID_PARAMETER Any of the PEI PPI descriptors in the list do not have
the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field. the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field.
@retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database. @retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database.
**/ **/
EFI_STATUS EFI_STATUS
@ -37,37 +37,37 @@ PeiServicesInstallPpi (
; ;
/** /**
This service enables PEIMs to replace an entry in the PPI database with an alternate entry. This service enables PEIMs to replace an entry in the PPI database with an alternate entry.
@param OldPpi Pointer to the old PEI PPI Descriptors. @param OldPpi Pointer to the old PEI PPI Descriptors.
@param NewPpi Pointer to the new PEI PPI Descriptors. @param NewPpi Pointer to the new PEI PPI Descriptors.
@retval EFI_SUCCESS The interface was successfully installed. @retval EFI_SUCCESS The interface was successfully installed.
@retval EFI_INVALID_PARAMETER The OldPpi or NewPpi is NULL. @retval EFI_INVALID_PARAMETER The OldPpi or NewPpi is NULL.
@retval EFI_INVALID_PARAMETER Any of the PEI PPI descriptors in the list do not have @retval EFI_INVALID_PARAMETER Any of the PEI PPI descriptors in the list do not have
the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field. the EFI_PEI_PPI_DESCRIPTOR_PPI bit set in the Flags field.
@retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database. @retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database.
@retval EFI_NOT_FOUND The PPI for which the reinstallation was requested has not been installed. @retval EFI_NOT_FOUND The PPI for which the reinstallation was requested has not been installed.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
PeiServicesReinstallPpi ( PeiServicesReInstallPpi (
IN EFI_PEI_PPI_DESCRIPTOR *OldPpi, IN EFI_PEI_PPI_DESCRIPTOR *OldPpi,
IN EFI_PEI_PPI_DESCRIPTOR *NewPpi IN EFI_PEI_PPI_DESCRIPTOR *NewPpi
) )
; ;
/** /**
This service enables PEIMs to discover a given instance of an interface. This service enables PEIMs to discover a given instance of an interface.
@param Guid A pointer to the GUID whose corresponding interface needs to be found. @param Guid A pointer to the GUID whose corresponding interface needs to be found.
@param Instance The N-th instance of the interface that is required. @param Instance The N-th instance of the interface that is required.
@param PpiDescriptor A pointer to instance of the EFI_PEI_PPI_DESCRIPTOR. @param PpiDescriptor A pointer to instance of the EFI_PEI_PPI_DESCRIPTOR.
@param Ppi A pointer to the instance of the interface. @param Ppi A pointer to the instance of the interface.
@retval EFI_SUCCESS The interface was successfully returned. @retval EFI_SUCCESS The interface was successfully returned.
@retval EFI_NOT_FOUND The PPI descriptor is not found in the database. @retval EFI_NOT_FOUND The PPI descriptor is not found in the database.
**/ **/
EFI_STATUS EFI_STATUS
@ -81,16 +81,16 @@ PeiServicesLocatePpi (
; ;
/** /**
This service enables PEIMs to register a given service to be invoked This service enables PEIMs to register a given service to be invoked
when another service is installed or reinstalled. when another service is installed or reinstalled.
@param NotifyList A pointer to the list of notification interfaces that the caller shall install. @param NotifyList A pointer to the list of notification interfaces that the caller shall install.
@retval EFI_SUCCESS The interface was successfully installed. @retval EFI_SUCCESS The interface was successfully installed.
@retval EFI_INVALID_PARAMETER The NotifyList pointer is NULL. @retval EFI_INVALID_PARAMETER The NotifyList pointer is NULL.
@retval EFI_INVALID_PARAMETER Any of the PEI notify descriptors in the list do not have @retval EFI_INVALID_PARAMETER Any of the PEI notify descriptors in the list do not have
the EFI_PEI_PPI_DESCRIPTOR_NOTIFY_TYPES bit set in the Flags field. the EFI_PEI_PPI_DESCRIPTOR_NOTIFY_TYPES bit set in the Flags field.
@retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database. @retval EFI_OUT_OF_RESOURCES There is no additional space in the PPI database.
**/ **/
EFI_STATUS EFI_STATUS
@ -101,12 +101,12 @@ PeiServicesNotifyPpi (
; ;
/** /**
This service enables PEIMs to ascertain the present value of the boot mode. This service enables PEIMs to ascertain the present value of the boot mode.
@param BootMode A pointer to contain the value of the boot mode. @param BootMode A pointer to contain the value of the boot mode.
@retval EFI_SUCCESS The boot mode was returned successfully. @retval EFI_SUCCESS The boot mode was returned successfully.
@retval EFI_INVALID_PARAMETER BootMode is NULL. @retval EFI_INVALID_PARAMETER BootMode is NULL.
**/ **/
EFI_STATUS EFI_STATUS
@ -117,11 +117,11 @@ PeiServicesGetBootMode (
; ;
/** /**
This service enables PEIMs to update the boot mode variable. This service enables PEIMs to update the boot mode variable.
@param BootMode The value of the boot mode to set. @param BootMode The value of the boot mode to set.
@retval EFI_SUCCESS The value was successfully updated @retval EFI_SUCCESS The value was successfully updated
**/ **/
EFI_STATUS EFI_STATUS
@ -132,12 +132,12 @@ PeiServicesSetBootMode (
; ;
/** /**
This service enables a PEIM to ascertain the address of the list of HOBs in memory. This service enables a PEIM to ascertain the address of the list of HOBs in memory.
@param HobList A pointer to the list of HOBs that the PEI Foundation will initialize. @param HobList A pointer to the list of HOBs that the PEI Foundation will initialize.
@retval EFI_SUCCESS The list was successfully returned. @retval EFI_SUCCESS The list was successfully returned.
@retval EFI_NOT_AVAILABLE_YET The HOB list is not yet published. @retval EFI_NOT_AVAILABLE_YET The HOB list is not yet published.
**/ **/
EFI_STATUS EFI_STATUS
@ -148,14 +148,14 @@ PeiServicesGetHobList (
; ;
/** /**
This service enables PEIMs to create various types of HOBs. This service enables PEIMs to create various types of HOBs.
@param Type The type of HOB to be installed. @param Type The type of HOB to be installed.
@param Length The length of the HOB to be added. @param Length The length of the HOB to be added.
@param Hob The address of a pointer that will contain the HOB header. @param Hob The address of a pointer that will contain the HOB header.
@retval EFI_SUCCESS The HOB was successfully created. @retval EFI_SUCCESS The HOB was successfully created.
@retval EFI_OUT_OF_RESOURCES There is no additional space for HOB creation. @retval EFI_OUT_OF_RESOURCES There is no additional space for HOB creation.
**/ **/
EFI_STATUS EFI_STATUS
@ -168,15 +168,15 @@ PeiServicesCreateHob (
; ;
/** /**
This service enables PEIMs to discover additional firmware volumes. This service enables PEIMs to discover additional firmware volumes.
@param Instance This instance of the firmware volume to find. @param Instance This instance of the firmware volume to find.
The value 0 is the Boot Firmware Volume (BFV). The value 0 is the Boot Firmware Volume (BFV).
@param FwVolHeader Pointer to the firmware volume header of the volume to return. @param FwVolHeader Pointer to the firmware volume header of the volume to return.
@retval EFI_SUCCESS The volume was found. @retval EFI_SUCCESS The volume was found.
@retval EFI_NOT_FOUND The volume was not found. @retval EFI_NOT_FOUND The volume was not found.
@retval EFI_INVALID_PARAMETER FwVolHeader is NULL. @retval EFI_INVALID_PARAMETER FwVolHeader is NULL.
**/ **/
EFI_STATUS EFI_STATUS
@ -188,16 +188,16 @@ PeiServicesFfsFindNextVolume (
; ;
/** /**
This service enables PEIMs to discover additional firmware files. This service enables PEIMs to discover additional firmware files.
@param SearchType A filter to find files only of this type. @param SearchType A filter to find files only of this type.
@param FwVolHeader Pointer to the firmware volume header of the volume to search. @param FwVolHeader Pointer to the firmware volume header of the volume to search.
This parameter must point to a valid FFS volume. This parameter must point to a valid FFS volume.
@param FileHeader Pointer to the current file from which to begin searching. @param FileHeader Pointer to the current file from which to begin searching.
@retval EFI_SUCCESS The file was found. @retval EFI_SUCCESS The file was found.
@retval EFI_NOT_FOUND The file was not found. @retval EFI_NOT_FOUND The file was not found.
@retval EFI_NOT_FOUND The header checksum was not zero. @retval EFI_NOT_FOUND The header checksum was not zero.
**/ **/
EFI_STATUS EFI_STATUS
@ -210,14 +210,14 @@ PeiServicesFfsFindNextFile (
; ;
/** /**
This service enables PEIMs to discover sections of a given type within a valid FFS file. This service enables PEIMs to discover sections of a given type within a valid FFS file.
@param SearchType The value of the section type to find. @param SearchType The value of the section type to find.
@param FfsFileHeader A pointer to the file header that contains the set of sections to be searched. @param FfsFileHeader A pointer to the file header that contains the set of sections to be searched.
@param SectionData A pointer to the discovered section, if successful. @param SectionData A pointer to the discovered section, if successful.
@retval EFI_SUCCESS The section was found. @retval EFI_SUCCESS The section was found.
@retval EFI_NOT_FOUND The section was not found. @retval EFI_NOT_FOUND The section was not found.
**/ **/
EFI_STATUS EFI_STATUS
@ -230,15 +230,15 @@ PeiServicesFfsFindSectionData (
; ;
/** /**
This service enables PEIMs to register the permanent memory configuration This service enables PEIMs to register the permanent memory configuration
that has been initialized with the PEI Foundation. that has been initialized with the PEI Foundation.
@param MemoryBegin The value of a region of installed memory. @param MemoryBegin The value of a region of installed memory.
@param MemoryLength The corresponding length of a region of installed memory. @param MemoryLength The corresponding length of a region of installed memory.
@retval EFI_SUCCESS The region was successfully installed in a HOB. @retval EFI_SUCCESS The region was successfully installed in a HOB.
@retval EFI_INVALID_PARAMETER MemoryBegin and MemoryLength are illegal for this system. @retval EFI_INVALID_PARAMETER MemoryBegin and MemoryLength are illegal for this system.
@retval EFI_OUT_OF_RESOURCES There is no additional space for HOB creation. @retval EFI_OUT_OF_RESOURCES There is no additional space for HOB creation.
**/ **/
EFI_STATUS EFI_STATUS
@ -250,16 +250,16 @@ PeiServicesInstallPeiMemory (
; ;
/** /**
This service enables PEIMs to allocate memory after the permanent memory has been installed by a PEIM. This service enables PEIMs to allocate memory after the permanent memory has been installed by a PEIM.
@param MemoryType Type of memory to allocate. @param MemoryType Type of memory to allocate.
@param Pages Number of pages to allocate. @param Pages Number of pages to allocate.
@param Memory Pointer of memory allocated. @param Memory Pointer of memory allocated.
@retval EFI_SUCCESS The memory range was successfully allocated. @retval EFI_SUCCESS The memory range was successfully allocated.
@retval EFI_INVALID_PARAMETER Type is not equal to AllocateAnyPages. @retval EFI_INVALID_PARAMETER Type is not equal to AllocateAnyPages.
@retval EFI_NOT_AVAILABLE_YET Called with permanent memory not available. @retval EFI_NOT_AVAILABLE_YET Called with permanent memory not available.
@retval EFI_OUT_OF_RESOURCES The pages could not be allocated. @retval EFI_OUT_OF_RESOURCES The pages could not be allocated.
**/ **/
EFI_STATUS EFI_STATUS
@ -272,14 +272,14 @@ PeiServicesAllocatePages (
; ;
/** /**
This service allocates memory from the Hand-Off Block (HOB) heap. This service allocates memory from the Hand-Off Block (HOB) heap.
@param Size The number of bytes to allocate from the pool. @param Size The number of bytes to allocate from the pool.
@param Buffer If the call succeeds, a pointer to a pointer to the allocated buffer; @param Buffer If the call succeeds, a pointer to a pointer to the allocated buffer;
undefined otherwise. undefined otherwise.
@retval EFI_SUCCESS The allocation was successful @retval EFI_SUCCESS The allocation was successful
@retval EFI_OUT_OF_RESOURCES There is not enough heap to allocate the requested size. @retval EFI_OUT_OF_RESOURCES There is not enough heap to allocate the requested size.
**/ **/
EFI_STATUS EFI_STATUS
@ -291,9 +291,9 @@ PeiServicesAllocatePool (
; ;
/** /**
This service resets the entire platform, including all processors and devices, and reboots the system. This service resets the entire platform, including all processors and devices, and reboots the system.
@retval EFI_NOT_AVAILABLE_YET The service has not been installed yet. @retval EFI_NOT_AVAILABLE_YET The service has not been installed yet.
**/ **/
EFI_STATUS EFI_STATUS

View File

@ -1,16 +1,16 @@
/** @file /** @file
PEI Services Table Pointer Library services PEI Services Table Pointer Library services
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: PeiServicesTablePointerLib.h Module Name: PeiServicesTablePointerLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Library that provides print services Library that provides print services
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: PrintLib.h Module Name: PrintLib.h
**/ **/
@ -362,7 +362,7 @@ AsciiSPrintUnicodeFormat (
Unicode string. Unicode string.
@param Flags The bitmask of flags that specify left justification, zero pad, and commas. @param Flags The bitmask of flags that specify left justification, zero pad, and commas.
@param Value The 64-bit signed value to convert to a string. @param Value The 64-bit signed value to convert to a string.
@param Width The maximum number of Unicode characters to place in Buffer. @param Width The maximum number of Unicode characters to place in Buffer.
@return Total number of characters required to perform the conversion. @return Total number of characters required to perform the conversion.
@ -406,7 +406,7 @@ UnicodeValueToString (
ASCII string. ASCII string.
@param Flags The bitmask of flags that specify left justification, zero pad, and commas. @param Flags The bitmask of flags that specify left justification, zero pad, and commas.
@param Value The 64-bit signed value to convert to a string. @param Value The 64-bit signed value to convert to a string.
@param Width The maximum number of ASCII characters to place in Buffer. @param Width The maximum number of ASCII characters to place in Buffer.
@return Total number of characters required to perform the conversion. @return Total number of characters required to perform the conversion.

View File

@ -1,16 +1,16 @@
/** @file /** @file
Declare presence of resources in the platform Declare presence of resources in the platform
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: ResourcePublicationLib.h Module Name: ResourcePublicationLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
SMBUS Functions SMBUS Functions
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: SmbusLib.h Module Name: SmbusLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Timer Library Functions Timer Library Functions
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: TimerLib.h Module Name: TimerLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Library that provides a global pointer to the UEFI Boot Services Tables Library that provides a global pointer to the UEFI Boot Services Tables
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: UefiBootServicesTableLib.h Module Name: UefiBootServicesTableLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Return UEFI Decompress Protocol Return UEFI Decompress Protocol
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: UefiDecompressLib.h Module Name: UefiDecompressLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
UEFI Driver Model Library Services UEFI Driver Model Library Services
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: UefiDriverModelLib.h Module Name: UefiDriverModelLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Library that provides a global pointer to the UEFI Runtime Services Tables Library that provides a global pointer to the UEFI Runtime Services Tables
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: UefiRuntimeServicesTableLib.h Module Name: UefiRuntimeServicesTableLib.h
**/ **/

View File

@ -1,16 +1,16 @@
/** @file /** @file
Non-existing BaseLib functions on Ia32 Non-existing BaseLib functions on Ia32
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: Non-existing.c Module Name: Non-existing.c
**/ **/

View File

@ -278,7 +278,7 @@ IsListEmpty (
If Node is not a node in List and Node is not equal to List, then ASSERT(). If Node is not a node in List and Node is not equal to List, then ASSERT().
@param List A pointer to the head node of a doubly linked list. @param List A pointer to the head node of a doubly linked list.
@param Node A pointer to a node in the doubly linked list. @param Node A pointer to a node in the doubly linked list.
@retval TRUE Node is one of the nodes in the doubly linked list. @retval TRUE Node is one of the nodes in the doubly linked list.
@retval FALSE Node is not one of the nodes in the doubly linked list. @retval FALSE Node is not one of the nodes in the doubly linked list.
@ -314,7 +314,7 @@ IsNull (
If Node is not a node in List, then ASSERT(). If Node is not a node in List, then ASSERT().
@param List A pointer to the head node of a doubly linked list. @param List A pointer to the head node of a doubly linked list.
@param Node A pointer to a node in the doubly linked list. @param Node A pointer to a node in the doubly linked list.
@retval TRUE Node is the last node in the linked list. @retval TRUE Node is the last node in the linked list.
@retval FALSE Node is not the last node in the linked list. @retval FALSE Node is not the last node in the linked list.

View File

@ -1,16 +1,16 @@
/** @file /** @file
Non-existing BaseLib functions on x64 Non-existing BaseLib functions on x64
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: Non-existing.c Module Name: Non-existing.c
**/ **/

View File

@ -50,9 +50,9 @@
INTN INTN
EFIAPI EFIAPI
CompareMem ( CompareMem (
IN CONST VOID *DestinationBuffer, IN CONST VOID *DestinationBuffer,
IN CONST VOID *SourceBuffer, IN CONST VOID *SourceBuffer,
IN UINTN Length IN UINTN Length
) )
{ {
if (Length == 0) { if (Length == 0) {

Some files were not shown because too many files have changed in this diff Show More