Revert "squash! x64"
This reverts commit 871e42a54838f83eade041924c112a070dc9b667.
This commit is contained in:
parent
c101ae9bfe
commit
5547487ee1
1
kaem.arm
1
kaem.arm
|
@ -19,7 +19,6 @@
|
||||||
# Usage:
|
# Usage:
|
||||||
# kaem --verbose --strict
|
# kaem --verbose --strict
|
||||||
|
|
||||||
cc_cpu=arm
|
|
||||||
mes_cpu=arm
|
mes_cpu=arm
|
||||||
stage0_cpu=armv7l
|
stage0_cpu=armv7l
|
||||||
kaem --verbose --strict
|
kaem --verbose --strict
|
||||||
|
|
3
kaem.run
3
kaem.run
|
@ -19,7 +19,6 @@
|
||||||
# Usage:
|
# Usage:
|
||||||
# kaem --verbose --strict
|
# kaem --verbose --strict
|
||||||
|
|
||||||
cc_cpu=${mes_cpu:-i386}
|
|
||||||
mes_cpu=${mes_cpu:-x86}
|
mes_cpu=${mes_cpu:-x86}
|
||||||
stage0_cpu=${stage0_cpu:-x86}
|
stage0_cpu=${stage0_cpu:-x86}
|
||||||
|
|
||||||
|
@ -28,7 +27,7 @@ mkdir -p m2
|
||||||
M2-Planet \
|
M2-Planet \
|
||||||
--debug \
|
--debug \
|
||||||
--architecture ${stage0_cpu} \
|
--architecture ${stage0_cpu} \
|
||||||
-D __${cc_cpu}__=1 \
|
-D __${mes_cpu}__=1 \
|
||||||
-D __linux__=1 \
|
-D __linux__=1 \
|
||||||
-f include/mes/config.h \
|
-f include/mes/config.h \
|
||||||
-f include/mes/lib-mini.h \
|
-f include/mes/lib-mini.h \
|
||||||
|
|
1
kaem.x86
1
kaem.x86
|
@ -19,7 +19,6 @@
|
||||||
# Usage:
|
# Usage:
|
||||||
# kaem --verbose --strict
|
# kaem --verbose --strict
|
||||||
|
|
||||||
cc_cpu=i386
|
|
||||||
mes_cpu=x86
|
mes_cpu=x86
|
||||||
stage0_cpu=x86
|
stage0_cpu=x86
|
||||||
kaem --verbose --strict
|
kaem --verbose --strict
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
# Usage:
|
# Usage:
|
||||||
# kaem --verbose --strict
|
# kaem --verbose --strict
|
||||||
|
|
||||||
cc_cpu=x86_64
|
|
||||||
mes_cpu=x86_64
|
mes_cpu=x86_64
|
||||||
stage0_cpu=amd64
|
stage0_cpu=amd64
|
||||||
kaem --verbose --strict
|
kaem --verbose --strict
|
||||||
|
|
13
src/posix.c
13
src/posix.c
|
@ -373,16 +373,15 @@ waitpid_ (struct scm *pid, struct scm *options)
|
||||||
return cons (make_number (child), make_number (status));
|
return cons (make_number (child), make_number (status));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __x86_64__
|
|
||||||
/* Nanoseconds on 64-bit systems with POSIX timers. */
|
|
||||||
#if __M2__
|
#if __M2__
|
||||||
#define TIME_UNITS_PER_SECOND 1000000000
|
|
||||||
#else
|
|
||||||
#define TIME_UNITS_PER_SECOND 1000000000U
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
/* Milliseconds for everyone else. */
|
/* Milliseconds for everyone else. */
|
||||||
#define TIME_UNITS_PER_SECOND 1000
|
#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
|
#endif
|
||||||
|
|
||||||
struct scm *
|
struct scm *
|
||||||
|
|
Loading…
Reference in New Issue