[BOOTMGFW]

- Build fixes for GCC

svn path=/trunk/; revision=69077
This commit is contained in:
Alex Ionescu 2015-09-07 04:42:34 +00:00
parent 0cb7238f1d
commit 626d85d853
4 changed files with 15 additions and 14 deletions

View file

@ -620,8 +620,8 @@ NTSTATUS
EfiConOutQueryMode (
_In_ SIMPLE_TEXT_OUTPUT_INTERFACE *TextInterface,
_In_ ULONG Mode,
_In_ PULONG Columns,
_In_ PULONG Rows
_In_ UINTN* Columns,
_In_ UINTN* Rows
);
NTSTATUS

View file

@ -190,7 +190,7 @@ InitializeLibrary (
InitializeListHead(&EnEventNotificationList);
#endif
/* Initialize the I/O Manager */i
/* Initialize the I/O Manager */
Status = BlpIoInitialize();
if (!NT_SUCCESS(Status))
{

View file

@ -251,8 +251,8 @@ NTSTATUS
EfiConOutQueryMode (
_In_ SIMPLE_TEXT_OUTPUT_INTERFACE *TextInterface,
_In_ ULONG Mode,
_In_ PULONG Columns,
_In_ PULONG Rows
_In_ UINTN* Columns,
_In_ UINTN* Rows
)
{
BL_ARCH_MODE OldMode;
@ -407,7 +407,6 @@ EfiConOutReadCurrentMode (
)
{
BL_ARCH_MODE OldMode;
EFI_STATUS EfiStatus;
/* Are we in protected mode? */
OldMode = CurrentExecutionContext->Mode;

View file

@ -535,7 +535,8 @@ ConsoleEfiTextFindModeFromAllowed (
)
{
EFI_SIMPLE_TEXT_OUTPUT_MODE ModeInfo;
ULONG MaxMode, MaxQueriedMode, Mode, HRes, VRes, i, MatchingMode;
ULONG MaxMode, MaxQueriedMode, Mode, i, MatchingMode;
UINTN HRes, VRes;
ULONGLONG ModeListSize;
PBL_DISPLAY_MODE ModeEntry, ModeList, SupportedModeEntry;
NTSTATUS Status;
@ -632,7 +633,8 @@ ConsoleFirmwareTextOpen (
{
BL_DISPLAY_MODE DisplayMode;
EFI_SIMPLE_TEXT_OUTPUT_MODE CurrentMode, NewMode;
ULONG HRes, VRes, Mode;
UINTN HRes, VRes;
ULONG Mode;
NTSTATUS Status;
/* Read the current mode and its settings */
@ -834,12 +836,12 @@ DsppInitialize (
)
{
BL_LIBRARY_PARAMETERS LibraryParameters = BlpLibraryParameters;
BOOLEAN NoGraphics, HighestMode;
BOOLEAN NoGraphics;// , HighestMode;
NTSTATUS Status;
PBL_DISPLAY_MODE DisplayMode;
ULONG GraphicsResolution;
//ULONG GraphicsResolution;
PVOID GraphicsConsole;
PVOID RemoteConsole;
// PVOID RemoteConsole;
PBL_TEXT_CONSOLE TextConsole;
/* Initialize font data */
@ -887,7 +889,7 @@ DsppInitialize (
BcdLibraryInteger_GraphicsResolution,
&GraphicsResolution);
#else
GraphicsResolution = 0;
//GraphicsResolution = 0;
Status = STATUS_NOT_FOUND;
#endif
if (NT_SUCCESS(Status))
@ -902,7 +904,7 @@ DsppInitialize (
BcdLibraryBoolean_GraphicsForceHighestMode,
&HighestMode);
#else
HighestMode = 0;
//HighestMode = 0;
Status = STATUS_NOT_FOUND;
#endif
if (NT_SUCCESS(Status))
@ -952,7 +954,7 @@ DsppInitialize (
DspGraphicalConsole = NULL;
/* If we don't have a text console, go get a remote console */
RemoteConsole = NULL;
//RemoteConsole = NULL;
if (!TextConsole)
{
EarlyPrint(L"Display path not handled\n");