[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v2 0/3] 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. Changes since v1: *) Dropped the nolibc patch *) Moved _time_types.h to include/uktime *) Removed duplicate _time_types.h in musl-imported *) Added license to _time_types.h Vlad-Andrei Badoiu (3): lib/uktime: Import timegm from musl lib/uktime: Adapt timegm implementation to Unikraft lib/uktime: Fix checkpath errors for timegm lib/uktime/Makefile.uk | 13 +- lib/uktime/exportsyms.uk | 2 +- lib/uktime/include/uktime/_time_types.h | 62 ++++++++ lib/uktime/musl-imported/include/time_impl.h | 7 + .../musl-imported/include/uktime/time.h | 150 ++++++++++++++++++ .../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 +++ 10 files changed, 428 insertions(+), 3 deletions(-) create mode 100644 lib/uktime/include/uktime/_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 |