diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-08-24 20:05:48 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-08-29 17:54:36 +0100 |
commit | deef290f95e0df80549d2a6cbd7edae104c82709 (patch) | |
tree | 2d1f712f971dacd3f6e5103839eee5dcd05d8b87 /SecurityPkg | |
parent | 1696b221b15e439162cfccd6bd04132e425dd2ff (diff) | |
download | edk2-deef290f95e0df80549d2a6cbd7edae104c82709.tar.gz edk2-deef290f95e0df80549d2a6cbd7edae104c82709.tar.bz2 edk2-deef290f95e0df80549d2a6cbd7edae104c82709.zip |
EmbeddedPkg/DmaLib: add routine to allocate aligned buffers
DmaLib's purpose is to manage memory that is shared between the host
and DMA capable devices. In some cases, this requires a larger alignment
than page size, and we currently don't cater for that in DmaLib. So add
a variant of DmaAllocateBuffer () that takes an alignment parameter.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'SecurityPkg')
0 files changed, 0 insertions, 0 deletions