public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Konstantin Aladyshev" <aladyshev22@gmail.com>
To: devel@edk2.groups.io
Cc: jian.j.wang@intel.com, gaoliming@byosoft.com.cn,
	ray.ni@intel.com, Konstantin Aladyshev <aladyshev22@gmail.com>
Subject: [PATCH] MdeModulePkg/TerminalDxe: add modes
Date: Mon, 19 Sep 2022 11:56:32 +0300	[thread overview]
Message-ID: <20220919085633.27707-1-aladyshev22@gmail.com> (raw)

The commit b807174fecacf4c9f8400cab4d6fb3f580284021
("MdeModulePkg/GraphicsConsoleDxe: add modes") has added modes for the
high display resolutions. Support these modes in the TerminalDxe as
well, so it would be possible to select the text mode that would take
all the available screen space.

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
---
 MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
index e2d779c783..6b7b970516 100644
--- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
+++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
@@ -115,6 +115,9 @@ TERMINAL_CONSOLE_MODE_DATA  mTerminalConsoleModeData[] = {
   { 80,  25 },
   { 80,  50 },
   { 100, 31 },
+  { 128, 40 },
+  { 160, 42 },
+  { 240, 56 },
   //
   // New modes can be added here.
   //
-- 
2.25.1


             reply	other threads:[~2022-09-19  8:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-19  8:56 Konstantin Aladyshev [this message]
2022-09-19 21:01 ` [edk2-devel] [PATCH] MdeModulePkg/TerminalDxe: add modes Michael D Kinney
2022-09-21  1:25   ` 回复: " gaoliming
2022-09-21  1:46     ` Michael D Kinney
2022-09-21  8:24       ` Konstantin Aladyshev
2022-09-21 16:27         ` Michael D Kinney
2022-09-22  8:23           ` Konstantin Aladyshev
2022-09-22 16:10             ` Michael D Kinney
2022-09-22 16:49               ` Konstantin Aladyshev
2022-09-22 20:08                 ` Michael D Kinney
2022-09-23  8:17                 ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220919085633.27707-1-aladyshev22@gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox