From 2b578de0b213ecc98d5889ec496d12a56eb3b187 Mon Sep 17 00:00:00 2001 From: jljusten Date: Tue, 12 Apr 2011 03:18:38 +0000 Subject: ShellPkg: Fix GCC 4.4 build issues This change fixes various GCC 4.4 build issues * EFIAPI usage inconsistencies * multi-character literal warning ('eell') * Filename case inconsistencies * Use 'ULL' suffix for integers > 4GB git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11519 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditorTypes.h | 2 +- ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditorTypes.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditorTypes.h index 2849f2b413..22f5c05566 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditorTypes.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditorTypes.h @@ -18,7 +18,7 @@ #include "UefiShellDebug1CommandsLib.h" #include "EditTitleBar.h" -#define EFI_EDITOR_LINE_LIST 'eell' +#define EFI_EDITOR_LINE_LIST SIGNATURE_32 ('e', 'e', 'l', 'l') #define ASCII_POSITION ((0x10 * 3) + 12) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c index a593d0afec..f327c5aede 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c @@ -50,6 +50,7 @@ HEFI_EDITOR_MEM_IMAGE HMemImageConst = { @retval EFI_UNSUPPORTED. **/ EFI_STATUS +EFIAPI DummyMemRead ( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL * This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, @@ -73,6 +74,7 @@ DummyMemRead ( @retval EFI_UNSUPPORTED. **/ EFI_STATUS +EFIAPI DummyMemWrite ( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL * This, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH Width, -- cgit v1.2.3