UefiPayloadPkg: Make TerminalDxe build time configurable
As the TerminalDxe significantly slows down the boot menu rendering, disable it but default and add the option SERIAL_TERMINAL to enabled it for headless platforms. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
committed by
Jeremy Soller
parent
e88dc61df6
commit
876c1d36b3
@@ -158,7 +158,9 @@ INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
|
||||
INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
||||
INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
||||
INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
!if $(SERIAL_TERMINAL) == TRUE
|
||||
INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
||||
!endif
|
||||
INF UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
|
||||
INF UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.inf
|
||||
|
||||
|
@@ -64,6 +64,9 @@
|
||||
DEFINE UART_DEFAULT_STOP_BITS = 1
|
||||
DEFINE DEFAULT_TERMINAL_TYPE = 0
|
||||
|
||||
# Enabling the serial terminal will slow down the boot menu rendering!
|
||||
DEFINE SERIAL_TERMINAL = FALSE
|
||||
|
||||
#
|
||||
# typedef struct {
|
||||
# UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
|
||||
@@ -561,7 +564,9 @@
|
||||
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
||||
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
||||
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
!if $(SERIAL_TERMINAL) == TRUE
|
||||
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
||||
!endif
|
||||
UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
|
||||
UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.inf
|
||||
|
||||
|
@@ -64,6 +64,9 @@
|
||||
DEFINE UART_DEFAULT_STOP_BITS = 1
|
||||
DEFINE DEFAULT_TERMINAL_TYPE = 0
|
||||
|
||||
# Enabling the serial terminal will slow down the boot menu redering!
|
||||
DEFINE SERIAL_TERMINAL = FALSE
|
||||
|
||||
#
|
||||
# typedef struct {
|
||||
# UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
|
||||
@@ -570,7 +573,9 @@
|
||||
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
||||
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
||||
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
!if $(SERIAL_TERMINAL) == TRUE
|
||||
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
||||
!endif
|
||||
UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
|
||||
UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.inf
|
||||
|
||||
|
Reference in New Issue
Block a user