mes/scaffold
Jan Nieuwenhuizen 094bdac0bd
core: Support time functions.
* lib/linux/clock_gettime.c: New file, move from gnu.c.
* lib/linux/gettimeofday.c: New file, move from tcc.c.
* lib/linux/time.c: New file, move from tcc.c.
* lib/linux/libc.c: Include them.
* lib/linux/gnu.c (clock_gettime): Remove.
* lib/linux/tcc.c (time, gettimeofday): Remove.
* include/time.h (CLOCK_PROCESS_CPUTIME_ID): New define.
* src/posix.c (init_time, current_time, gettimeofday_,
seconds_and_nanoseconds_to_long, get_internal_run_time): New function.
* src/mes.c (scm_symbol_internal_time_units_per_second): New symbol.
(main): Call init_time.
2018-10-20 14:18:04 +02:00
..
boot mes: Move pair? to core. 2018-10-18 20:06:10 +02:00
tests core: Support \xNN in reader. Fixes tcc-boot running on Mes. 2018-12-13 18:19:43 +01:00
argv.c test: Build initial scaffold tests without libc. 2018-08-15 17:47:03 +02:00
cons-mes.c GNU Mes. 2018-07-22 14:24:36 +02:00
gc.scm Add missing copyright headers and READMEs. 2018-07-26 19:17:12 +02:00
hello.c GNU Mes. 2018-07-22 14:24:36 +02:00
main.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
malloc.c GNU Mes. 2018-07-22 14:24:36 +02:00
micro-mes.c GNU Mes. 2018-07-22 14:24:36 +02:00
mini-mes.c core: Support time functions. 2018-10-20 14:18:04 +02:00
read.c test: Build initial scaffold tests without libc. 2018-08-15 17:47:03 +02:00
read.data test: Build initial scaffold tests without libc. 2018-08-15 17:47:03 +02:00
tiny-mes.c GNU Mes. 2018-07-22 14:24:36 +02:00