Alan Cox [Sun, 12 Nov 2017 21:33:45 +0000 (21:33 +0000)]
remount, umount: updates for mtab
Fix parsing in remount
Add umount -a support to the umount tool
Alan Cox [Sun, 12 Nov 2017 21:31:55 +0000 (21:31 +0000)]
devio: change meaning of return from bfree
We need this to keep inode.c sane. As nobody else uses the return code
this *should* be fine.
Alan Cox [Sun, 12 Nov 2017 21:08:25 +0000 (21:08 +0000)]
kernel: propogate I/O errors properly
Alan Cox [Sun, 12 Nov 2017 21:07:37 +0000 (21:07 +0000)]
who: fix use as users when a path is given
Alan Cox [Sun, 12 Nov 2017 21:07:04 +0000 (21:07 +0000)]
fsck: correct a comment
Alan Cox [Sun, 12 Nov 2017 21:06:56 +0000 (21:06 +0000)]
mkfs: use O_SYNC
Alan Cox [Sun, 12 Nov 2017 21:05:33 +0000 (21:05 +0000)]
remount: parse the fstab allowing for tab as well as space
Alan Cox [Sun, 12 Nov 2017 18:59:06 +0000 (18:59 +0000)]
fsck: support fsck by mountpoint and a general fsck -a
Alan Cox [Sun, 12 Nov 2017 18:58:55 +0000 (18:58 +0000)]
init: don't reveal if user exists
Alan Cox [Sun, 12 Nov 2017 18:58:28 +0000 (18:58 +0000)]
who: reformat and add the ability to run it as 'users' as well
Alan Cox [Sun, 12 Nov 2017 18:57:51 +0000 (18:57 +0000)]
stty: better default
Alan Cox [Sat, 11 Nov 2017 23:24:16 +0000 (23:24 +0000)]
setdate: add a date setting tool to run in /etc/rc
Shades of MS-DOS but it does the job until we have some clock reading
tools for various machines
Alan Cox [Sat, 11 Nov 2017 22:43:18 +0000 (22:43 +0000)]
swap.c: facepalm
The free stats look rather saner now
Alan Cox [Sat, 11 Nov 2017 22:40:52 +0000 (22:40 +0000)]
Makefile.z80: build ld
Alan Cox [Sat, 11 Nov 2017 22:40:43 +0000 (22:40 +0000)]
ld: add commentary
Alan Cox [Sat, 11 Nov 2017 22:16:00 +0000 (22:16 +0000)]
Applications: add more to the build and clean ups
Alan Cox [Sat, 11 Nov 2017 21:49:02 +0000 (21:49 +0000)]
utils add 'clear'
Not having this was driving me slowly nuts 8)
Alan Cox [Sat, 11 Nov 2017 21:35:25 +0000 (21:35 +0000)]
levee: move the makefile
Alan Cox [Sat, 11 Nov 2017 21:35:04 +0000 (21:35 +0000)]
ue: move the Makefile
Alan Cox [Sat, 11 Nov 2017 21:17:55 +0000 (21:17 +0000)]
htget: Fix various bugs in data processing
With this I can now htget a file and actually get what appear to be all the
right bits the other end.
Alan Cox [Sat, 11 Nov 2017 21:02:26 +0000 (21:02 +0000)]
z80pack: fix misreporting of memory size
Alan Cox [Sat, 11 Nov 2017 20:59:35 +0000 (20:59 +0000)]
linein: forgot a file sorry
EtchedPixels [Sat, 11 Nov 2017 17:26:36 +0000 (17:26 +0000)]
Merge pull request #546 from beretta42/init
init: crunched table not reseting runlevel mask, correct cleanup.
Alan Cox [Sat, 11 Nov 2017 17:24:29 +0000 (17:24 +0000)]
htget: doesn't need stdio
Alan Cox [Sat, 11 Nov 2017 17:23:53 +0000 (17:23 +0000)]
htget: simple tool to get files off the internet
Alan Cox [Sat, 11 Nov 2017 03:18:04 +0000 (03:18 +0000)]
uip: introduce some randomness to starting state
Alan Cox [Sat, 11 Nov 2017 02:25:42 +0000 (02:25 +0000)]
irc: newlines needed on errors
Alan Cox [Sat, 11 Nov 2017 02:19:42 +0000 (02:19 +0000)]
irc: further small changes
Almost usable now
Alan Cox [Sat, 11 Nov 2017 01:39:56 +0000 (01:39 +0000)]
tty: multiple fixes
VDISCARD should be subject to icanon
VMIN/VTIME were not fully implemented in accordance with SYS5. I think they
are now all correct.
Alan Cox [Sat, 11 Nov 2017 01:39:35 +0000 (01:39 +0000)]
z80pack: work around emulation not emulating baud rates
Alan Cox [Sat, 11 Nov 2017 01:39:00 +0000 (01:39 +0000)]
irc: fix some minor buglets
Alan Cox [Sat, 11 Nov 2017 01:38:44 +0000 (01:38 +0000)]
slip: performance improvements and clean up
Alan Cox [Fri, 10 Nov 2017 21:41:14 +0000 (21:41 +0000)]
basic: update encoding README
Alan Cox [Fri, 10 Nov 2017 21:40:47 +0000 (21:40 +0000)]
kernel: first pass set of dependancies (lots left to add)
Alan Cox [Fri, 10 Nov 2017 21:40:12 +0000 (21:40 +0000)]
mknod: replace the simplistic one with a proper mknod
Oh and it shrinks in the process 8)
Alan Cox [Fri, 10 Nov 2017 21:39:18 +0000 (21:39 +0000)]
init: actually set the tty parameters!
Alan Cox [Fri, 10 Nov 2017 21:38:43 +0000 (21:38 +0000)]
irc: because every platform needs an irc client
Alan Cox [Fri, 10 Nov 2017 21:38:13 +0000 (21:38 +0000)]
fuzix-conf: set the mss based upon the device mtu
Alan Cox [Fri, 10 Nov 2017 21:37:56 +0000 (21:37 +0000)]
slip: try and be smarter about processing - do blocks
Alan Cox [Fri, 10 Nov 2017 21:37:23 +0000 (21:37 +0000)]
netd: add mtu values to driver data
Brett Gordon [Fri, 10 Nov 2017 05:57:32 +0000 (00:57 -0500)]
init: crunched table not reseting runlevel mask, correct cleanup.
Alan Cox [Thu, 9 Nov 2017 23:10:26 +0000 (23:10 +0000)]
telnet: remove un-needed define copies
Alan Cox [Thu, 9 Nov 2017 23:09:40 +0000 (23:09 +0000)]
netd: make tracing easier to control, do tcp polls after events for speed
Alan Cox [Thu, 9 Nov 2017 23:09:05 +0000 (23:09 +0000)]
gethostbyname: this crashes with a null pointer trap
Fix up what I think was intended
Alan Cox [Thu, 9 Nov 2017 23:08:15 +0000 (23:08 +0000)]
netd: minor changes to fuzix-conf
Alan Cox [Thu, 9 Nov 2017 23:06:54 +0000 (23:06 +0000)]
netd: use the right clock
timer 1 is CPU time. That works by luck on a 6809 but on a Z80 clone at
lots of MHz it doesn't run very fast!
What we really need to do is expose the kernel 1/10th second raw tick clock
as timer 2
Alan Cox [Thu, 9 Nov 2017 22:19:07 +0000 (22:19 +0000)]
ping: endianisms
Alan Cox [Thu, 9 Nov 2017 22:17:09 +0000 (22:17 +0000)]
slip: fix dumb bug that corrupted memory
Alan Cox [Thu, 9 Nov 2017 01:20:57 +0000 (01:20 +0000)]
netd: Futher fixes
With these applied you can ping and remotely interact with the stack but
local interactions are not yet working (probably byte order) and also the
close() functionality is a bit messed up.
We need to
a) break the mapping when the kernel asks us to move to closed
b) do the flag test *outside* of the app callbacks (as we may be closing
without any app callbacks happening)
c) allow for events from uip on unmapped sockets (one the kernel closed),
in which case we should reset if there is data arriving, and otherwise
cycle through the close states and close in uip, then free up the broken
mapping slot
Alan Cox [Thu, 9 Nov 2017 01:20:12 +0000 (01:20 +0000)]
net_native: fix build with SDCC
Alan Cox [Thu, 9 Nov 2017 01:19:53 +0000 (01:19 +0000)]
micropack: update MMU definitions
Alan Cox [Thu, 9 Nov 2017 01:19:26 +0000 (01:19 +0000)]
z80pack: switch to net_native
Fix some related tty bugs
Alan Cox [Wed, 8 Nov 2017 23:30:29 +0000 (23:30 +0000)]
netd: clock types are 32bit
Fixes the crash at startup
EtchedPixels [Wed, 8 Nov 2017 20:18:03 +0000 (20:18 +0000)]
Merge pull request #543 from beretta42/netd2
Fix a few new bugs in netd
Alan Cox [Wed, 8 Nov 2017 20:14:17 +0000 (20:14 +0000)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Wed, 8 Nov 2017 19:56:29 +0000 (19:56 +0000)]
Makefile: add a make kclean target
Alan Cox [Wed, 8 Nov 2017 19:54:18 +0000 (19:54 +0000)]
syscal_exec16: Fix two bugs
1. Potential race on reference to hdr
2. If we tried to exec an r/o file and failed we could end up being marked
non coredumping
Alan Cox [Wed, 8 Nov 2017 19:53:57 +0000 (19:53 +0000)]
exec32: move to readi
Alan Cox [Wed, 8 Nov 2017 19:18:17 +0000 (19:18 +0000)]
ubee: keep the incomplete port in sync
Alan Cox [Wed, 8 Nov 2017 17:50:31 +0000 (17:50 +0000)]
z80: align more platforms
\vx
Alan Cox [Wed, 8 Nov 2017 17:46:23 +0000 (17:46 +0000)]
trs80: align with current kernel
Alan Cox [Wed, 8 Nov 2017 17:45:35 +0000 (17:45 +0000)]
msx1: align with current
Alan Cox [Wed, 8 Nov 2017 17:09:14 +0000 (17:09 +0000)]
zetav2: update to current kernel core
Alan Cox [Wed, 8 Nov 2017 16:42:26 +0000 (16:42 +0000)]
socz80: align with current code
Alan Cox [Wed, 8 Nov 2017 16:26:04 +0000 (16:26 +0000)]
devfd: clean up for current I/O layer
Alan Cox [Wed, 8 Nov 2017 15:57:50 +0000 (15:57 +0000)]
nc100: align with core changes
Alan Cox [Wed, 8 Nov 2017 15:54:01 +0000 (15:54 +0000)]
z180: no MMU hooks
The Z180 MMU is built in
Alan Cox [Wed, 8 Nov 2017 15:53:12 +0000 (15:53 +0000)]
remount: fix a corner case
If we have a file open that has no on disk references then irrespective of
whether we have it open for read or not we cannot make the disk read only
because we need to write to erase the file on close.
Alan Cox [Wed, 8 Nov 2017 15:52:47 +0000 (15:52 +0000)]
syscall_fs: stop pipe() working with a r/o fs backing it
Alan Cox [Wed, 8 Nov 2017 15:50:59 +0000 (15:50 +0000)]
z80: shave off a few bytes
Alan Cox [Wed, 8 Nov 2017 15:50:32 +0000 (15:50 +0000)]
devrd: bring up to match current I/O layer
Makes it a lot shorter and to the point.
Alan Cox [Wed, 8 Nov 2017 15:29:23 +0000 (15:29 +0000)]
kernel: Fix level 1 build
Alan Cox [Wed, 8 Nov 2017 15:28:51 +0000 (15:28 +0000)]
z80: start bringing platforms into line with core updates
Brett Gordon [Wed, 8 Nov 2017 13:42:35 +0000 (08:42 -0500)]
netd: fix slip definition to match header
Brett Gordon [Wed, 8 Nov 2017 06:16:45 +0000 (01:16 -0500)]
netd: fixup arp switch typing, include in device driver header
Brett Gordon [Wed, 8 Nov 2017 04:41:40 +0000 (23:41 -0500)]
netd: correct lwwire poll returning -1 for no reason.
EtchedPixels [Tue, 7 Nov 2017 22:55:25 +0000 (22:55 +0000)]
Merge pull request #542 from beretta42/as
as & du: quick fixes to get things compiling
Brett Gordon [Tue, 7 Nov 2017 05:07:23 +0000 (00:07 -0500)]
MWC: du: make 'dufork' definition match declaration
Brett Gordon [Tue, 7 Nov 2017 05:06:45 +0000 (00:06 -0500)]
MWC: specify SRCS for 'du'
Brett Gordon [Tue, 7 Nov 2017 05:05:35 +0000 (00:05 -0500)]
as: make z80 assembler
Alan Cox [Sun, 5 Nov 2017 22:04:25 +0000 (22:04 +0000)]
basic: snapshot further work
Add all the ECMA55 tokens as a base point
Rework the expression evaluator to be a lot simpler cleaner and also fix bugs
Still need to fix the logic for function(param1,param2)
Alan Cox [Sat, 4 Nov 2017 21:01:16 +0000 (21:01 +0000)]
baisc: nothing to see here - putting the framework together for it
Alan Cox [Sat, 4 Nov 2017 11:47:32 +0000 (11:47 +0000)]
netd: final warnings and silly typecase fix
Alan Cox [Sat, 4 Nov 2017 11:44:06 +0000 (11:44 +0000)]
netd: first attempt at decoding loopback correctly for non ARP protocols
Alan Cox [Sat, 4 Nov 2017 11:44:00 +0000 (11:44 +0000)]
slip: fix build bug
Alan Cox [Sat, 4 Nov 2017 01:43:29 +0000 (01:43 +0000)]
edL: Add a cleaned up port of the MWC ed
It's a bit bigger than the utils ed but seems to work rather better. Not
sure which ed will be best - next experiment may be the v7 one 8)
Alan Cox [Fri, 3 Nov 2017 23:43:34 +0000 (23:43 +0000)]
netd: first cut at a slip driver
Alan Cox [Fri, 3 Nov 2017 23:42:13 +0000 (23:42 +0000)]
netd: Fix unterminated comment
Alan Cox [Fri, 3 Nov 2017 23:41:52 +0000 (23:41 +0000)]
netd: remove duplicate declarations and add the arp flag
Alan Cox [Fri, 3 Nov 2017 23:41:39 +0000 (23:41 +0000)]
fsck: note a performance fix
Alan Cox [Fri, 3 Nov 2017 23:40:57 +0000 (23:40 +0000)]
netd: clean up for other compilers and add the ability to turn off arp
It's not yet enough to run without arp because of our loopback code
Alan Cox [Fri, 3 Nov 2017 23:40:28 +0000 (23:40 +0000)]
netd: note clock_arch check to do
Alan Cox [Fri, 3 Nov 2017 23:40:02 +0000 (23:40 +0000)]
netd: gcc can struct assign but not all of its friends can
Alan Cox [Fri, 3 Nov 2017 23:39:39 +0000 (23:39 +0000)]
netd: add flag so a driver declares if it needs arp
We'll be needing that shortly
Alan Cox [Fri, 3 Nov 2017 23:37:42 +0000 (23:37 +0000)]
process: when debugging it's nice to know why something exited
Alan Cox [Fri, 3 Nov 2017 23:37:30 +0000 (23:37 +0000)]
z80pack: turn on MMU feature
Alan Cox [Fri, 3 Nov 2017 23:36:59 +0000 (23:36 +0000)]
z80pack: add an extreme example of the mmu hooks
Alan Cox [Fri, 3 Nov 2017 23:36:35 +0000 (23:36 +0000)]
lowlevel-z80: add hooking points for Z80 systems with memory protect bits
Alan Cox [Fri, 3 Nov 2017 23:36:01 +0000 (23:36 +0000)]
z80pack: we added a tty
Alan Cox [Fri, 3 Nov 2017 23:35:20 +0000 (23:35 +0000)]
z80pack: drop stuff we don't need