]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c
MdeModulePkg/Graphics: Fix spelling mistakes
[mirror_edk2.git] / MdeModulePkg / Universal / Console / GraphicsConsoleDxe / GraphicsConsole.c
index 6b8d11d587d1fd077e5d07e183d95424f64afabb..d6d8db51d5e960b8fdb4e22f7049a32ef679bbbb 100644 (file)
@@ -214,7 +214,7 @@ Error:
 \r
   @param[in]  HorizontalResolution     The size of video screen in pixels in the X dimension.\r
   @param[in]  VerticalResolution       The size of video screen in pixels in the Y dimension.\r
-  @param[in]  GopModeNumber            The graphics mode number which graphis console is based on.\r
+  @param[in]  GopModeNumber            The graphics mode number which graphics console is based on.\r
   @param[out] TextModeCount            The total number of text modes that graphics console supports.\r
   @param[out] TextModeData             The buffer to the text modes column and row information.\r
                                        Caller is responsible to free it when it's non-NULL.\r
@@ -491,7 +491,7 @@ GraphicsConsoleControllerDriverStart (
         Mode = Private->GraphicsOutput->Mode;\r
         if (EFI_ERROR (Status) && Mode->MaxMode != 0) {\r
           //\r
-          // Set default mode failed or device don't support default mode, then get the current mode information\r
+          // If set default mode failed or device doesn't support default mode, then get the current mode information\r
           //\r
           HorizontalResolution = Mode->Info->HorizontalResolution;\r
           VerticalResolution = Mode->Info->VerticalResolution;\r
@@ -501,7 +501,7 @@ GraphicsConsoleControllerDriverStart (
     }\r
     if (ModeNumber != Private->GraphicsOutput->Mode->Mode) {\r
       //\r
-      // Current graphics mode is not set or is not set to the mode which we has found,\r
+      // Current graphics mode is not set or is not set to the mode which we have found,\r
       // set the new graphic mode.\r
       //\r
       Status = Private->GraphicsOutput->SetMode (Private->GraphicsOutput, ModeNumber);\r
@@ -740,7 +740,7 @@ GraphicsConsoleControllerDriverStop (
   Check if the current specific mode supported the user defined resolution\r
   for the Graphics Console device based on Graphics Output Protocol.\r
 \r
-  If yes, set the graphic devcice's current mode to this specific mode.\r
+  If yes, set the graphic device's current mode to this specific mode.\r
 \r
   @param  GraphicsOutput        Graphics Output Protocol instance pointer.\r
   @param  HorizontalResolution  User defined horizontal resolution\r
@@ -843,7 +843,7 @@ EfiLocateHiiProtocol (
   Reset the text output device hardware and optionally run diagnostics.\r
 \r
   Implements SIMPLE_TEXT_OUTPUT.Reset().\r
-  If ExtendeVerification is TRUE, then perform dependent Graphics Console\r
+  If ExtendedVerification is TRUE, then perform dependent Graphics Console\r
   device reset, and set display mode to mode 0.\r
   If ExtendedVerification is FALSE, only set display mode to mode 0.\r
 \r
@@ -1713,7 +1713,7 @@ GraphicsConsoleConOutEnableCursor (
 }\r
 \r
 /**\r
-  Gets Graphics Console devcie's foreground color and background color.\r
+  Gets Graphics Console device's foreground color and background color.\r
 \r
   @param  This                  Protocol instance pointer.\r
   @param  Foreground            Returned text foreground color.\r