diff options
author | Laszlo Ersek <lersek@redhat.com> | 2017-09-07 20:56:39 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2017-09-08 20:22:32 +0200 |
commit | eed3f713052204e31f1c4703ef544897881c552e (patch) | |
tree | 485e8a583ff02eef3d26fa32d4c7c46d645132e7 /BaseTools/Source/Python | |
parent | 3281ebb4ae7de2a858c2e7ec4998b7e55be1a4dc (diff) | |
download | edk2-eed3f713052204e31f1c4703ef544897881c552e.tar.gz edk2-eed3f713052204e31f1c4703ef544897881c552e.tar.bz2 edk2-eed3f713052204e31f1c4703ef544897881c552e.zip |
MdeModulePkg/AtaAtapiPassThru: cache EnabledPciAttributes
Both AtaAtapiPassThruStart() and AtaAtapiPassThruStop() fetch the
supported attributes of the device, just so they can toggle the
IO+MMIO+BusMaster subset.
After we compute this bitmask in AtaAtapiPassThruStart(), we can cache it
for later, and save the fetch in AtaAtapiPassThruStop().
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions