public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdeModulePkg/TerminalDxe: add modes
@ 2022-09-19  8:56 Konstantin Aladyshev
  2022-09-19 21:01 ` [edk2-devel] " Michael D Kinney
  0 siblings, 1 reply; 11+ messages in thread
From: Konstantin Aladyshev @ 2022-09-19  8:56 UTC (permalink / raw)
  To: devel; +Cc: jian.j.wang, gaoliming, ray.ni, Konstantin Aladyshev

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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-09-23  8:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-19  8:56 [PATCH] MdeModulePkg/TerminalDxe: add modes Konstantin Aladyshev
2022-09-19 21:01 ` [edk2-devel] " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox