audk/ArmPkg/Library
Olivier Martin db06c2d723 ArmPkg/ArmDmaLib: Fixed the calculation of the Base Address of the Buffer
The former calculation 'ALIGN_VALUE(*DeviceAddress - BASE_4KB - 1,BASE_4KB)' did
not return the lowest aligned address.

Example:
*DeviceAddress = 0xB000C001;
*DeviceAddress - BASE_4KB - 1 = 0xB000B000;
Aligned value = 0xB000B000 + ((0x1000 - 0xB000B000)) & 0xFFF) = 0xB000B000
... while we where expected 0xB000C000.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14618 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-02 13:13:29 +00:00
..
ArmArchTimerLib ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
ArmCacheMaintenanceLib ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
ArmDisassemblerLib ArmPkg/DefaultExceptionHandlerLib: Added support to the BASE-type library 2012-09-28 09:55:48 +00:00
ArmDmaLib ArmPkg/ArmDmaLib: Fixed the calculation of the Base Address of the Buffer 2013-09-02 13:13:29 +00:00
ArmLib ArmPkg/ArmLib: Change comment to match code for setting of V bit in SCTLR register. 2013-09-02 09:10:17 +00:00
ArmSmcLib ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
ArmSmcLibNull ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
BaseMemoryLibStm ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
BaseMemoryLibVstm ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
BasePeCoffLib ArmPkg: Update the AArch64 Image File Machine Type to match the PE/COFF spec 2013-07-24 15:31:19 +00:00
BdsLib ArmPkg/BdsLib: AArch64 MPCore Linux 'spin-table' boot cache fix 2013-07-24 11:54:02 +00:00
CompilerIntrinsicsLib ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
DebugAgentSymbolsBaseLib ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
DebugPeCoffExtraActionLib ArmPkg/DebugPeCoffExtraActionLib: Checked the ImageContext->PdbPointer is not null 2013-03-05 23:01:53 +00:00
DebugUncachedMemoryAllocationLib ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
DefaultExceptionHandlerLib ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
PeiServicesTablePointerLib ArmPkg: Implement PeiServicesTablePointerLib using TPIDRURW register 2011-06-03 09:43:12 +00:00
RvdPeCoffExtraActionLib ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
SemiHostingDebugLib Update the copyright notice format 2010-04-29 12:15:47 +00:00
SemiHostingSerialPortLib ArmPkg/SemiHostingSerialPortLib: Return number of written bytes in SerialPortWrite() 2011-07-19 15:01:27 +00:00
SemihostLib ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
UncachedMemoryAllocationLib ArmPkg/UncachedMemoryAllocationLib: Removed unused header (Protocol/Cpu.h) 2013-07-16 00:07:24 +00:00