-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc/power9/timer.c: implement udelay() without interrupts
Thanks to 'wait' instruction and exception definition on POWER it is possible to use Decrementer Exception without actually implementing Decrementer Interrupt handler. This greatly simplifies previous implementation and makes it available to use in all stages. Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com> Change-Id: I74cc95a503d4f3642609eff3b781f0b1c3168a3d
- Loading branch information
1 parent
5d80d66
commit d2ec14c
Showing
1 changed file
with
17 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters