summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/sitecustomize.py
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2017-01-27 06:56:19 +0100
committerLaszlo Ersek <lersek@redhat.com>2017-01-31 00:14:37 +0100
commit4175356fb4bfe89415677aed8fb4e6928ced2ff1 (patch)
tree88fa2b300476b533d9a4703deef683f54a30b2e9 /BaseTools/Source/Python/sitecustomize.py
parentfcca9f67fb81e77b2c76315bd26160772090fd75 (diff)
downloadedk2-4175356fb4bfe89415677aed8fb4e6928ced2ff1.tar.gz
edk2-4175356fb4bfe89415677aed8fb4e6928ced2ff1.tar.bz2
edk2-4175356fb4bfe89415677aed8fb4e6928ced2ff1.zip
ArmVirtPkg/QemuFwCfgLib: extract generic DmaTransferBytes() function
The DmaReadBytes() function that we currently use only for reading -- through the InternalQemuFwCfgReadBytes function pointer, in case the DMA interface is available -- is suitable with minimal changes for two more operations provided by the DMA interface, WRITE and SKIP. Expose the Control parameter in the function prototype, rename the function to DmaTransferBytes(), and rebase DmaReadBytes() to it. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=359 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions