]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/SP804TimerLib: Fix delay functions to be reentrant
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 18 Aug 2011 10:14:33 +0000 (10:14 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 18 Aug 2011 10:14:33 +0000 (10:14 +0000)
commit2dde40b1ff1ab66cb5233bcc334b1555a0027735
tree50d40ccd1aff22102e6f67ec56b48df38bb8149d
parent9e4a626c06f506475b1852ca38f1d03c120b4803
ArmPlatformPkg/SP804TimerLib: Fix delay functions to be reentrant

In the previous implementation, if the MicroSecondDelay or NanoSecondDelay
were called while a delay function was already running, the timer HW controller
was reinitialized with the new settings and it was discarding the settings
of the first called delay function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12163 6f19259b-4bc3-4df7-8a09-765794883524
ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.c