EmbeddedPkg/CoherentDmaLib: add support for non-1:1 DMA translation
Bring CoherentDmaLib in line with ArmDmaLib, and add support for defining a static offset between the host's and the bus master's view of memory. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
@@ -205,3 +205,10 @@
|
||||
|
||||
[PcdsFixedAtBuild.common, PcdsDynamic.common]
|
||||
gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths|L""|VOID*|0x00000055
|
||||
|
||||
#
|
||||
# Value to add to a host address to obtain a device address, using
|
||||
# unsigned 64-bit integer arithmetic. This means we can rely on
|
||||
# truncation on overflow to specify negative offsets.
|
||||
#
|
||||
gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset|0x0|UINT64|0x0000058
|
||||
|
Reference in New Issue
Block a user