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

[Minios-devel] [UNIKRAFT/NEWLIB PATCH 14/16] Add syscall.h


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Thu, 22 Aug 2019 13:10:54 +0300
  • Cc: felipe.huici@xxxxxxxxx, charalampos.mainas@xxxxxxxxx
  • Delivery-date: Thu, 22 Aug 2019 10:11:26 +0000
  • Ironport-phdr: 9a23:pXWvKBH0K48c6Rpbn9HsUp1GYnF86YWxBRYc798ds5kLTJ7zr8SwAkXT6L1XgUPTWs2DsrQY0rCQ6vy9EjZbqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba5sIBmssAncuckbjYR8Jqs/1xDEvmZGd+NKyG1yOFmdhQz85sC+/J5i9yRfpfcs/NNeXKv5Yqo1U6VWACwpPG4p6sLrswLDTRaU6XsHTmoWiBtIDBPb4xz8Q5z8rzH1tut52CmdIM32UbU5Uims4qt3VBPljjoMOjgk+2/Vl8NwlrpWrhK/qRJizYDaY4abO/hwfq7GYd8WWXBMUtpLWiBdHo+xaZYEAeobPeZfqonwv0UDrRylBQmwBePvzCJDiHnr3a0izuQqDAbL0xAnH9IVrHTUrdP1OL0WUeCo1KnI0C7OYO9N2Tvn8IjIbwsureuWXbJ3aMfcz1QkGQDdjliItIDoMC6Z2v4OvmWb9eZsS/yjhmw9pwx/ujSj28ghhpTTio8Wyl3I7zt1zYg7KNGiVUJ2bsCoHZ1NvC+ALYR2WNktQ2RwtSY/zb0JpIC0cTARyJQi2x7fc/uHc5WU4h77VOaePzN4hHV9dbKhgha960mgyunmWsaoy1ZGtDJFksTXuXwXzRzT7dCLSvp7/ki/xTaCzx3f5+5ZLUwulqfWK4QtzqAumpcRq0jOEDf6mEDsg6+XckUk9PKo6+PiYrj+upCcMJR0ih3/MqQogMC/Bfk4MhATX2WA5eu8z6fv/VXkQLpRlPE2iK7ZvIjAJcsHvq65HxNV0oE75ha6Djem1tUYnX4cLF5cZR2IkZbpNE/KIP3jCfe/gk+skCtwx/zcMbzuHJPNImLEkLf7crZ381RcxxYrzdBD+5JUDakML+7zWkDrrtzXFBs5PBaxw+b/D9V9zZkSWWeVDa+YNqPdq0SI6/kpI+aSeIAVvCzyJOM/6/HwkH8zgUUdcrWx3ZsLdHC4GexrI0uHbnrog9cBCXkFshA+TOz3iV2NTT9Tam20X60i+j47DJipApzZSo+znbzSlBu8S5hXYGFBERWAHGnlc62AWuwQc2SCL8knlSYLBpa7TIp0/ha1qA78g556NvecriYfro7i0p5x+vXOvRopsyRpBYKH1DfeHClPgmoUSmpuj+hEqktnxwLb3A==
  • Ironport-sdr: qmV1u/qtltM9Zgg43c3mPWZwsCJHnOWY74t2p94FfqLFdquN+p0TYz8pVv10H8iVeGNpdkg7wC TdqNlYQF0S3g==
  • 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 | 5 +++++
 include/syscall.h     | 1 +
 2 files changed, 6 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..3e691a9
--- /dev/null
+++ b/include/sys/syscall.h
@@ -0,0 +1,5 @@
+#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®.