|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v5 8/9] plat/linuxu: Add monotonic clock
Hello Florian, This patch looks fine. On 08/31/2018 08:57 AM, Florian Schmidt wrote: From: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> Implement ukplat_monotonic_clock() with clock_gettime() system call. Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx> --- plat/linuxu/include/linuxu/syscall-arm_32.h | 1 + plat/linuxu/include/linuxu/syscall-x86_64.h | 1 + plat/linuxu/include/linuxu/syscall.h | 7 +++++++ plat/linuxu/include/linuxu/time.h | 1 + plat/linuxu/time.c | 14 ++++++++++++-- 5 files changed, 22 insertions(+), 2 deletions(-) diff --git a/plat/linuxu/include/linuxu/syscall-arm_32.h b/plat/linuxu/include/linuxu/syscall-arm_32.h index b393627..c3a684c 100644 --- a/plat/linuxu/include/linuxu/syscall-arm_32.h +++ b/plat/linuxu/include/linuxu/syscall-arm_32.h @@ -53,6 +53,7 @@ #define __SC_TIMER_GETTIME 259 #define __SC_TIMER_GETOVERRUN 260 #define __SC_TIMER_DELETE 261 +#define __SC_CLOCK_GETTIME 263 #define __SC_PSELECT6 335/* NOTE: from `man syscall`:diff --git a/plat/linuxu/include/linuxu/syscall-x86_64.h b/plat/linuxu/include/linuxu/syscall-x86_64.h index fb09dd5..26820dc 100644 --- a/plat/linuxu/include/linuxu/syscall-x86_64.h +++ b/plat/linuxu/include/linuxu/syscall-x86_64.h @@ -53,6 +53,7 @@ #define __SC_TIMER_GETTIME 224 #define __SC_TIMER_GETOVERRUN 225 #define __SC_TIMER_DELETE 226 +#define __SC_CLOCK_GETTIME 228 #define __SC_PSELECT6 270/* NOTE: from linux-4.6.3 (arch/x86/entry/entry_64.S): Reviewed-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> Thanks & Regards Sharan _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |