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

Re: [[UNIKRAFT] 4/4] lib/ukmpi: Provide isr-safe routines



Hey Cristian,

I miss an implementation of uk_mbox_post_try_isr() and uk_mbox_recv_try_isr() with this commit. Can you provide those too?
Please send a new version as GitHub PR to
 https://github.com/unikraft/unikraft

Thanks,

Simon

On 28.01.21 12:34, cristian-vijelie wrote:
This patch provides isr-safe mbox routines, derived from ukmpi
library.

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

diff --git a/lib/ukmpi/include/uk/isr/mbox.h b/lib/ukmpi/include/uk/isr/mbox.h
new file mode 100644
index 0000000..78e738c
--- /dev/null
+++ b/lib/ukmpi/include/uk/isr/mbox.h
@@ -0,0 +1,8 @@
+#include <uk/mbox.h>
+
+#if CONFIG_LIBUKMPI_MBOX
+
+int uk_mbox_post_try_isr(struct uk_mbox *m, void *msg);
+int uk_mbox_recv_try_isr(struct uk_mbox *m, void **msg);
+
+#endif /* CONFIG_LIBUKMPI_MBOX */




 


Rackspace

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