Lift 255x255 erminal sie restriction to 65535x65535. Also change from
bitmasks to small structures of size chosen to fit in registers.
This commit is contained in:
parent
7abdac8e13
commit
e89c2d48a9
24 changed files with 266 additions and 244 deletions
|
@ -130,8 +130,8 @@ set_console_dimensions (void)
|
|||
|
||||
if (check_is_serial ())
|
||||
{
|
||||
grub_console_terminfo_output.width = 80;
|
||||
grub_console_terminfo_output.height = 24;
|
||||
grub_console_terminfo_output.size.x = 80;
|
||||
grub_console_terminfo_output.size.y = 24;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -142,8 +142,8 @@ set_console_dimensions (void)
|
|||
info = GRUB_ARC_FIRMWARE_VECTOR->getdisplaystatus (GRUB_ARC_STDOUT);
|
||||
if (info)
|
||||
{
|
||||
grub_console_terminfo_output.width = info->w + 1;
|
||||
grub_console_terminfo_output.height = info->h + 1;
|
||||
grub_console_terminfo_output.size.x = info->w + 1;
|
||||
grub_console_terminfo_output.size.y = info->h + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -164,8 +164,7 @@ static struct grub_terminfo_input_state grub_console_terminfo_input =
|
|||
static struct grub_terminfo_output_state grub_console_terminfo_output =
|
||||
{
|
||||
.put = put,
|
||||
.width = 80,
|
||||
.height = 20
|
||||
.size = { 80, 20 }
|
||||
};
|
||||
|
||||
static struct grub_term_input grub_console_term_input =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue