ack/plat
George Koehler d94ea4c508 Teach qemuppc to halt the cpu on _exit().
Without this, qemu-system-ppc spins the host cpu until I close its
window.  I assume the default G3 emulation.  The emulator yields the
host cpu if I set certain flags in hid0 then msr.  The hid0 flag can
be any of DOZE, NAP, SLEEP, so I just set all 3.  I encode mfmsr and
mtmsr with .data4, because our assembler doesn't know instructions for
supervisor mode.

Also move some common symbols from .rom to .bss.  Our assembler puts
common symbols in any section.

Also clean up the file.  Delete a comment about linuxppc that is wrong
here.  Delete redundant .extern because .define is the same.
2016-12-07 18:11:12 -05:00
..
cpm Change sbrk() to take an int rather than an intptr_t (following the OpenBSD way 2016-11-23 22:06:24 +01:00
linux/libsys Enable tests for linuxppc via qemu-ppc. 2016-11-26 11:56:17 +01:00
linux68k Plats which use aelflod need to depend on it. 2016-11-26 12:07:08 +01:00
linux386 Plats which use aelflod need to depend on it. 2016-11-26 12:07:08 +01:00
linuxppc Plats which use aelflod need to depend on it. 2016-11-26 12:07:08 +01:00
osx Create Mach-o files with mode 0777 to allow executing them. 2016-12-03 17:52:24 -05:00
osx386 Don't share as, ncg, top between Linux and Mac OS X. 2016-12-05 20:13:29 -05:00
osxppc Don't share as, ncg, top between Linux and Mac OS X. 2016-12-05 20:13:29 -05:00
pc86 Rework the tests to run on pc86; lots of test fixes for the brk() test, which 2016-11-26 11:23:25 +01:00
qemuppc Teach qemuppc to halt the cpu on _exit(). 2016-12-07 18:11:12 -05:00
rpi Change sbrk() to take an int rather than an intptr_t (following the OpenBSD way 2016-11-23 22:06:24 +01:00
build.lua Finally fix the build system issue where ackprogram would try to explicitly 2016-11-20 18:57:44 +01:00