]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c
code scrub.
[mirror_edk2.git] / MdeModulePkg / Universal / Console / TerminalDxe / TerminalConOut.c
index c7c94fe0296b026749d125d397cd9e0383d1dd40..daa40d894a77ccf731731c1b8fc04d729d85d9e2 100644 (file)
@@ -70,18 +70,18 @@ STATIC UNICODE_TO_CHAR  UnicodeToPcAnsiOrAscii[] = {
   { GEOMETRICSHAPE_DOWN_TRIANGLE,       0x1f, L'v' },\r
   { GEOMETRICSHAPE_LEFT_TRIANGLE,       0x11, L'<' },\r
 \r
-  {  ARROW_LEFT,                         0x3c, L'<' },\r
-  {  ARROW_UP,                           0x18, L'^' },\r
-  {  ARROW_RIGHT,                        0x3e, L'>' },\r
-  {  ARROW_DOWN,                         0x19, L'v' },\r
+  { ARROW_LEFT,                         0x3c, L'<' },\r
+  { ARROW_UP,                           0x18, L'^' },\r
+  { ARROW_RIGHT,                        0x3e, L'>' },\r
+  { ARROW_DOWN,                         0x19, L'v' },\r
 \r
   { 0x0000,                             0x00, L'\0' }\r
 };\r
 \r
-CHAR16 mSetModeString[]            = { ESC, '[', '=', '3', 'h', 0 };\r
-CHAR16 mSetAttributeString[]       = { ESC, '[', '0', 'm', ESC, '[', '4', '0', 'm', ESC, '[', '4', '0', 'm', 0 };\r
-CHAR16 mClearScreenString[]        = { ESC, '[', '2', 'J', 0 };\r
-CHAR16 mSetCursorPositionString[]  = { ESC, '[', '0', '0', ';', '0', '0', 'H', 0 };\r
+STATIC CHAR16 mSetModeString[]            = { ESC, '[', '=', '3', 'h', 0 };\r
+STATIC CHAR16 mSetAttributeString[]       = { ESC, '[', '0', 'm', ESC, '[', '4', '0', 'm', ESC, '[', '4', '0', 'm', 0 };\r
+STATIC CHAR16 mClearScreenString[]        = { ESC, '[', '2', 'J', 0 };\r
+STATIC CHAR16 mSetCursorPositionString[]  = { ESC, '[', '0', '0', ';', '0', '0', 'H', 0 };\r
 \r
 //\r
 // Body of the ConOut functions\r
@@ -89,6 +89,7 @@ CHAR16 mSetCursorPositionString[]  = { ESC, '[', '0', '0', ';', '0', '0', 'H', 0
 \r
 /**\r
   Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.Reset().\r
+\r
   If ExtendeVerification is TRUE, then perform dependent serial device reset,\r
   and set display mode to mode 0.\r
   If ExtendedVerification is FALSE, only set display mode to mode 0.\r
@@ -152,6 +153,7 @@ TerminalConOutReset (
 \r
 /**\r
   Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.OutputString().\r
+\r
   The Unicode string will be converted to terminal expressible data stream\r
   and send to terminal via serial port.\r
 \r
@@ -335,6 +337,7 @@ OutputError:
 \r
 /**\r
   Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.TestString().\r
+\r
   If one of the characters in the *Wstring is\r
   neither valid Unicode drawing characters,\r
   not ASCII code, then this function will return\r
@@ -385,6 +388,7 @@ TerminalConOutTestString (
 \r
 /**\r
   Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.QueryMode().\r
+\r
   It returns information for an available text mode\r
   that the terminal supports.\r
   In this driver, we support text mode 80x25 (mode 0),\r
@@ -433,6 +437,7 @@ TerminalConOutQueryMode (
 \r
 /**\r
   Implements EFI_SIMPLE_TEXT_OUT.SetMode().\r
+\r
   Set the terminal to a specified display mode.\r
   In this driver, we only support mode 0.\r
 \r
@@ -782,6 +787,7 @@ TerminalConOutSetCursorPosition (
 \r
 /**\r
   Implements SIMPLE_TEXT_OUTPUT.EnableCursor().\r
+\r
   In this driver, the cursor cannot be hidden.\r
 \r
   @param This      Indicates the calling context.\r