|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v3 7/8] plat/linuxu: Add monotonic clock
Reviewed-by: Florian Schmidt <florian.schmidt@xxxxxxxxx> On 06/14/2018 04:12 PM, Simon Kuenzer wrote: Implement ukplat_monotonic_clock() with clock_gettime() system call. Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> --- plat/linuxu/include/linuxu/syscall-arm_32.h | 2 ++ plat/linuxu/include/linuxu/syscall-x86_64.h | 2 ++ plat/linuxu/include/linuxu/syscall.h | 8 ++++++++ plat/linuxu/include/linuxu/time.h | 1 + plat/linuxu/time.c | 15 +++++++++++++-- 5 files changed, 26 insertions(+), 2 deletions(-) diff --git a/plat/linuxu/include/linuxu/syscall-arm_32.h b/plat/linuxu/include/linuxu/syscall-arm_32.h index 2f0980a..3cdd32b 100644 --- a/plat/linuxu/include/linuxu/syscall-arm_32.h +++ b/plat/linuxu/include/linuxu/syscall-arm_32.h @@ -47,6 +47,8 @@ #define __SC_EXIT 1 #define __SC_IOCTL 54+#define __SC_CLOCK_GETTIME 263+ #define __SC_RT_SIGACTION 43 #define __SC_RT_SIGPROCMASK 126diff --git a/plat/linuxu/include/linuxu/syscall-x86_64.h b/plat/linuxu/include/linuxu/syscall-x86_64.hindex e58f260..5406ddf 100644 --- a/plat/linuxu/include/linuxu/syscall-x86_64.h +++ b/plat/linuxu/include/linuxu/syscall-x86_64.h @@ -47,6 +47,8 @@ #define __SC_IOCTL 16 #define __SC_EXIT 60+#define __SC_CLOCK_GETTIME 228+ #define __SC_RT_SIGACTION 13 #define __SC_RT_SIGPROCMASK 14diff --git a/plat/linuxu/include/linuxu/syscall.h b/plat/linuxu/include/linuxu/syscall.hindex 8411f39..577c0bd 100644 --- a/plat/linuxu/include/linuxu/syscall.h +++ b/plat/linuxu/include/linuxu/syscall.h @@ -37,6 +37,7 @@ #define __SYSCALL_H__#include <sys/types.h>+#include <sys/time.h> #include <linuxu/signal.h>#if defined __X86_64__ -- Dr. Florian Schmidt フローリアン・シュミット Research Scientist, Systems and Machine Learning Group NEC Laboratories Europe Kurfürsten-Anlage 36, D-69115 Heidelberg Tel. +49 (0)6221 4342-265 Fax: +49 (0)6221 4342-155 e-mail: florian.schmidt@xxxxxxxxx ============================================================ Registered at Amtsgericht Mannheim, Germany, HRB728558 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |