diff options
author | Laszlo Ersek <lersek@redhat.com> | 2015-01-02 12:08:02 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-01-02 12:08:02 +0000 |
commit | 2f9c55cc1d00c075c20dc196699eb8f0d6029069 (patch) | |
tree | fe50fa65a427c4dfa6348b1f5325b30855db92f9 /OvmfPkg/Include/Guid | |
parent | cca7475bcbb8bfc7c732e106692a6d15e1dae51c (diff) | |
download | edk2-platforms-2f9c55cc1d00c075c20dc196699eb8f0d6029069.tar.xz |
OvmfPkg: QemuBootOrderLib: featurize PCI-like device path translation
In preparation for adding OpenFirmware-to-UEFI translation for "MMIO-like"
OFW device path fragments, let's turn the currently exclusive "PCI-like"
translation into "just one" of the possible translations.
- Rename TranslateOfwNodes() to TranslatePciOfwNodes(), because it is
tightly coupled to "PCI-like" translations.
- Rename REQUIRED_OFW_NODES to REQUIRED_PCI_OFW_NODES, because this macro
is specific to TranslatePciOfwNodes().
- Introduce a new wrapper function under the original TranslateOfwNodes()
name. This function is supposed to try translations in some order until
a specific translation returns a status different from
RETURN_UNSUPPORTED.
- Introduce a new Feature PCD that controls whether PCI translation is
attempted at all.
- The boot option "survival policy" in BootOrderComplete() must take into
account if the user was able to select PCI-like boot options. If the
user had no such possibility (because the Feature PCD was off for
PCI-like translation), then we ought to keep any such unselected boot
options.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16571 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Include/Guid')
0 files changed, 0 insertions, 0 deletions