1. BaseSmbusLib: Make SmbusReadDataByte() & SmbusWriteBlock() function well by re-arranging register settings.
2. BaseMemoryLibMmx for X64: Make CopyMem() be reentrant by saving Mm0 to r10. 3. DxeCorePerformanceLib: Fix some typo to save build error of that library instance. 4. Remove the orphanage definition of gEfiPerformanceProtocolGuid git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@859 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -427,11 +427,6 @@
|
||||
<GuidValue>125F2DE1-FB85-440C-A54C-4D99358A8D38</GuidValue>
|
||||
<HelpText/>
|
||||
</Entry>
|
||||
<Entry Name="Performance">
|
||||
<C_Name>gEfiPerformanceProtocolGuid</C_Name>
|
||||
<GuidValue>FFECFFFF-923C-14D2-9E3F-22A0C969563B</GuidValue>
|
||||
<HelpText/>
|
||||
</Entry>
|
||||
<Entry Name="PxeDhcp4">
|
||||
<C_Name>gEfiPxeDhcp4ProtocolGuid</C_Name>
|
||||
<GuidValue>03C4E624-AC28-11D3-9A2D-0090293FC14D</GuidValue>
|
||||
|
@@ -214,7 +214,6 @@ StartGauge (
|
||||
UINTN GaugeDataSize;
|
||||
UINTN OldGaugeDataSize;
|
||||
GAUGE_DATA_HEADER *OldGaugeData;
|
||||
EFI_STATUS Status;
|
||||
UINT32 Index;
|
||||
|
||||
Index = mGaugeData->NumberOfEntries;
|
||||
@@ -230,7 +229,7 @@ StartGauge (
|
||||
|
||||
mGaugeData = AllocateZeroPool (GaugeDataSize);
|
||||
if (mGaugeData == NULL) {
|
||||
return EFI_OUT_OF_MEMORY;
|
||||
return EFI_OUT_OF_RESOURCES;
|
||||
}
|
||||
//
|
||||
// Initialize new data arry and migrate old data one.
|
||||
@@ -425,7 +424,6 @@ DxeCorePerformanceLibConstructor (
|
||||
//
|
||||
// Install the protocol interfaces.
|
||||
//
|
||||
Handle = NULL;
|
||||
Status = gBS->InstallProtocolInterface (
|
||||
&mHandle,
|
||||
&gPerformanceProtocolGuid,
|
||||
|
@@ -46,6 +46,9 @@
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<Keyword>UefiBootServicesTableLib</Keyword>
|
||||
</LibraryClass>
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<Keyword>MemoryAllocationLib</Keyword>
|
||||
</LibraryClass>
|
||||
</LibraryClassDefinitions>
|
||||
<SourceFiles>
|
||||
<Filename>DxeCorePerformanceLib.c</Filename>
|
||||
|
Reference in New Issue
Block a user