mirror of https://github.com/acidanthera/audk.git
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:
parent
c719e02c14
commit
b7f76514ec
|
@ -92,7 +92,6 @@ DxePrintLibPrint2ProtocolVaListToBaseList (
|
|||
BOOLEAN Done;
|
||||
|
||||
ASSERT (Format != NULL);
|
||||
ASSERT (VaListMarker != NULL);
|
||||
ASSERT (BaseListMarker != NULL);
|
||||
|
||||
BaseListStart = BaseListMarker;
|
||||
|
|
|
@ -182,7 +182,7 @@ TerminalConOutOutputString (
|
|||
UINTN Length;
|
||||
UTF8_CHAR Utf8Char;
|
||||
CHAR8 GraphicChar;
|
||||
CHAR8 AsciiChar;
|
||||
CHAR8 AsciiChar = 0;
|
||||
EFI_STATUS Status;
|
||||
UINT8 ValidBytes;
|
||||
//
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -494,7 +494,7 @@ Returns:
|
|||
// Process DEBUG () macro
|
||||
//
|
||||
AsciiBSPrint (PrintBuffer, BYTES_PER_RECORD, Format, Marker);
|
||||
printf (PrintBuffer);
|
||||
printf ("%s", PrintBuffer);
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
|
|
Loading…
Reference in New Issue