]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditorTypes.h
ShellPkg/[hex]edit: use SimpleTextInEx to read console
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / HexEditorTypes.h
index ddd6070c94846e85a51f034310c5258ae35b1403..2a0429a4a1bc7c913b7dd8d42dbf0a7f35cef8a5 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   data types that are used by editor\r
   \r
-  Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved. <BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -78,10 +78,9 @@ typedef struct {
 } HEFI_EDITOR_DISK_IMAGE;\r
 \r
 typedef struct {\r
-  EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoFncs;\r
-\r
-  UINTN                           Offset;\r
-  UINTN                           Size;\r
+  EFI_CPU_IO2_PROTOCOL *IoFncs;\r
+  UINTN                Offset;\r
+  UINTN                Size;\r
 } HEFI_EDITOR_MEM_IMAGE;\r
 \r
 typedef struct {\r
@@ -110,17 +109,18 @@ typedef struct {
 } HEFI_EDITOR_BUFFER_IMAGE;\r
 \r
 typedef struct {\r
-  HEFI_EDITOR_BUFFER_IMAGE    *BufferImage;\r
-\r
-  HEFI_EDITOR_COLOR_UNION     ColorAttributes;\r
-  HEFI_EDITOR_POSITION        ScreenSize;           // row number and column number\r
-  BOOLEAN                     MouseSupported;\r
-  EFI_SIMPLE_POINTER_PROTOCOL *MouseInterface;\r
-  INT32                       MouseAccumulatorX;\r
-  INT32                       MouseAccumulatorY;\r
-\r
-  UINTN                       SelectStart;          // starting from 1\r
-  UINTN                       SelectEnd;            // starting from 1\r
+  HEFI_EDITOR_BUFFER_IMAGE          *BufferImage;\r
+\r
+  HEFI_EDITOR_COLOR_UNION           ColorAttributes;\r
+  HEFI_EDITOR_POSITION              ScreenSize;           // row number and column number\r
+  EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *TextInputEx;\r
+  BOOLEAN                           MouseSupported;\r
+  EFI_SIMPLE_POINTER_PROTOCOL       *MouseInterface;\r
+  INT32                             MouseAccumulatorX;\r
+  INT32                             MouseAccumulatorY;\r
+\r
+  UINTN                             SelectStart;          // starting from 1\r
+  UINTN                             SelectEnd;            // starting from 1\r
 } HEFI_EDITOR_GLOBAL_EDITOR;\r
 \r
 #endif\r