]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLibPrivateInternalFiles/Include/Device/Console.h
StdLib: Add multi-byte character support. The normal "narrow" character set is now...
[mirror_edk2.git] / StdLibPrivateInternalFiles / Include / Device / Console.h
index e97ee3fd2c693a313b17e75fb3a571ed4af92fdb..9b4eb52d76e17a80f2aeb763896f75ad4fcee635 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Declarations and macros for the console abstraction.\r
 \r
-  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are licensed and made available\r
   under the terms and conditions of the BSD License which accompanies this\r
   distribution.  The full text of the license may be found at\r
 #include  <kfile.h>\r
 #include  <Device/Device.h>\r
 \r
-typedef struct {\r
-  UINT32    Column;\r
-  UINT32    Row;\r
-} CursorXY;\r
-\r
-typedef union {\r
-  UINT64      Offset;\r
-  CursorXY    XYpos;\r
-} XYoffset;\r
-\r
 /*  The members Cookie through Abstraction, inclusive, are the same type and order\r
     for all instance structures.\r
 \r
@@ -43,7 +33,7 @@ typedef struct {
   UINT64                      NumRead;      ///< Number of characters Read.\r
   UINT64                      NumWritten;   ///< Number of characters Written.\r
   EFI_INPUT_KEY               UnGetKey;     ///< One-key pushback, for poll().\r
-  UINT32                      Reserved_2;   // Force the struct to be a multiple of 8-bytes long\r
+  __mbstate_t                 CharState;    ///< Character state for the byte stream passing through this device\r
 } ConInstance;\r
 \r
 __BEGIN_DECLS\r