\r
\r
/**\r
- Set the current mode to either text or graphics. Graphics is\r
+ Set the current video mode to either text or graphics. Graphics is\r
for Quiet Boot.\r
\r
@param This Console Control Protocol instance pointer.\r
- @param Mode Mode to set.\r
+ @param Mode Video mode is to be set.\r
\r
- @retval EFI_SUCCESS Mode information returned.\r
- @retval EFI_INVALID_PARAMETER Invalid parameter.\r
- @retval EFI_UNSUPPORTED Operation unsupported.\r
+ @retval EFI_SUCCESS Mode is set successfully.\r
+ @retval EFI_INVALID_PARAMETER Mode is not the valid mode value.\r
+ @retval EFI_UNSUPPORTED Mode is unsupported by console device.\r
\r
**/\r
EFI_STATUS\r
\r
\r
/**\r
- Set the video device into the specified mode and clears the visible portions of \r
+ Set the video device into the specified mode and clears the visible portions of\r
the output display to black.\r
\r
@param This The EFI_GRAPHICS_OUTPUT_PROTOCOL instance.\r
@param DestinationX X coordinate of destination for the BltBuffer.\r
@param DestinationY Y coordinate of destination for the BltBuffer.\r
@param Width Width of rectangle in BltBuffer in pixels.\r
- @param Height Hight of rectangle in BltBuffer in pixels. \r
+ @param Height Hight of rectangle in BltBuffer in pixels.\r
@param Delta OPTIONAL.\r
\r
@retval EFI_SUCCESS The Blt operation completed.\r
@param DestinationX X coordinate of destination for the BltBuffer.\r
@param DestinationY Y coordinate of destination for the BltBuffer.\r
@param Width Width of rectangle in BltBuffer in pixels.\r
- @param Height Hight of rectangle in BltBuffer in pixels. \r
+ @param Height Hight of rectangle in BltBuffer in pixels.\r
@param Delta OPTIONAL.\r
\r
@retval EFI_SUCCESS The Blt operation completed.\r
}\r
\r
/**\r
- Write data from the buffer to video display based on Graphics Output setting. \r
+ Write data from the buffer to video display based on Graphics Output setting.\r
\r
@param Private Consplitter Text Out pointer.\r
@param GraphicsOutput Graphics Output protocol pointer.\r
@retval EFI_SUCCESS The Blt operation completed.\r
@retval EFI_INVALID_PARAMETER BltOperation is not valid.\r
@retval EFI_DEVICE_ERROR A hardware error occured writting to the video buffer.\r
- \r
+\r
\r
**/\r
EFI_STATUS\r
ReturnStatus = Status;\r
}\r
}\r
- } \r
+ }\r
}\r
\r
return ReturnStatus;\r
(DestinationX, DestinationY)\r
(DestinationX + Width, DestinationY + Height).\r
Only one pixel will be used from the BltBuffer. Delta is NOT used.\r
- EfiUgaVideoToBltBuffer: \r
+ EfiUgaVideoToBltBuffer:\r
Read data from the video display rectangle\r
(SourceX, SourceY) (SourceX + Width, SourceY + Height) and place it in\r
the BltBuffer rectangle (DestinationX, DestinationY )\r
@param DestinationX X coordinate of destination for the BltBuffer.\r
@param DestinationY Y coordinate of destination for the BltBuffer.\r
@param Width Width of rectangle in BltBuffer in pixels.\r
- @param Height Hight of rectangle in BltBuffer in pixels. \r
+ @param Height Hight of rectangle in BltBuffer in pixels.\r
@param Delta OPTIONAL.\r
\r
@retval EFI_SUCCESS The Blt operation completed.\r
(DestinationX, DestinationY)\r
(DestinationX + Width, DestinationY + Height).\r
Only one pixel will be used from the BltBuffer. Delta is NOT used.\r
- EfiUgaVideoToBltBuffer: \r
+ EfiUgaVideoToBltBuffer:\r
Read data from the video display rectangle\r
(SourceX, SourceY) (SourceX + Width, SourceY + Height) and place it in\r
the BltBuffer rectangle (DestinationX, DestinationY )\r
}\r
\r
/**\r
- Write data from the buffer to video display based on UGA Draw setting. \r
+ Write data from the buffer to video display based on UGA Draw setting.\r
\r
@param Private Consplitter Text Out pointer.\r
@param GraphicsOutput Graphics Output protocol pointer.\r
@retval EFI_SUCCESS The Blt operation completed.\r
@retval EFI_INVALID_PARAMETER BltOperation is not valid.\r
@retval EFI_DEVICE_ERROR A hardware error occured writting to the video buffer.\r
- \r
+\r
**/\r
EFI_STATUS\r
DevNullUgaSync (\r
LastRow = Private->DevNullRows - 1;\r
MaxColumn = Private->DevNullColumns;\r
\r
- if (Mode->Attribute & EFI_WIDE_ATTRIBUTE) {\r
+ if ((Mode->Attribute & EFI_WIDE_ATTRIBUTE) != 0) {\r
CurrentWidth = 2;\r
} else {\r
CurrentWidth = 1;\r
Sets the current coordinates of the cursor position.\r
\r
@param Private Text Out Splitter pointer.\r
- @param Column \r
+ @param Column\r
@param Row the position to set the cursor to. Must be\r
greater than or equal to zero and less than the\r
number of columns and rows by QueryMode ().\r