Typo fixes in comments and variable names.
This commit is contained in:
parent
c3c20931a9
commit
cc85c3c340
39 changed files with 76 additions and 76 deletions
|
@ -349,7 +349,7 @@ grub_gfxterm_init (void)
|
|||
|
||||
/* Try out video mode. */
|
||||
|
||||
/* If we have 8 or less bits, then assuem that it is indexed color mode. */
|
||||
/* If we have 8 or less bits, then assume that it is indexed color mode. */
|
||||
if ((depth <= 8) && (depth != -1))
|
||||
flags |= GRUB_VIDEO_MODE_TYPE_INDEX_COLOR;
|
||||
|
||||
|
@ -399,7 +399,7 @@ grub_gfxterm_init (void)
|
|||
{
|
||||
/* No gfxmode variable set, use defaults. */
|
||||
|
||||
/* If we have 8 or less bits, then assuem that it is indexed color mode. */
|
||||
/* If we have 8 or less bits, then assume that it is indexed color mode. */
|
||||
if ((depth <= 8) && (depth != -1))
|
||||
flags |= GRUB_VIDEO_MODE_TYPE_INDEX_COLOR;
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ serial_hw_fetch (void)
|
|||
return -1;
|
||||
}
|
||||
|
||||
/* Put a chararacter. */
|
||||
/* Put a character. */
|
||||
static void
|
||||
serial_hw_put (const int c)
|
||||
{
|
||||
|
@ -273,7 +273,7 @@ serial_hw_init (void)
|
|||
{
|
||||
unsigned char status = 0;
|
||||
|
||||
/* Turn off the interupt. */
|
||||
/* Turn off the interrupt. */
|
||||
grub_outb (0, serial_settings.port + UART_IER);
|
||||
|
||||
/* Set DLAB. */
|
||||
|
|
|
@ -54,7 +54,7 @@ struct grub_colored_char
|
|||
|
||||
struct grub_virtual_screen
|
||||
{
|
||||
/* Dimensions of the virual screen. */
|
||||
/* Dimensions of the virtual screen. */
|
||||
grub_uint32_t width;
|
||||
grub_uint32_t height;
|
||||
|
||||
|
@ -77,7 +77,7 @@ struct grub_virtual_screen
|
|||
grub_uint8_t fg_color;
|
||||
grub_uint8_t bg_color;
|
||||
|
||||
/* Text buffer for virual screen. Contains (columns * rows) number
|
||||
/* Text buffer for virtual screen. Contains (columns * rows) number
|
||||
of entries. */
|
||||
struct grub_colored_char *text_buffer;
|
||||
};
|
||||
|
@ -376,7 +376,7 @@ scroll_up (void)
|
|||
virtual_screen.text_buffer[i].index = 0;
|
||||
}
|
||||
|
||||
/* Scroll frambuffer with one line to up. */
|
||||
/* Scroll framebuffer with one line to up. */
|
||||
grub_memmove (framebuffer,
|
||||
framebuffer
|
||||
+ bytes_per_scan_line * virtual_screen.char_height,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue