[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[[UNIKRAFT] 3/4] lib/uklock: Provide isr-safe semaphore routines



This patch provides isr-safe semaphore routines, derived from uklock
library.

Signed-off-by: cristian-vijelie <cristianvijelie@xxxxxxxxx>
---
 lib/uklock/include/uk/isr/semaphore.h | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 lib/uklock/include/uk/isr/semaphore.h

diff --git a/lib/uklock/include/uk/isr/semaphore.h 
b/lib/uklock/include/uk/isr/semaphore.h
new file mode 100644
index 0000000..a0dd7b5
--- /dev/null
+++ b/lib/uklock/include/uk/isr/semaphore.h
@@ -0,0 +1,3 @@
+#include <uk/semaphore.h>
+
+#define uk_semaphore_down_try_isr(x) uk_semaphore_down_try(x)
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.