summaryrefslogtreecommitdiff
path: root/UnixPkg/MiscSubClassPlatformDxe
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-12 09:09:51 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-12 09:09:51 +0000
commitc2bd20a514831baff6910869597bcc031cd6ef73 (patch)
tree2be6e10b5f2f098427a76d91c9b08a8b246cafdb /UnixPkg/MiscSubClassPlatformDxe
parent20774adc0f4a334aef9e05e6e61a762aa3acef53 (diff)
downloadedk2-c2bd20a514831baff6910869597bcc031cd6ef73.zip
edk2-c2bd20a514831baff6910869597bcc031cd6ef73.tar.gz
edk2-c2bd20a514831baff6910869597bcc031cd6ef73.tar.bz2
Retire gEfiProcessorProducerGuid,gEfiMemoryProducerGuid,
gEfiMiscProducerGuid, which are not consumed by any module. They can be replaced by gEfiCallerIdGuid. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8540 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/MiscSubClassPlatformDxe')
-rw-r--r--UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.h1
-rw-r--r--UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf1
-rw-r--r--UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c4
3 files changed, 2 insertions, 4 deletions
diff --git a/UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.h b/UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.h
index 2b13a4a..d67c1a9 100644
--- a/UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.h
+++ b/UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.h
@@ -25,7 +25,6 @@ Abstract:
#include <FrameworkDxe.h>
#include <UnixDxe.h>
#include <Guid/DataHubRecords.h>
-#include <Guid/DataHubProducer.h>
#include <Protocol/DataHub.h>
#include <Protocol/UnixIo.h>
#include <Library/BaseLib.h>
diff --git a/UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf b/UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf
index 2f8c7ac..9a3e16e 100644
--- a/UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf
+++ b/UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf
@@ -84,7 +84,6 @@
[Guids]
gEfiMemorySubClassGuid # SOMETIMES_CONSUMED
- gEfiMemoryProducerGuid # SOMETIMES_CONSUMED
gEfiProcessorSubClassGuid # SOMETIMES_CONSUMED
gEfiMiscSubClassGuid # ALWAYS_CONSUMED
diff --git a/UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c b/UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c
index 5532896..8732677 100644
--- a/UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c
+++ b/UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c
@@ -318,7 +318,7 @@ Returns:
MemorySubClassData.Record.ArrayStartAddress.MemoryArrayStartAddress = 0;
MemorySubClassData.Record.ArrayStartAddress.MemoryArrayEndAddress = LShiftU64 (TotalMemorySize, 20) - 1;
- MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.ProducerName = gEfiMemoryProducerGuid;
+ MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.ProducerName = gEfiCallerIdGuid;
MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.Instance = 1;
MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.SubInstance = EFI_SUBCLASS_INSTANCE_NON_APPLICABLE;
MemorySubClassData.Record.ArrayStartAddress.MemoryArrayPartitionWidth = 0;
@@ -329,7 +329,7 @@ Returns:
EfiStatus = DataHub->LogData (
DataHub,
&gEfiMemorySubClassGuid,
- &gEfiMemoryProducerGuid,
+ &gEfiCallerIdGuid,
EFI_DATA_RECORD_CLASS_DATA,
&MemorySubClassData,
sizeof (EFI_SUBCLASS_TYPE1_HEADER) + sizeof (EFI_MEMORY_ARRAY_START_ADDRESS_DATA)