diff options
| author | Ivan Orlov <[email protected]> | 2024-04-23 16:52:45 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-05-07 11:27:30 +0530 |
| commit | 7b1ed968e4afc63d2ca54f6bdf1b42ef2b6576fa (patch) | |
| tree | 9019ebdff137f00d68ed86187a099e62628cb24d /lib/utils/timer/objects.mk | |
| parent | 7bdf41ad1eb189820507c7699ee6a44df086ca70 (diff) | |
lib: tests: Add test for spinlocks
Implement the test which covers some of the functions from the
`riscv_locks.h` file. This test consists of 3 test cases:
1) For lock/unlock functions
2) Unsuccessful trylock (the lock was previously taken)
3) Successful trylock (the lock is free and can be taken)
Signed-off-by: Ivan Orlov <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions
