GCC cleanup for all EDK I DXE libraries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4969 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -77,7 +77,14 @@ Returns:
|
||||
//
|
||||
// Put break point in module that contained the error.
|
||||
//
|
||||
#ifndef __GNUC__
|
||||
EFI_BREAKPOINT ();
|
||||
#else
|
||||
//
|
||||
// Bugbug: Need to fix a GNC style cpu break point
|
||||
//
|
||||
EFI_DEADLOOP ();
|
||||
#endif
|
||||
}
|
||||
|
||||
VOID
|
||||
|
@@ -140,7 +140,7 @@ GetImageEx (
|
||||
Status = gBS->HandleProtocol (
|
||||
ImageHandle,
|
||||
&gEfiLoadedImageProtocolGuid,
|
||||
&LoadedImage
|
||||
(VOID **) &LoadedImage
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
@@ -152,7 +152,7 @@ GetImageEx (
|
||||
#else
|
||||
&gEfiFirmwareVolume2ProtocolGuid,
|
||||
#endif
|
||||
&ImageFv
|
||||
(VOID **) &ImageFv
|
||||
);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
Status = GetImageFromFv (ImageFv, NameGuid, SectionType, Buffer, Size);
|
||||
|
@@ -98,7 +98,7 @@ Returns:
|
||||
UINTN EndIndex;
|
||||
|
||||
if (PdbFileName == NULL) {
|
||||
EfiAsciiStrCpy (GaugeString, " ");
|
||||
EfiAsciiStrCpy (GaugeString, (CHAR8 *)" ");
|
||||
} else {
|
||||
StartIndex = 0;
|
||||
for (EndIndex = 0; PdbFileName[EndIndex] != 0; EndIndex++)
|
||||
@@ -229,7 +229,7 @@ GetNameFromHandle (
|
||||
CHAR8 *PdbFileName;
|
||||
EFI_DRIVER_BINDING_PROTOCOL *DriverBinding;
|
||||
|
||||
EfiAsciiStrCpy (GaugeString, " ");
|
||||
EfiAsciiStrCpy (GaugeString, (CHAR8 *)" ");
|
||||
|
||||
//
|
||||
// Get handle name from image protocol
|
||||
|
Reference in New Issue
Block a user