diff options
author | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-26 21:09:37 +0000 |
---|---|---|
committer | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-26 21:09:37 +0000 |
commit | b7f76514ec387392b54659edb7b3e1ada60a751b (patch) | |
tree | e251748d45cc214f0ffd27e3372cf68d825d581e /UnixPkg/MiscSubClassPlatformDxe | |
parent | c719e02c1476f2b0adb313a3dd06d53ff34aa2e9 (diff) | |
download | edk2-b7f76514ec387392b54659edb7b3e1ada60a751b.zip edk2-b7f76514ec387392b54659edb7b3e1ada60a751b.tar.gz edk2-b7f76514ec387392b54659edb7b3e1ada60a751b.tar.bz2 |
Minor bugs fixes from testing on Xcode 3.2 and with the iPhone SDK 3.0 compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9202 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/MiscSubClassPlatformDxe')
-rw-r--r-- | UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c b/UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c index 8732677..99a778a 100644 --- a/UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c +++ b/UnixPkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c @@ -317,8 +317,8 @@ Returns: }
MemorySubClassData.Record.ArrayStartAddress.MemoryArrayStartAddress = 0;
- MemorySubClassData.Record.ArrayStartAddress.MemoryArrayEndAddress = LShiftU64 (TotalMemorySize, 20) - 1;
- MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.ProducerName = gEfiCallerIdGuid;
+ MemorySubClassData.Record.ArrayStartAddress.MemoryArrayEndAddress = LShiftU64 (TotalMemorySize, 20) - 1;
+ CopyGuid (&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;
|