summaryrefslogtreecommitdiff
path: root/DuetPkg/DataHubGenDxe/DataHubGen.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-03 00:46:49 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-03 00:46:49 +0000
commit3eb90413badc94ddeb9ebbda61e4d703e4a706d7 (patch)
tree61df7b0cb1d5742ebac23e904be68e8054e4a18e /DuetPkg/DataHubGenDxe/DataHubGen.c
parent8c7f0932d6a9649bad1c0d9318473b5652b808ec (diff)
downloadedk2-platforms-3eb90413badc94ddeb9ebbda61e4d703e4a706d7.tar.xz
Clean up DataHubGenDxe:
1. Fix the structure assignment 2. Removed the unused DXS file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7403 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DataHubGenDxe/DataHubGen.c')
-rw-r--r--DuetPkg/DataHubGenDxe/DataHubGen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DuetPkg/DataHubGenDxe/DataHubGen.c b/DuetPkg/DataHubGenDxe/DataHubGen.c
index 3878b74fc5..6d6770444d 100644
--- a/DuetPkg/DataHubGenDxe/DataHubGen.c
+++ b/DuetPkg/DataHubGenDxe/DataHubGen.c
@@ -172,7 +172,7 @@ InstallMemoryDataHub (
DataRecord.Record.ArrayStartAddress.MemoryArrayStartAddress = LShiftU64(SmbiosTable.Type19->StartingAddress, 10);
DataRecord.Record.ArrayStartAddress.MemoryArrayEndAddress = LShiftU64((UINT64) SmbiosTable.Type19->EndingAddress + 1, 10) - 1;
- DataRecord.Record.ArrayStartAddress.PhysicalMemoryArrayLink.ProducerName = gEfiMemoryProducerGuid;
+ CopyGuid (&DataRecord.Record.ArrayStartAddress.PhysicalMemoryArrayLink.ProducerName, &gEfiMemoryProducerGuid);
DataRecord.Record.ArrayStartAddress.PhysicalMemoryArrayLink.Instance = 0;
DataRecord.Record.ArrayStartAddress.PhysicalMemoryArrayLink.SubInstance = EFI_SUBCLASS_INSTANCE_NON_APPLICABLE;
DataRecord.Record.ArrayStartAddress.MemoryArrayPartitionWidth = (UINT16)(SmbiosTable.Type19->PartitionWidth);