audk/OvmfPkg/Library
jljusten b90aefa9e4 OvmfPkg: add support for debug console on port 0x402
This patch adds support for a debug console on the same port that is used
by SeaBIOS.  This makes it easier to debug OVMF, because it does not mix
debug and serial output on the same device.  It also makes it easier to
leave some of the debug messages on even in release builds.

To enable it, pass "-debugcon stdio -global isa-debugcon.iobase=0x402" to
QEMU.

The new mechanism is enabled by default, but a regular serial console can
be chosen by adding -D DEBUG_ON_SERIAL_PORT to the build options.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
[jordan.l.justen@intel.com: MAX_DEBUG_MESSAGE_LENGTH=>0x100, p=>Ptr]
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13562 6f19259b-4bc3-4df7-8a09-765794883524
2012-07-26 16:36:39 +00:00
..
AcpiTimerLib OvmfPkg/AcpiTables: Change the ACPI PM Base Adress to 0xb000 2012-05-04 15:02:33 +00:00
EmuVariableFvbLib OvmfPkg EMU FVB: Add 2 functions to PlatformFvbLib 2011-01-09 03:51:16 +00:00
NvVarsFileLib OvmfPkg NvVarsFileLib: Leverage SerializeVariablesLib 2011-01-30 19:50:08 +00:00
PlatformBdsLib OvmfPkg BDS: Remove support for loading vgabios-cirrus.bin from 0xc0000 2012-07-10 22:43:42 +00:00
PlatformDebugLibIoPort OvmfPkg: add support for debug console on port 0x402 2012-07-26 16:36:39 +00:00
PlatformFvbLibNull OvmfPkg EMU FVB: Add 2 functions to PlatformFvbLib 2011-01-09 03:51:16 +00:00
PlatformSecureLib OvmfPkg: Add custom mode setup if the Secure Boot build option is specified. 2012-04-04 17:35:06 +00:00
QemuFwCfgLib OvmfPkg: introduce QemuFwCfgFindFile () 2012-07-23 17:10:29 +00:00
ResetSystemLib OvmfPkg ResetSystemLib: Fix build issue with VS2005 2011-01-27 01:08:52 +00:00
SerializeVariablesLib OvmfPkg: Remove variables that are set, but not used 2011-10-31 15:57:12 +00:00