OvmfPkg/PlatformDebugLibIoPort: factor out debug port detection
Factor out debug port detection in PlatformDebugLibIoPort. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Message-Id: <20200423095358.2518197-4-anthony.perard@citrix.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
61ac4fc70d
commit
52f012129a
@@ -12,12 +12,6 @@
|
||||
|
||||
#include <Base.h>
|
||||
|
||||
//
|
||||
// The constant value that is read from the debug I/O port
|
||||
//
|
||||
#define BOCHS_DEBUG_PORT_MAGIC 0xE9
|
||||
|
||||
|
||||
/**
|
||||
Helper function to return whether the virtual machine has a debug I/O port.
|
||||
PlatformDebugLibIoPortFound can call this function directly or cache the
|
||||
|
Reference in New Issue
Block a user