Revert "squash! x64"

This reverts commit 871e42a54838f83eade041924c112a070dc9b667.
This commit is contained in:
Janneke Nieuwenhuizen 2023-04-30 12:14:35 +02:00
parent c101ae9bfe
commit 5547487ee1
5 changed files with 7 additions and 12 deletions

View File

@ -19,7 +19,6 @@
# Usage:
# kaem --verbose --strict
cc_cpu=arm
mes_cpu=arm
stage0_cpu=armv7l
kaem --verbose --strict

View File

@ -19,7 +19,6 @@
# Usage:
# kaem --verbose --strict
cc_cpu=${mes_cpu:-i386}
mes_cpu=${mes_cpu:-x86}
stage0_cpu=${stage0_cpu:-x86}
@ -28,7 +27,7 @@ mkdir -p m2
M2-Planet \
--debug \
--architecture ${stage0_cpu} \
-D __${cc_cpu}__=1 \
-D __${mes_cpu}__=1 \
-D __linux__=1 \
-f include/mes/config.h \
-f include/mes/lib-mini.h \

View File

@ -19,7 +19,6 @@
# Usage:
# kaem --verbose --strict
cc_cpu=i386
mes_cpu=x86
stage0_cpu=x86
kaem --verbose --strict

View File

@ -19,7 +19,6 @@
# Usage:
# kaem --verbose --strict
cc_cpu=x86_64
mes_cpu=x86_64
stage0_cpu=amd64
kaem --verbose --strict

View File

@ -373,16 +373,15 @@ waitpid_ (struct scm *pid, struct scm *options)
return cons (make_number (child), make_number (status));
}
#if __x86_64__
/* Nanoseconds on 64-bit systems with POSIX timers. */
#if __M2__
#define TIME_UNITS_PER_SECOND 1000000000
#else
#define TIME_UNITS_PER_SECOND 1000000000U
#endif
#else
/* Milliseconds for everyone else. */
#define TIME_UNITS_PER_SECOND 1000
#elif __x86_64__
/* Nanoseconds on 64-bit systems with POSIX timers. */
#define TIME_UNITS_PER_SECOND 1000000000U
#else
/* Milliseconds for everyone else. */
#define TIME_UNITS_PER_SECOND 1000U
#endif
struct scm *