Commit Graph

14169 Commits

Author SHA1 Message Date
mycroft 6506fa2b16 Use the new ps_strings format. Find the arguments using their
addresses in the argv array, rather than guessing based on the location
of NULs.
1995-05-16 14:21:08 +00:00
mycroft bfd22ffde8 Generate the new ps_strings format. 1995-05-16 14:19:03 +00:00
mycroft 59c1e76057 Change ps_{argv,env}str to char**. 1995-05-16 14:17:34 +00:00
phil 29db7c74b1 Changes from Matthias Pfaller: lpt driver changes, clock code similar
to i386, interrupts from static table to dynamic table, other small
fixes (locore.s byte operates -> double operands ...)
1995-05-16 07:30:30 +00:00
cgd dd614d8474 parenthesize macro arg usage 1995-05-16 05:26:36 +00:00
ws de7fa9654c Sort keyword table correctly, so binary search really works 1995-05-15 13:10:10 +00:00
cgd b5f33fc18e re-add an #endif that was (apprently) clobbered. 1995-05-15 03:29:54 +00:00
christos fbac2e9de2 Fixed new bug the previous fix introduced:
false
    foo=bar
    echo $?

would print 1
Also fixed the long standing bug:

    false
    echo `echo $?`

would print 0
The exitstatus needs rethinking and rewriting. The trial and error method
is not very efficient
1995-05-15 02:47:38 +00:00
cgd 0bfc08ac63 oops; forgot a '{' 1995-05-15 02:09:58 +00:00
cgd 05af191f3b spacing fixups and KNF. #define ether address size, so it's not
hardcoded as '6' all over.
1995-05-15 01:30:44 +00:00
cgd cd172a4d08 KNF 1995-05-15 01:25:21 +00:00
cgd b4cd363b69 simplify ip_output() out-of-memory condition slightly, and style nits. 1995-05-15 01:24:53 +00:00
cgd e7164bb2fd "routine" precedence has a value of 0. 1995-05-15 01:22:44 +00:00
leo 640101f0f8 - Remove double mapping of kernel stack
- Change to new coredump format
1995-05-14 19:09:10 +00:00
leo b78d405c36 Don't mess with SCU on the Falcon. 1995-05-14 15:55:51 +00:00
leo 8360740fdb Change of function params for Falcon SCSI. 1995-05-14 15:47:17 +00:00
leo 84c03e6058 - Remove race condition from DMA interrupt handler
- Add function to get current DMA address for Falcon SCSI.
1995-05-14 15:46:17 +00:00
leo 571c7445e0 Remove double mapping of stack. 1995-05-14 15:44:19 +00:00
leo 1029a77f13 Function proto added. 1995-05-14 15:29:18 +00:00
leo cf6323d778 Fixup comment. 1995-05-14 15:27:51 +00:00
leo e2b044e52f - Remove double mapping of stack
- Change to new coredump format
1995-05-14 15:26:55 +00:00
leo 72472e35b1 Remove double mapping of stack 1995-05-14 15:24:35 +00:00
leo 92d594935c - Remove double mapping of stack
- Change to new coredump format
1995-05-14 15:23:30 +00:00
leo d3e5e6574b Fix double mapping of stack. 1995-05-14 15:20:22 +00:00
chopps d25d16dd79 fix ITEIOC[GS]BELL and ITEIOCGREPT cases in iteioctl() 1995-05-14 14:26:00 +00:00
cgd 2c1e3c655f drop (and record) malformed IP fragments. Fixes pr 1030 (differently). 1995-05-14 08:23:00 +00:00
cgd 2ef674b932 print out number of malformed fragments dropped 1995-05-14 08:20:16 +00:00
christos 2e1970487e Fixed bug caused by previous x=`false` not preserving the exit status fix.
The if statement exit status broke...
1995-05-14 04:19:18 +00:00
cgd f1883097f5 fix priority mangling when sending to remote syslogds. (pr 1039, by
Jarle Greipsland.)  Fix not exactly the same as the one in the PR, but close.
1995-05-14 04:18:45 +00:00
jtc 7ca5cd45b0 strtok replaces the separator character, not the token, with a NUL.
(Fix from PR #891.)
1995-05-13 07:41:35 +00:00
jtc efd516d701 Clear the last char in input buffer when an erase or kill character is
read.  This prevents rubbed-out commands from being accepted.  (Fix
from PR #862)
1995-05-13 07:28:35 +00:00
jtc 3ba2c075cf #include appropriate header files to bring prototypes into scope 1995-05-13 06:58:18 +00:00
chopps d2d8deb3bb make recent cpu_fork() changes more similar with hp300. 1995-05-13 05:57:25 +00:00
chopps 51731ce367 fix dumpmem 1995-05-13 05:17:56 +00:00
jonathan 4175c2819f Redo 3MAX+ (5k/240) interrupt enable code.
Instead of being a no-op, kn03_intr_enable() sets the sw copy of the
interrupt-enable mask *and* writes it into the IO asic intr-enable
register.  Boot code sets the sw copy (kn03_tc_imask) to something
sane (KN03_IM0, with tc option slots turned off).  Tested and works.
Interrupt code for other IOASIC machines should be redone so that
interrupts for devices are enabled by drivers, rather than by
cpu-specific boot code.  Functions common to all IOASIC machines
(PSWARN?) should be done by asic_init().

Checked in without the above changes so that 3MAX+, MAXINE and 3MIN
interrupt-(enable,handle) can converge.
1995-05-12 23:27:23 +00:00
cgd eec988bcd8 use new crunchgen options 1995-05-12 21:16:03 +00:00
cgd e36baaae46 add two flags:
-D to specify a "root" from which relative source dir paths
		are assumed to begin, and
	-L to specify the library path for included libs.
1995-05-12 21:13:13 +00:00
cgd fc90442d14 add lots of vnds 1995-05-12 21:08:41 +00:00
leo 93dc1f1fea Make it work for both Amiga and Atari. Add new '-f' option. 1995-05-12 21:04:26 +00:00
mycroft af73578e82 Map the source page of a copy read-only. 1995-05-12 20:57:22 +00:00
leo 096846a93b Atari-port now also uses iteconfig 1995-05-12 20:51:38 +00:00
mycroft 76860a15b0 Add a child_return() function to clean up the child's state correctly, and
use this in cpu_fork().  Generalize proc_trampoline() so it can also be used in
this case.
1995-05-12 18:24:46 +00:00
cgd c821cb684a (1) conditionalize debugger usage in comeint with DDB, not COMCONSOLE;
latter would lead to undefined symbols if DDB not defined.
(2) check for break on console, and therefore debugger entry (if ddb
	in kernel) earlier, so that the device doesn't need to be open.
(3) return immediately after breaking into the debugger in comeint().
(4) only do the normal character input routine in comintr if receive
	mask yeilds _EXACLTY_ LSR_RXRDY.  if there's only a receive
	error, or there's a receive error _and_ a received character,
	do comeint().
(former two by me.  latter two from Bob Baron <rvb@cs.cmu.edu>.)
1995-05-12 17:54:41 +00:00
chopps 0cb62c1cb4 added flsc and bzsc. 1995-05-12 13:09:17 +00:00
mycroft 94cb5327ca Stylistic change. 1995-05-12 13:04:33 +00:00
mycroft 46426ac542 main() should never return. 1995-05-12 13:03:23 +00:00
chopps 21d667c8ab scsi drivers for fastlane and blizzard controllers that use the
Emulex FAS216 chip.  from Daniel Widenfalk <t94dwi@student.tdb.uu.se>
1995-05-12 12:59:05 +00:00
mycroft 9877d5d787 Eliminate the double mapping of the kernel stack. Enable swapping. 1995-05-12 12:54:44 +00:00
mycroft 7bf54feda1 Add vnd. 1995-05-12 12:49:54 +00:00
mycroft 3d833a1ab1 Conditionalize the code in process_frame() on the existance of
cpu_set_init_frame().
1995-05-12 12:47:45 +00:00