audk/ArmPkg/Library
Olivier Martin 4a2928934b ArmPkg/ArmArchTimerLib: Promotes 32bit value to prevent overflow
Both MicroSeconds and PcdArmArchTimerFreqInHz are 32-bit values on
AArch32 so their multiplication produces 32-bit result that might
cause wrong calculation.

Example: With MicroSeconds = 200 us, PcdArmArchTimerFreqInHz = 24MHz.
200*24000000 = 0x1_1E1A_3000 => So 0x1E1A_3000 when the type is UINT32.

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@16329 6f19259b-4bc3-4df7-8a09-765794883524
2014-11-11 00:52:46 +00:00
..
ArmArchTimerLib ArmPkg/ArmArchTimerLib: Promotes 32bit value to prevent overflow 2014-11-11 00:52:46 +00:00
ArmCacheMaintenanceLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
ArmDisassemblerLib ArmPkg/ArmDisassemblerLib: ARMThumb and AArch64 fixes 2014-09-09 15:57:18 +00:00
ArmDmaLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
ArmGenericTimerPhyCounterLib ArmPkg: add ArmGenericTimerCounterLib implementation using physical timer 2014-09-09 16:06:10 +00:00
ArmGenericTimerVirtCounterLib ArmPkg: add ArmGenericTimerCounterLib implementation using virtual timer 2014-09-09 16:07:43 +00:00
ArmHvcLib ArmPkg: Ensured the stack is always quad-word aligned 2014-11-11 00:51:11 +00:00
ArmLib ArmPkg: Ensured the stack is always quad-word aligned 2014-11-11 00:51:11 +00:00
ArmPsciResetSystemLib ArmPkg/ArmPsciResetSystemLib: Made the library only using SMC 2014-10-10 11:22:50 +00:00
ArmSmcLib ArmPkg: Ensured the stack is always quad-word aligned 2014-11-11 00:51:11 +00:00
ArmSmcLibNull ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
BaseMemoryLibStm ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
BaseMemoryLibVstm ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
BdsLib ArmPkg,ArmPlatformPkg: Allow dynamic PCDs for memory base and size 2014-09-09 16:11:30 +00:00
CompilerIntrinsicsLib ArmPkg/CompilerIntrinsicesLib: Fixed memmove() and memset() 2014-11-11 00:52:11 +00:00
DebugAgentSymbolsBaseLib ArmPlatformPkg: Increase more ARM address Pcd entries to 64-bit. 2014-11-11 00:43:03 +00:00
DebugPeCoffExtraActionLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
DebugUncachedMemoryAllocationLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
DefaultExceptionHandlerLib ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
PeiServicesTablePointerLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
RvdPeCoffExtraActionLib ArmPkg/Semihostlib: Rename semi-hosting open option 2014-10-27 10:37:20 +00:00
SemiHostingDebugLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SemiHostingSerialPortLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SemihostLib ArmPkg/SemihostLib: Add library functions 2014-10-27 10:38:18 +00:00
UncachedMemoryAllocationLib ArmPkg/UncachedMemoryAllocationLib: Track uncached memory allocations 2014-10-10 11:24:11 +00:00