]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/PlatformPei: factor out Q35BoardVerification()
authorLaszlo Ersek <lersek@redhat.com>
Fri, 20 Sep 2019 11:36:56 +0000 (13:36 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 5 Feb 2020 12:59:32 +0000 (12:59 +0000)
commite0ed7a9b15fa777b216ee1af01502b5dc93da1b1
tree581f908693985ca7bc55fe155ffe4728b4b2ff0d
parent04ff9d663b1a18b8aed0d3f8553ab6fc8cc62c02
OvmfPkg/PlatformPei: factor out Q35BoardVerification()

Before adding another SMM-related, and therefore Q35-only, dynamically
detectable feature, extract the current board type check from
Q35TsegMbytesInitialization() to a standalone function.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1512
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Message-Id: <20200129214412.2361-5-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
OvmfPkg/PlatformPei/MemDetect.c
OvmfPkg/PlatformPei/Platform.c