1da7616 OvmfPkg/QemuBootOrderLib: adapt Q35 SATA PMPN to UEFI spec Mantis 1353

1 file Authored by lersek 8 years ago, Committed by Hao Wu 8 years ago,
    OvmfPkg/QemuBootOrderLib: adapt Q35 SATA PMPN to UEFI spec Mantis 1353
    
    On the Q35 machine type of QEMU, there is no port multiplier connected to
    the on-board SATA controller. Therefore the AtaAtapiPassThru driver update
    for Mantis ticket 1353 <https://mantis.uefi.org/mantis/view.php?id=1353>
    changes the middle number (the Port Multiplier Port Number) in the Sata()
    device path nodes from 0x0 to 0xFFFF.
    
    Adapt the translation from OpenFirmware in QemuBootOrderLib.
    
    (Note: QemuBootOrderLib is deprecated at this point (see USE_OLD_BDS in
    the DSC files), but until we remove it, it should be kept in sync with
    QemuNewBootOrderLib.)
    
    Cc: Jordan Justen <jordan.l.justen@intel.com>
    Cc: Feng Tian <feng.tian@intel.com>
    Cc: Hao Wu <hao.a.wu@intel.com>
    Contributed-under: TianoCore Contribution Agreement 1.0
    Signed-off-by: Laszlo Ersek <lersek@redhat.com>
    Reviewed-by: Feng Tian <feng.tian@intel.com>