[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH 0/4] lib/uktime: Import timegm from musl
We import the timegm function from musl to the newly created library, uktime. We move the definitions from nolibc/time.h to uktime/time.h. This function is needed by Python 3. Vlad-Andrei Badoiu (4): lib/uktime: Import timegm from musl lib/uktime: Adapt timegm implementation to Unikraft lib/uktime: Fix checkpath errors for timegm Update time.h from nolibc to use uktime lib/nolibc/include/time.h | 27 +-- lib/uktime/Makefile.uk | 13 +- lib/uktime/exportsyms.uk | 2 +- lib/uktime/include/_time_types.h | 22 +++ .../musl-imported/include/_time_types.h | 21 +++ lib/uktime/musl-imported/include/time_impl.h | 7 + .../musl-imported/include/uktime/time.h | 158 ++++++++++++++++++ .../musl-imported/src/__month_to_secs.c | 12 ++ lib/uktime/musl-imported/src/__secs_to_tm.c | 82 +++++++++ lib/uktime/musl-imported/src/__tm_to_secs.c | 27 +++ lib/uktime/musl-imported/src/__year_to_secs.c | 55 ++++++ lib/uktime/musl-imported/src/timegm.c | 21 +++ 12 files changed, 418 insertions(+), 29 deletions(-) create mode 100644 lib/uktime/include/_time_types.h create mode 100644 lib/uktime/musl-imported/include/_time_types.h create mode 100644 lib/uktime/musl-imported/include/time_impl.h create mode 100644 lib/uktime/musl-imported/include/uktime/time.h create mode 100644 lib/uktime/musl-imported/src/__month_to_secs.c create mode 100644 lib/uktime/musl-imported/src/__secs_to_tm.c create mode 100644 lib/uktime/musl-imported/src/__tm_to_secs.c create mode 100644 lib/uktime/musl-imported/src/__year_to_secs.c create mode 100644 lib/uktime/musl-imported/src/timegm.c -- 2.20.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |