Alan Cox [Tue, 22 Jan 2019 23:52:00 +0000 (23:52 +0000)]
syscall_exec32: ifdef out most of core dump for now
We need to do this very differently to 8bit, probably with a callback into
the mapper
Alan Cox [Tue, 22 Jan 2019 23:51:30 +0000 (23:51 +0000)]
makeproc: fix comment and also fix it to use the right udata
Alan Cox [Tue, 22 Jan 2019 23:51:04 +0000 (23:51 +0000)]
tiny68k: and plumb together all the new stuff
Alan Cox [Tue, 22 Jan 2019 23:49:09 +0000 (23:49 +0000)]
kernel: header tweaks
We add a new method to set p->p_udata on platform basis
We allow the page switch code to be passed a death argument so that flat and
similar models can do a one way copy if they are copying store to direct
mapped and the existing direct map is dead
(It's a common case when you fork and execve. The child has to put the parent
back but there's no point saving the child as it's going to free and realloc
a mapping)
Alan Cox [Tue, 22 Jan 2019 23:48:44 +0000 (23:48 +0000)]
tiny68k: status update
Alan Cox [Tue, 22 Jan 2019 23:48:26 +0000 (23:48 +0000)]
tiny68k: use the flat model
Alan Cox [Tue, 22 Jan 2019 23:47:50 +0000 (23:47 +0000)]
flat: debug the flat memory model
It now seems to work ok
Alan Cox [Tue, 22 Jan 2019 23:46:56 +0000 (23:46 +0000)]
lowlevel-68000: expose copy_blocks
Doesn't yet work. Debug in progress
Alan Cox [Tue, 22 Jan 2019 23:46:20 +0000 (23:46 +0000)]
malloc: Fix debug messages, and add used/available data
Alan Cox [Tue, 22 Jan 2019 23:45:26 +0000 (23:45 +0000)]
tiny68k: introduce memcpy32
Alan Cox [Mon, 21 Jan 2019 22:38:47 +0000 (22:38 +0000)]
Makefile: add tiny68k, tweak trs80 doc
Alan Cox [Mon, 21 Jan 2019 22:35:16 +0000 (22:35 +0000)]
v68: first cut at backporting all the extra bits
Alan Cox [Mon, 21 Jan 2019 22:24:21 +0000 (22:24 +0000)]
68000: Get tiny68k into a workable state
v68 will need to be reworked to deal with the changes
Alan Cox [Mon, 21 Jan 2019 22:23:11 +0000 (22:23 +0000)]
process: Fix SIGSTOP crash and also a debug printf bug
Alan Cox [Mon, 21 Jan 2019 22:22:32 +0000 (22:22 +0000)]
68000: remove autogenerated files
Alan Cox [Mon, 21 Jan 2019 22:20:37 +0000 (22:20 +0000)]
68000: Switch syscall trap to 12
Alan Cox [Mon, 21 Jan 2019 22:19:59 +0000 (22:19 +0000)]
preemption: rabbit also needs the fix
Alan Cox [Mon, 21 Jan 2019 22:19:23 +0000 (22:19 +0000)]
preemption: allow pre-emption where the leaving processis marked STOPPED
We need this to make SIGSTOP work reliably and properly
Alan Cox [Mon, 21 Jan 2019 22:18:29 +0000 (22:18 +0000)]
fweep: build for 68000 and adjust constants accordingly.
Probably wants tuning a bit better (maybe pin low content ?)
Alan Cox [Mon, 21 Jan 2019 22:18:08 +0000 (22:18 +0000)]
sh: Fix a NULL reference in /bin/sh
Alan Cox [Sun, 20 Jan 2019 23:31:16 +0000 (23:31 +0000)]
tiny68k: adapt C code to proposed new exception logic
Alan Cox [Sun, 20 Jan 2019 23:30:17 +0000 (23:30 +0000)]
68000: first cut at rewriting the exception handlers
Move towards a unified sensible model for synchronous exception handling and
try to unify all the trap and stack frame munging we must do.
Untested first cut.
Alan Cox [Sun, 20 Jan 2019 23:29:53 +0000 (23:29 +0000)]
kernel: make dump_core accessible elsewhere
We will need this for the synchronous trap handlers
Alan Cox [Sun, 20 Jan 2019 15:28:41 +0000 (15:28 +0000)]
tiny68k: update 68000 state of play
Alan Cox [Sun, 20 Jan 2019 15:21:58 +0000 (15:21 +0000)]
tiny68k: fix incorrect sr set up at boot
Alan Cox [Sun, 20 Jan 2019 15:21:08 +0000 (15:21 +0000)]
kernel: remove stack size hack for 32bit
We leave a sensible minimum value just as a sanity check
Alan Cox [Sun, 20 Jan 2019 15:19:57 +0000 (15:19 +0000)]
68000: set sensible stack defaults for binaries
Then we can pull the hack out of the kernel.
We are going to change syscall trap in a bit so compatibility is not yet the
slightest concern!
Alan Cox [Sun, 20 Jan 2019 15:14:18 +0000 (15:14 +0000)]
util: build extra tools for 68K, default to 16K stack
Alan Cox [Sun, 20 Jan 2019 15:14:02 +0000 (15:14 +0000)]
Standalone: update the standard size and chmem
Alan Cox [Sun, 20 Jan 2019 15:13:08 +0000 (15:13 +0000)]
util: chmem and size support for 32bit
Also clean up the formatting and other details.
Alan Cox [Sun, 20 Jan 2019 00:49:36 +0000 (00:49 +0000)]
syscall_exec32: report ENOMEM properly for outsized binaries
Alan Cox [Sun, 20 Jan 2019 00:49:22 +0000 (00:49 +0000)]
levee: fix build on 68000
Alan Cox [Sun, 20 Jan 2019 00:48:48 +0000 (00:48 +0000)]
init: fix alignment
Alan Cox [Sun, 20 Jan 2019 00:48:31 +0000 (00:48 +0000)]
tiny68k: status update
Alan Cox [Sat, 19 Jan 2019 23:38:45 +0000 (23:38 +0000)]
startrek: missing fflush
Alan Cox [Sat, 19 Jan 2019 23:36:30 +0000 (23:36 +0000)]
68000: fix longjmp
This sorts out the weird crashes in shell
Alan Cox [Sat, 19 Jan 2019 23:36:18 +0000 (23:36 +0000)]
sh: remove old dead ifdeffed stuff
Alan Cox [Sat, 19 Jan 2019 23:03:08 +0000 (23:03 +0000)]
fsh: fix build on 68000
Forgot to set the define so it build a generic sh
Alan Cox [Sat, 19 Jan 2019 23:02:49 +0000 (23:02 +0000)]
util: fix clean on 68000
Alan Cox [Sat, 19 Jan 2019 22:58:43 +0000 (22:58 +0000)]
ps: fix kernel and user bits to get ps working 32bit
Alan Cox [Sat, 19 Jan 2019 22:58:20 +0000 (22:58 +0000)]
kernel rearrange some optional p_tab stuff a bit
Alan Cox [Sat, 19 Jan 2019 22:31:02 +0000 (22:31 +0000)]
err: fix missing : space
Alan Cox [Sat, 19 Jan 2019 21:57:30 +0000 (21:57 +0000)]
sort: drop MWC version - too big for some boxes
Alan Cox [Sat, 19 Jan 2019 21:56:59 +0000 (21:56 +0000)]
tiny68k: README update
Alan Cox [Sat, 19 Jan 2019 21:38:54 +0000 (21:38 +0000)]
tty: Fix deadlock in tty output
If you had a dumb tty port (or driver) and your write blocked until pre-emption
then we'd sleep expecting a tty wake event even though the tty doesn't provide
one.
Instead if we got told 'soon' we yield when asked to pre-empt.
Alan Cox [Sat, 19 Jan 2019 21:38:29 +0000 (21:38 +0000)]
pcw8256: static tty buffers and basis for nice tty wakeups later
Alan Cox [Sat, 19 Jan 2019 21:37:59 +0000 (21:37 +0000)]
mtx: static tty buffers and set basis for nice wakeups and flow control
Alan Cox [Sat, 19 Jan 2019 21:37:09 +0000 (21:37 +0000)]
socz80: switch to static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:36:55 +0000 (21:36 +0000)]
tbblue: typo fix
Alan Cox [Sat, 19 Jan 2019 21:36:42 +0000 (21:36 +0000)]
trs80: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:36:24 +0000 (21:36 +0000)]
z280rc: fix tty blocking
Alan Cox [Sat, 19 Jan 2019 21:36:12 +0000 (21:36 +0000)]
zetav2: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:35:19 +0000 (21:35 +0000)]
dragon-nx32: static tty buffers, note a bug to fix on gfx
Alan Cox [Sat, 19 Jan 2019 21:34:54 +0000 (21:34 +0000)]
sbcv2: fix console blocking, static buffers
Alan Cox [Sat, 19 Jan 2019 21:32:30 +0000 (21:32 +0000)]
sc114: fix console blocking
Alan Cox [Sat, 19 Jan 2019 21:31:19 +0000 (21:31 +0000)]
px4plus: keep dead tree in sync
Alan Cox [Sat, 19 Jan 2019 21:30:51 +0000 (21:30 +0000)]
rc2014 series: tty static buffers, basis for nice wakeups
Alan Cox [Sat, 19 Jan 2019 21:24:19 +0000 (21:24 +0000)]
n8vem: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:23:56 +0000 (21:23 +0000)]
pdp11: static tty buffers, fix console blocking
Alan Cox [Sat, 19 Jan 2019 21:23:13 +0000 (21:23 +0000)]
v68: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:22:56 +0000 (21:22 +0000)]
v68: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:22:36 +0000 (21:22 +0000)]
zx series: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:21:44 +0000 (21:21 +0000)]
nascom: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:21:35 +0000 (21:21 +0000)]
p112: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:21:22 +0000 (21:21 +0000)]
multicomp: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:21:03 +0000 (21:21 +0000)]
msx: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:20:40 +0000 (21:20 +0000)]
coco2: static tty buffers
Alan Cox [Sat, 19 Jan 2019 21:19:15 +0000 (21:19 +0000)]
micropack: use static for tty buffers
Alan Cox [Sat, 19 Jan 2019 21:18:49 +0000 (21:18 +0000)]
stale code: keep tty changes more in sync
Alan Cox [Sat, 19 Jan 2019 21:17:51 +0000 (21:17 +0000)]
atarist: keep dead prototype code in sync
Alan Cox [Sat, 19 Jan 2019 21:17:13 +0000 (21:17 +0000)]
amstradnc: static tty buffers and lay framework for cts/rts wakeups
Alan Cox [Sat, 19 Jan 2019 21:14:17 +0000 (21:14 +0000)]
z80pack: make tty buffers static
Alan Cox [Sat, 19 Jan 2019 20:55:18 +0000 (20:55 +0000)]
cromemco: make the tty buffers static
Alan Cox [Sat, 19 Jan 2019 20:20:11 +0000 (20:20 +0000)]
cpuinfo: fix use of removed identifier
Alan Cox [Sat, 19 Jan 2019 20:07:12 +0000 (20:07 +0000)]
process: fix warnings
Alan Cox [Sat, 19 Jan 2019 20:06:47 +0000 (20:06 +0000)]
start: fix typo
Alan Cox [Sat, 19 Jan 2019 19:57:38 +0000 (19:57 +0000)]
syscall_proc: note a case we need to dig into
Alan Cox [Sat, 19 Jan 2019 19:57:21 +0000 (19:57 +0000)]
tiny68k: dont push a swapmap 0
Alan Cox [Sat, 19 Jan 2019 19:57:05 +0000 (19:57 +0000)]
tiny68k: pass correct argument
Alan Cox [Sat, 19 Jan 2019 19:56:23 +0000 (19:56 +0000)]
kernel: we should go back to the ro default not change to rw on mount fail
Otherwise if you hit enter then type in the fs name you get a r/w mount
unexpectedly
Alan Cox [Sat, 19 Jan 2019 19:17:03 +0000 (19:17 +0000)]
68000: add some very crude basic register dumping on traps
We need to print the proper trap number and do the frame processing somewhere,
this is for now partly just a hack.
Alan Cox [Sat, 19 Jan 2019 19:16:20 +0000 (19:16 +0000)]
tiny68k: remember to fix memcpy etc
Alan Cox [Sat, 19 Jan 2019 19:15:39 +0000 (19:15 +0000)]
syscall_exec32: set top properly
Alan Cox [Sat, 19 Jan 2019 19:14:56 +0000 (19:14 +0000)]
usermem: fix dumb error where some out of range addresses were not errorred
Alan Cox [Sat, 19 Jan 2019 19:14:12 +0000 (19:14 +0000)]
inode: Fix non 32bit clean path
Alan Cox [Sat, 19 Jan 2019 19:13:48 +0000 (19:13 +0000)]
68000: update to build needed code
Alan Cox [Sat, 19 Jan 2019 16:27:52 +0000 (16:27 +0000)]
tiny68k: TTY driver fixes
Alan Cox [Sat, 19 Jan 2019 16:27:36 +0000 (16:27 +0000)]
tiny68k: fix off by one in swap map
Alan Cox [Sat, 19 Jan 2019 16:27:22 +0000 (16:27 +0000)]
tiny68k: low level IRQ and serial fixes
Alan Cox [Sat, 19 Jan 2019 16:27:04 +0000 (16:27 +0000)]
tiny68k: correct IDE regs for tiny68k
Alan Cox [Sat, 19 Jan 2019 16:26:51 +0000 (16:26 +0000)]
tiny68k: make the loader work
Alan Cox [Sat, 19 Jan 2019 16:26:17 +0000 (16:26 +0000)]
tiny68k: start up fixes
Alan Cox [Sat, 19 Jan 2019 16:25:49 +0000 (16:25 +0000)]
cpu: add a barrier() macro
Alan Cox [Sat, 19 Jan 2019 16:25:02 +0000 (16:25 +0000)]
tiny68k: don't assume a fixed swapfile (we do dynamic now)
Tormod Volden [Wed, 16 Jan 2019 22:43:08 +0000 (23:43 +0100)]
Build V7 and MWC sort commands on 6809
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Thu, 10 Jan 2019 21:44:34 +0000 (22:44 +0100)]
games: Build fortune.dat in Makefile.6809 too
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Thu, 10 Jan 2019 23:46:59 +0000 (00:46 +0100)]
fortune: Count is also fixed endian
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Wed, 16 Jan 2019 22:19:01 +0000 (22:19 +0000)]
tiny68K; just an initial commit
Alan Cox [Wed, 16 Jan 2019 14:59:52 +0000 (14:59 +0000)]
binnam: handle platforms with an _BOOT section leading
We need in some cases to put a bootstrap entry below everything else and not
have code first. In that case binman needs to back from boot not from code.
Alan Cox [Wed, 16 Jan 2019 14:59:17 +0000 (14:59 +0000)]
syscall_exec32: 32bit pieces for core dump (incomplete)
Just to get us up and running