<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/lib/sbi/tests/riscv_locks_test.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/lib/sbi/tests/riscv_locks_test.c?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/lib/sbi/tests/riscv_locks_test.c?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2024-05-07T05:57:30Z</updated>
<entry>
<title>lib: tests: Add test for spinlocks</title>
<updated>2024-05-07T05:57:30Z</updated>
<author>
<name>Ivan Orlov</name>
<email>ivan.orlov0322@gmail.com</email>
</author>
<published>2024-04-23T15:52:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=7b1ed968e4afc63d2ca54f6bdf1b42ef2b6576fa'/>
<id>urn:sha1:7b1ed968e4afc63d2ca54f6bdf1b42ef2b6576fa</id>
<content type='text'>
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 &lt;ivan.orlov0322@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
</feed>
