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:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -60,7 +60,7 @@ typedef struct {
|
||||
|
||||
typedef union {
|
||||
HEFI_EDITOR_COLOR_ATTRIBUTES Colors;
|
||||
UINT8 Data;
|
||||
UINTN Data;
|
||||
} HEFI_EDITOR_COLOR_UNION;
|
||||
|
||||
typedef struct {
|
||||
|
@@ -290,7 +290,6 @@ HMainCommandSaveBuffer (
|
||||
// the file won't be saved
|
||||
//
|
||||
return EFI_SUCCESS;
|
||||
break;
|
||||
|
||||
case L'c':
|
||||
case L'C':
|
||||
|
Reference in New Issue
Block a user