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

[Minios-devel] [UNIKRAFT/NEWLIB v2 3/3] Add syscall.h


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Mon, 26 Aug 2019 17:36:36 +0300
  • Cc: charalampos.mainas@xxxxxxxxx
  • Delivery-date: Mon, 26 Aug 2019 14:37:04 +0000
  • Ironport-phdr: 9a23:CnhakBYktZV6+beOjrXQRob/LSx+4OfEezUN459isYplN5qZr86ybnLW6fgltlLVR4KTs6sC17OM9fm9BSdfv96oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vMhm6txjdu8kZjIdtKKs8ywbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrRyhuRJx3oDaboKSOvV8cKPQZs8WSXZbU8pNTSFNHp+wYo0SBOQBJ+ZYqIz9qkMQoBu5HgmsGOLvyjlVjXHwwK06y/khGhzB0QM8GNIOq2jUrNTzNKsIVeC10bHIzSjYYvxKwjfx8pDIcg06rv2WR7JwdtPcxE8yHA3GllWdsZHpMjyI2ugXsGWW7/BsWfyxh2MlsQ18rCCjytojh4XUnI4YyVDJ+T9nzIs7K9C0UlN3bNG6HJZWqiqULZF5Qtk4TGFtoCs6z7oGtoOlcyUS05QnwgLfa+SAc4iV/hLvTOaRLil8hHJiYL+/mROy/lKhyu34TMW7zE1KojBdktnRrX8BzQbT6s+fRvt8+EeuxyqP2hjO5uxLPEw4j6nWJp47zrIuiJYes17PEyHulEXzlqCWd0Ek+uay6+TgZ7XrvoOTN4hvigHiM6QunNazAeAlMggWQmiW4viz1Kb58U3hXbVFlec6krPesJzCP8QUura5AxNJ0oYk8xu/Cjam0NIZnXkAN1JJYQ+IgJb3O17QJPD1FvO/g1W3kDd33PDKJLLgDYvLLnTZl7fhZ7l94VZGyAUv1dBf+45UCrYZLf3vWk/+rsbYAQU9MwOuxubnENJ91pgEVWKKGKCZMaXSvkWT5u80JemDepMauDLnJPc+/fLhk2I5yhchevys3J0Wb2v9Evl4LkGxZXv3nsxHAWoM+A0kQ7/EklqHBBVUfGqzWeoY+ykmQNatCpzfR4brhKGZwQ+wBdtOe2oAEFfaQiSgTJmNR/pZMHHaGcRmiDFRDbU=
  • Ironport-sdr: S+frMPVDpdzE8LK64lCD2dod1benNCKf6KifQ/ORol1phxITvJoh4OU4gocUlaczmD4N7eOVQq T5hnl1Jf6KaA==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

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

 


Rackspace

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