summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/PlatformPei/PlatformPei.inf
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2020-04-24 09:53:48 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-04-28 22:37:35 +0000
commit98800cce65c4eab75a1d0d387990982640e0300e (patch)
tree7688ea1df4525d4f9bf539097cf8263db9aaaee4 /OvmfPkg/PlatformPei/PlatformPei.inf
parent611c7f1101267d53b039a04136e55f313c756c5c (diff)
downloadedk2-98800cce65c4eab75a1d0d387990982640e0300e.tar.gz
OvmfPkg/PlatformPei: parse "X-PciMmio64Mb" with QemuFwCfgSimpleParserLib
Replace the - QemuFwCfgFindFile(), - QemuFwCfgSelectItem(), - QemuFwCfgReadBytes(), - AsciiStrDecimalToUint64() sequence in the GetFirstNonAddress() function with a call to QemuFwCfgSimpleParserLib. This change is compatible with valid strings accepted previously. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Per Sundstrom <per_sundstrom@yahoo.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2681 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20200424075353.8489-3-lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'OvmfPkg/PlatformPei/PlatformPei.inf')
-rw-r--r--OvmfPkg/PlatformPei/PlatformPei.inf1
1 files changed, 1 insertions, 0 deletions
diff --git a/OvmfPkg/PlatformPei/PlatformPei.inf b/OvmfPkg/PlatformPei/PlatformPei.inf
index 19f2424981..e72ef7963d 100644
--- a/OvmfPkg/PlatformPei/PlatformPei.inf
+++ b/OvmfPkg/PlatformPei/PlatformPei.inf
@@ -60,6 +60,7 @@
PeimEntryPoint
QemuFwCfgLib
QemuFwCfgS3Lib
+ QemuFwCfgSimpleParserLib
MtrrLib
MemEncryptSevLib
PcdLib