\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
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
}\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
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
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
}\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