]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/sys/EfiSysCall.h
StdLib: Add multi-byte character support. The normal "narrow" character set is now...
[mirror_edk2.git] / StdLib / Include / sys / EfiSysCall.h
index cbaf1d1397e9b1da10f60afbc061f3186701e49b..6f4742875edac4335186e534bef7e5f2e0d42988 100644 (file)
@@ -53,7 +53,7 @@
       BOOLEAN   ValidateFD    (int fd, int IsOpen);\r
 @endverbatim\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 under\r
   the terms and conditions of the BSD License that accompanies this distribution.\r
   The full text of the license may be found at\r
@@ -333,4 +333,18 @@ __BEGIN_DECLS
   int       reboot    (int, char *);\r
 __END_DECLS\r
 \r
+/*  The console output stream, stdout, supports cursor positioning via the\r
+    lseek() function call.  The following entities facilitate packing the\r
+    X and Y coordinates into the offset parameter of the lseek call.\r
+*/\r
+typedef struct {\r
+  UINT32    Column;\r
+  UINT32    Row;\r
+} CURSOR_XY;\r
+\r
+typedef union {\r
+  UINT64      Offset;\r
+  CURSOR_XY   XYpos;\r
+} XY_OFFSET;\r
+\r
 #endif  /* _EFI_SYS_CALL_H */\r