summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/PlatformDebugLibIoPort
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2018-03-10 21:14:06 +0100
committerLaszlo Ersek <lersek@redhat.com>2018-03-13 14:30:54 +0100
commit8fe388d99359ea21475428cfcd7b3946262c2e6b (patch)
treecc47db92e9c35f363d85fd0134e8f9c5e02ca722 /OvmfPkg/Library/PlatformDebugLibIoPort
parent332de9a3b08fa67a73dee018084d1c3282c97612 (diff)
downloadedk2-8fe388d99359ea21475428cfcd7b3946262c2e6b.tar.gz
edk2-8fe388d99359ea21475428cfcd7b3946262c2e6b.tar.bz2
edk2-8fe388d99359ea21475428cfcd7b3946262c2e6b.zip
OvmfPkg/PlatformDebugLibIoPort: list "DebugLibDetect.h" in the INF files
Among other things, "DebugLibDetect.h" declares the PlatformDebugLibIoPortFound() function. The function is called from "DebugLib.c", which is included in both library instances. The function is defined separately per library instance, in "DebugLibDetectRom.c" and "DebugLibDetect.c", respectively. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Suggested-by: Michael Kinney <michael.d.kinney@intel.com> Ref: http://mid.mail-archive.com/E92EE9817A31E24EB0585FDF735412F56327F7D3@ORSMSX113.amr.corp.intel.com Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'OvmfPkg/Library/PlatformDebugLibIoPort')
-rw-r--r--OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf1
-rw-r--r--OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf1
2 files changed, 2 insertions, 0 deletions
diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf b/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
index de3c2f542b..baa90a3d43 100644
--- a/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
+++ b/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
@@ -31,6 +31,7 @@
[Sources]
DebugLib.c
DebugLibDetect.c
+ DebugLibDetect.h
[Packages]
MdePkg/MdePkg.dec
diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf b/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
index 491c0318de..f95a105864 100644
--- a/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
+++ b/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
@@ -30,6 +30,7 @@
[Sources]
DebugLib.c
+ DebugLibDetect.h
DebugLibDetectRom.c
[Packages]