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
This commit is contained in:
AJFISH 2009-08-26 21:09:37 +00:00
parent c719e02c14
commit b7f76514ec
4 changed files with 4 additions and 5 deletions

View File

@ -92,7 +92,6 @@ DxePrintLibPrint2ProtocolVaListToBaseList (
BOOLEAN Done; BOOLEAN Done;
ASSERT (Format != NULL); ASSERT (Format != NULL);
ASSERT (VaListMarker != NULL);
ASSERT (BaseListMarker != NULL); ASSERT (BaseListMarker != NULL);
BaseListStart = BaseListMarker; BaseListStart = BaseListMarker;

View File

@ -182,7 +182,7 @@ TerminalConOutOutputString (
UINTN Length; UINTN Length;
UTF8_CHAR Utf8Char; UTF8_CHAR Utf8Char;
CHAR8 GraphicChar; CHAR8 GraphicChar;
CHAR8 AsciiChar; CHAR8 AsciiChar = 0;
EFI_STATUS Status; EFI_STATUS Status;
UINT8 ValidBytes; UINT8 ValidBytes;
// //

View File

@ -318,7 +318,7 @@ Returns:
MemorySubClassData.Record.ArrayStartAddress.MemoryArrayStartAddress = 0; MemorySubClassData.Record.ArrayStartAddress.MemoryArrayStartAddress = 0;
MemorySubClassData.Record.ArrayStartAddress.MemoryArrayEndAddress = LShiftU64 (TotalMemorySize, 20) - 1; MemorySubClassData.Record.ArrayStartAddress.MemoryArrayEndAddress = LShiftU64 (TotalMemorySize, 20) - 1;
MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.ProducerName = gEfiCallerIdGuid; CopyGuid (&MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.ProducerName, &gEfiCallerIdGuid);
MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.Instance = 1; MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.Instance = 1;
MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.SubInstance = EFI_SUBCLASS_INSTANCE_NON_APPLICABLE; MemorySubClassData.Record.ArrayStartAddress.PhysicalMemoryArrayLink.SubInstance = EFI_SUBCLASS_INSTANCE_NON_APPLICABLE;
MemorySubClassData.Record.ArrayStartAddress.MemoryArrayPartitionWidth = 0; MemorySubClassData.Record.ArrayStartAddress.MemoryArrayPartitionWidth = 0;

View File

@ -494,7 +494,7 @@ Returns:
// Process DEBUG () macro // Process DEBUG () macro
// //
AsciiBSPrint (PrintBuffer, BYTES_PER_RECORD, Format, Marker); AsciiBSPrint (PrintBuffer, BYTES_PER_RECORD, Format, Marker);
printf (PrintBuffer); printf ("%s", PrintBuffer);
} }
return EFI_SUCCESS; return EFI_SUCCESS;