[edk2-devel] [PATCH 0/2] OvmfXen: Cleanup debug options

Anthony PERARD posted 2 patches 4 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/edk2 tags/patchew/20200420162918.2312514-1-anthony.perard@citrix.com
There is a newer version of this series
OvmfPkg/OvmfXen.dsc                           | 49 +++++--------------
.../PlatformDebugLibIoPort.inf                |  6 +--
.../DebugLibDetect.h                          | 20 --------
.../DebugLib.c                                | 16 ------
.../DebugLibDetect.c                          | 20 +-------
5 files changed, 17 insertions(+), 94 deletions(-)
copy OvmfPkg/Library/{PlatformDebugLibIoPort => XenDebugLibIoPort}/PlatformDebugLibIoPort.inf (76%)
copy OvmfPkg/Library/{PlatformDebugLibIoPort => XenDebugLibIoPort}/DebugLibDetect.h (57%)
copy OvmfPkg/Library/{PlatformDebugLibIoPort => XenDebugLibIoPort}/DebugLib.c (94%)
copy OvmfPkg/Library/{PlatformDebugLibIoPort => XenDebugLibIoPort}/DebugLibDetect.c (61%)
[edk2-devel] [PATCH 0/2] OvmfXen: Cleanup debug options
Posted by Anthony PERARD 4 years ago
Patch series available in this git branch:
git://xenbits.xen.org/people/aperard/ovmf.git br.ovmfxen-debug-io-v1

Remove non working DEBUG_ON_SERIAL_PORT, then add a new LibIoPort which always
writes to the IO port.

Issues was discovered and discuss in this mail threads:
    <e1f7e62c-adb4-eace-3828-7d73ae59ecd4@bsdio.com>
    "OvmfPkg XenPkg: X64 DEBUG GCC5 -DDEBUG_ON_SERIAL_PORT=TRUE build is broken"

Cheers,

Anthony PERARD (2):
  OvmfPkg/OvmfXen: Remove DEBUG_ON_SERIAL_PORT
  OvmfPkg/OvmfXen: Introduce XenDebugLibIoPort

 OvmfPkg/OvmfXen.dsc                           | 49 +++++--------------
 .../PlatformDebugLibIoPort.inf                |  6 +--
 .../DebugLibDetect.h                          | 20 --------
 .../DebugLib.c                                | 16 ------
 .../DebugLibDetect.c                          | 20 +-------
 5 files changed, 17 insertions(+), 94 deletions(-)
 copy OvmfPkg/Library/{PlatformDebugLibIoPort => XenDebugLibIoPort}/PlatformDebugLibIoPort.inf (76%)
 copy OvmfPkg/Library/{PlatformDebugLibIoPort => XenDebugLibIoPort}/DebugLibDetect.h (57%)
 copy OvmfPkg/Library/{PlatformDebugLibIoPort => XenDebugLibIoPort}/DebugLib.c (94%)
 copy OvmfPkg/Library/{PlatformDebugLibIoPort => XenDebugLibIoPort}/DebugLibDetect.c (61%)

-- 
Anthony PERARD


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57641): https://edk2.groups.io/g/devel/message/57641
Mute This Topic: https://groups.io/mt/73153287/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-