mes/src
Jan (janneke) Nieuwenhuizen 8c6756e7f2
mescc: Mes C Library: Add M2-Planet support.
Mes can now be built with M2-Planet by running

    kaem --verbose --strict

* include/linux/x86/syscall.h (SYS_getcwd, SYS_dup, SYS_dup2,
SYS_unlilnk, SYS_gettimeofday, SYS_clock_gettime, SYS_time): Move to
libc section.  Add M2-Planet constants.
* include/m2/lib.h (struct timezone, struct timespec): struct timeval):
Define.  Add M2-Planet flavor prototypes for mes libc.
* include/mes/m2.h: Remove macros.
* include/mes/mes.h (g_start_time, __gettimeofday_time,
__get_internal_run_time_ts): Declare.
* src/mes.c (init): Initialize them.
* src/posix.c: Use them.
* simple.make: Use them.  Remove macro preprocessing for M2-Planet.
* kaem.run: New file.
2020-07-25 20:00:44 +02:00
..
builtins.c core: Split-out stack.c 2020-07-19 08:53:46 +02:00
core.c core: Split-out core.c. 2020-07-19 08:49:23 +02:00
display.c core: Prepare for M2-Planet: if (foo). 2020-07-18 08:53:42 +02:00
eval-apply.c core: Prepare for M2-Planet: if (foo). 2020-07-18 08:53:42 +02:00
gc.c core: Prepare for M2-Planet: M2_CELL_SIZE. 2020-07-16 21:56:49 +02:00
hash.c core: Outline hashq_get_handle, hash_set_x_. 2020-07-17 15:25:37 +02:00
lib.c core: Split-out stack.c 2020-07-19 08:53:46 +02:00
math.c core: Prepare for M2-Planet: VALUE/TYPE indirections. 2020-07-17 14:30:01 +02:00
mes.c mescc: Mes C Library: Add M2-Planet support. 2020-07-25 20:00:44 +02:00
module.c core: Upcase register names. 2020-05-17 22:32:53 +02:00
posix.c mescc: Mes C Library: Add M2-Planet support. 2020-07-25 20:00:44 +02:00
reader.c core: Prepare for M2-Planet: if (foo). 2020-07-18 08:53:42 +02:00
stack.c core: Split-out stack.c 2020-07-19 08:53:46 +02:00
string.c core: Prepare for M2-Planet: VALUE/TYPE indirections. 2020-07-17 14:30:01 +02:00
struct.c core: Prepare for pointer cells. 2020-07-14 15:57:49 +02:00
symbol.c core: Prepare for M2-Planet: if (foo). 2020-07-18 08:53:42 +02:00
vector.c core: Prepare for M2-Planet: M2_CELL_SIZE. 2020-07-16 21:56:49 +02:00