audk/ArmPlatformPkg
Evan Lloyd 0312b14df6 ArmPlatformPkg: Set Juno debug serial port defaults
Juno has several serial ports, one of which may be used for a remote
debug interface (e.g. gdb, WinDbg).  The debug serial port needs to
be distinct from that used for UEFI trace to prevent corruption of
debugger protocol messaging.
The UEFI spec requires that serial devices be initialised to default
settings. (11.8 Serial I/O Protocol - "The default attributes for all
UART-style serial device interfaces are: 115,200 baud, ..."
and 17.3.3 EFI Debugport Variable - "These defaults must be used in the
absence of a DEBUGPORT variable...")

This change adds initialization of the serial device reported in the
ACPI DBG2 table.  The initialisation is done early in the boot to allow
the possibility of remote debug of UEFI itself.

NOTE: This is functionally dependent on the DBG2 table being updated in
OpenPlatformPkg, but is required as a precursor to that change.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2016-07-07 17:55:34 +01:00
..
ArmJunoPkg ArmPlatformPkg: Set Juno debug serial port defaults 2016-07-07 17:55:34 +01:00
ArmVExpressPkg ArmPlatformPkg: delete orphaned ArmVExpress.dsc.inc 2016-03-01 10:25:30 +00:00
Bds ArmPlatformPkg/Bds: Early Console Initialization 2016-02-09 18:23:57 +00:00
Documentation ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
Drivers ArmPlatformPkg/NorFlashAuthenticatedDxe: remove this obsolete module 2016-06-22 16:52:41 +02:00
FileSystem/BootMonFs ArmPlatformPkg: Fixed builds after some ShellPkg libraries have moved 2015-01-13 18:58:00 +00:00
Include ArmPlatformPkg: Add support to configure PL011 UART clock 2016-06-15 16:15:50 +02:00
Library ArmPlatformPkg: Add support to configure PL011 UART clock 2016-06-15 16:15:50 +02:00
MemoryInitPei ArmPkg ArmVirtPkg MdeModulePkg: switch to separate ArmMmuLib 2016-07-07 14:33:47 +02:00
PlatformPei ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PrePeiCore ArmPlatformPkg: fixups for 64-bit pointers 2016-03-25 07:17:28 +01:00
PrePi ArmPlatformPkg/PrePi: allow unicore version to be used on MP hardware 2016-04-29 18:12:52 +02:00
Scripts ArmPlatformPkg/DS-5: fix 64-bit PE/COFF header parsing bug 2016-04-18 10:18:14 +02:00
ArmPlatformPkg.dec ArmPlatformPkg: Set Juno debug serial port defaults 2016-07-07 17:55:34 +01:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00