ShellPkg: Fix ARM build errors.

submitted-by: Olivier Martin olivier.martin@arm.com>
reviewed-by: Jaben Carsey <Jaben.Carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14400 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jcarsey
2013-06-11 22:07:03 +00:00
committed by jcarsey
parent fa1dad159c
commit 28981267c5
15 changed files with 13 additions and 17 deletions

View File

@@ -300,6 +300,7 @@ FileBufferRestoreMousePosition (
// backup the old screen attributes
//
Orig = MainEditor.ColorAttributes;
New.Data = 0;
New.Colors.Foreground = Orig.Colors.Background;
New.Colors.Background = Orig.Colors.Foreground;

View File

@@ -149,6 +149,7 @@ InputBarRefresh (
CursorCol = gST->ConOut->Mode->CursorColumn;
CursorRow = gST->ConOut->Mode->CursorRow;
Orig.Data = gST->ConOut->Mode->Attribute;
New.Data = 0;
New.Colors.Foreground = Orig.Colors.Background;
New.Colors.Background = Orig.Colors.Foreground;

View File

@@ -111,6 +111,7 @@ StatusBarRefresh (
// back up the screen attributes
//
Orig.Data = gST->ConOut->Mode->Attribute;
New.Data = 0;
New.Colors.Foreground = Orig.Colors.Background;
New.Colors.Background = Orig.Colors.Foreground;

View File

@@ -107,6 +107,7 @@ MainTitleBarRefresh (
// backup the old screen attributes
//
Orig.Data = gST->ConOut->Mode->Attribute;
New.Data = 0;
New.Colors.Foreground = Orig.Colors.Background;
New.Colors.Background = Orig.Colors.Foreground;

View File

@@ -580,6 +580,7 @@ HBufferImageRestoreMousePosition (
// backup the old screen attributes
//
Orig = HMainEditor.ColorAttributes;
New.Data = 0;
New.Colors.Foreground = Orig.Colors.Background;
New.Colors.Background = Orig.Colors.Foreground;
@@ -755,6 +756,7 @@ HBufferImageRefresh (
UINTN Tmp;
Orig = HMainEditor.ColorAttributes;
New.Data = 0;
New.Colors.Foreground = Orig.Colors.Background;
New.Colors.Background = Orig.Colors.Foreground;

View File

@@ -60,7 +60,7 @@ typedef struct {
typedef union {
HEFI_EDITOR_COLOR_ATTRIBUTES Colors;
UINT8 Data;
UINTN Data;
} HEFI_EDITOR_COLOR_UNION;
typedef struct {

View File

@@ -290,7 +290,6 @@ HMainCommandSaveBuffer (
// the file won't be saved
//
return EFI_SUCCESS;
break;
case L'c':
case L'C':