diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-26 17:59:34 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-26 17:59:34 +0000 |
commit | e188a609341e9cdb5e6de6bf80b870e42b8a4ddc (patch) | |
tree | a137e1e7978a523a3dd20c6115e2ccf6e6457261 /DuetPkg/DataHubGenDxe | |
parent | 35d297c7acce7d72863c22ddae95eb39827f3cd3 (diff) | |
download | edk2-platforms-e188a609341e9cdb5e6de6bf80b870e42b8a4ddc.tar.xz |
Fix bundle of issue for ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6740 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DataHubGenDxe')
-rw-r--r-- | DuetPkg/DataHubGenDxe/DataHubGen.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/DuetPkg/DataHubGenDxe/DataHubGen.c b/DuetPkg/DataHubGenDxe/DataHubGen.c index dcb42bb96b..3878b74fc5 100644 --- a/DuetPkg/DataHubGenDxe/DataHubGen.c +++ b/DuetPkg/DataHubGenDxe/DataHubGen.c @@ -148,7 +148,6 @@ InstallMemoryDataHub ( IN VOID *Smbios
)
{
- EFI_STATUS Status;
SMBIOS_STRUCTURE_POINTER SmbiosTable;
EFI_MEMORY_SUBCLASS_DRIVER_DATA DataRecord;
@@ -178,7 +177,7 @@ InstallMemoryDataHub ( DataRecord.Record.ArrayStartAddress.PhysicalMemoryArrayLink.SubInstance = EFI_SUBCLASS_INSTANCE_NON_APPLICABLE;
DataRecord.Record.ArrayStartAddress.MemoryArrayPartitionWidth = (UINT16)(SmbiosTable.Type19->PartitionWidth);
- Status = gDataHub->LogData (
+ gDataHub->LogData (
gDataHub,
&gEfiMemorySubClassGuid,
&gEfiMiscProducerGuid,
@@ -296,7 +295,7 @@ InstallMiscDataHub ( DataRecord.Record.MiscSystemManufacturer.SystemVersion = 0;
DataRecord.Record.MiscSystemManufacturer.SystemSerialNumber = 0;
// DataRecord.Record.MiscSystemManufacturer.SystemUuid = {0};
- DataRecord.Record.MiscSystemManufacturer.SystemWakeupType = 0;
+ DataRecord.Record.MiscSystemManufacturer.SystemWakeupType = EfiSystemWakeupTypeReserved;
DataRecord.Record.MiscSystemManufacturer.SystemSKUNumber = 0;
DataRecord.Record.MiscSystemManufacturer.SystemFamily = 0;
@@ -339,7 +338,7 @@ DataHubGenEntrypoint ( Status = gBS->LocateProtocol (
&gEfiHiiDatabaseProtocolGuid,
NULL,
- &gHiiDatabase
+ (VOID**)&gHiiDatabase
);
if (EFI_ERROR (Status)) {
|