[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Minios-devel] [UNIKRAFT/NEWLIB v2 3/3] Add syscall.h
Hello Costin,
Thank you for the changes, patch looks good.
Reviewed-by: Charalampos Mainas <charalampos.mainas@xxxxxxxxx>
From: Costin Lupu <costin.lupu@xxxxxxxxx>
Sent: Monday, August 26, 2019 4:36 PM
To: minios-devel@xxxxxxxxxxxxx
Cc: Charalampos Mainas
Subject: [UNIKRAFT/NEWLIB v2 3/3] Add syscall.h
We simply redirect inclusion to our syscall.h header in syscall_shim library.
Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
include/sys/syscall.h | 6 ++++++
include/syscall.h | 1 +
2 files changed, 7 insertions(+)
create mode 100644 include/sys/syscall.h
create mode 100644 include/syscall.h
diff --git a/include/sys/syscall.h b/include/sys/syscall.h
new file mode 100644
index 0000000..55ae098
--- /dev/null
+++ b/include/sys/syscall.h
@@ -0,0 +1,6 @@
+#include <uk/config.h>
+#if CONFIG_LIBSYSCALL_SHIM
+#include <uk/syscall.h>
+#else
+#error "Provide alternative syscall.h header"
+#endif
diff --git a/include/syscall.h b/include/syscall.h
new file mode 100644
index 0000000..4c30578
--- /dev/null
+++ b/include/syscall.h
@@ -0,0 +1 @@
+#include <sys/syscall.h>
--
2.20.1
|
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|