Commit Graph

1022 Commits

Author SHA1 Message Date
mycroft 15567ab7a7 Add missing arg to vm_mmap() call in grfmmap(). 1993-09-06 02:24:08 +00:00
mycroft 526dbecdb2 A little more cleanup; 0 --> FALSE and 1 --> TRUE. 1993-09-06 02:06:34 +00:00
mycroft cc054a83e7 De-ANSIfy and re-KNFify. 1993-09-06 02:03:03 +00:00
mycroft 9cd4c25c2a Second wd0 should be wd1. 1993-09-05 22:34:12 +00:00
mycroft 29aea147e8 Add \n to end of error message. 1993-09-05 22:07:31 +00:00
deraadt 25ea1dc489 add possibly working sparc libkern stuff 1993-09-05 21:50:41 +00:00
deraadt 0b7eb3ad09 add possibly working sparc libkern stuff 1993-09-05 21:39:52 +00:00
mycroft 59d53ecfbf Check some boundary conditions is cursor movement and scrolling. 1993-09-05 17:56:58 +00:00
deraadt 7c8271a011 I give up. Clearly, SYMTAB_SPACE is required at the moment to build a
kernel that doesn't go foom in locore.s
1993-09-05 16:42:54 +00:00
sef b477be52eb Yet more of the ptrace() reorg; now ptrace_setregs() and ptrace_getregs()
are present, along with PT_GETREGS and PT_SETREGS ptrace commands.
1993-09-05 03:53:52 +00:00
cgd 15359c9f59 enable loadable execution handlers. need to do something better re:
how much of the file to pass in the exec package, but i think the
solution to that will be to pass e.g. a disk block's worth, or whatever;
if exec handlers really need more, they've got the damned vnode.
1993-09-05 01:36:28 +00:00
cgd 83aeee1bc0 there now exists an "exec switch". break the a.out code into another
module, and tidy up the interface so that other object formats are
more easily supportable.
1993-09-05 01:33:35 +00:00
cgd 5384291866 add kern/exec_aout.c as a standard file. 1993-09-05 01:31:59 +00:00
cgd 9840b0b7af update for new exec; a few name changes and (*gasp*) addition of comments. 1993-09-05 01:31:39 +00:00
cgd 76b9770c58 update for new exec; this (hp300 change) hasn't been checked, but is
just naming changes and addition of comments...
a couple of XXX's:
 * XXX what are the special cases for the hp300?
 * XXX why is this COMPAT_NOMID?  was something generating
 *      hp300 binaries with an a_mid of 0?  i thought that was only
 *      done on little-endian machines...  -- cgd
1993-09-05 01:31:14 +00:00
cgd a05bd46763 patch from Szabolcs Sziget <pink@bagira.fsz.bme.hu> to load lkm device
drivers properly.
1993-09-05 00:55:57 +00:00
cassidy 40c0c0a558 Add definition for reverse address resolution protocol. 1993-09-05 00:52:15 +00:00
cassidy 660c5a501a Add definitions for RARP request and reply. 1993-09-05 00:46:54 +00:00
cgd 59a008c712 change maximum stack size to 8M. 1993-09-04 22:21:28 +00:00
sef fddf2c7605 ptrace_single_step() and ptrace_set_pc() should return errors if
necessary.  (Mainly because the SPARC can't easily single step, so
it should return EINVAL, and then ptrace() should return that to the
user.)
1993-09-04 08:46:36 +00:00
cgd 3aa99f85dc better ptrace() support from Sean Eric Fagan <sef@kithrup.com> 1993-09-04 05:32:18 +00:00
cgd 37e8d5291e get rid of bogosities of the form "vm_maxsaddr + MAXSSIZ", and replace
them with USRSTACK.  the former was a hack by wfj to accomodate his screwy
execve() implementation.  the latter is a (minor) reversion to net/2.
1993-09-04 01:29:22 +00:00
cgd 2403a33987 decouple MAXDSIZ and MAXSSIZ. MAXSSIZ now is 2M; shouldn't need more,
and saves time in exec.
1993-09-04 00:38:47 +00:00
cgd 6a474f29e2 get rid of maxdmap, and seperate MAXDSIZ and MAXSSIZ in rlimit checking. 1993-09-04 00:37:54 +00:00
jtc 4475f55d8f Include systm.h to get prototypes (and possibly inlines) of *max functions. 1993-09-04 00:02:48 +00:00
jtc 9c00bc072d Include systm.h to get prototypes (and possibly inlines) of *max functions.
Change mbinit() to match prototype.
1993-09-04 00:01:43 +00:00
jtc f7b7d95850 include systm.h to get prototypes (and possibly inlines) of *max functions. 1993-09-04 00:00:19 +00:00
jtc f1fd37d722 Include systm.h to get prototypes (and possibly inlines) of *max functions. 1993-09-03 23:57:21 +00:00
jtc 845813ef01 Inline max, min, imax, and imin if using GCC. 1993-09-03 23:53:09 +00:00
jtc ca642ba3a4 Pull list of port dependant functions from ${MACHINE}/Makefile.inc.
Pull list of arch dependant functions from ${ARCH}/Makefile.inc.
1993-09-03 19:05:59 +00:00
jtc cb00e61145 Files needed for HP300 port 1993-09-03 19:04:47 +00:00
jtc e2d94bde8f Files needed for i386 port 1993-09-03 19:04:23 +00:00
jtc 1142cb8b4f Assembly routines common to all m68k ports. 1993-09-03 19:03:23 +00:00
cgd fb0dffe28a new byte-order-independent isofs patches from mw 1993-09-03 04:37:52 +00:00
cgd 90fe4cc799 make the EJUSTRETURN return in the lookup function be #ifdef __bsdi__,
because they did some strange hacks in vfs_lookup...
1993-09-03 04:36:25 +00:00
mycroft 0b3f240c49 Ditto. 1993-09-02 19:05:40 +00:00
mycroft e4f1378e00 For some reason I don't understand, a change disappeared from the CVS tree. 1993-09-02 19:04:41 +00:00
mw 3b2546cf2e new source release integrated from amiga-release. 1993-09-02 18:05:24 +00:00
mw f208f36711 Update of arch/amiga tree, includes
- realtime clock support for a2k and a3k
- scsi drivers for a2091 and gvp-II controllers in a2k
- working ethernet driver for a2065/ameristar lance-controllers
1993-09-02 16:52:31 +00:00
mw 9ecae8d2e1 Initial revision 1993-09-02 16:52:30 +00:00
mw 7dac6517f1 Update of arch/amiga tree, includes
- realtime clock support for a2k and a3k
- scsi drivers for a2091 and gvp-II controllers in a2k
- working ethernet driver for a2065/ameristar lance-controllers
1993-09-02 16:52:13 +00:00
paulus 3ecb88ccbc Fixed bug in if_ppp.c so that received IP packets are passed correctly to BPF. 1993-09-02 12:10:59 +00:00
cgd c10d5aa752 get rid of bogus #define of resettodr(); now setting time actually works! 1993-09-02 02:10:35 +00:00
jtc afa3cebb3c Add stuff for HP300 that "looks" right. 1993-09-02 01:50:22 +00:00
jtc c0b7ba2878 i386 kernel uses a different setjmp() than the C library does. 1993-09-02 01:01:47 +00:00
jtc 234dcd9a54 Use .PATH: to grab appropriate files from the C library. 1993-09-02 01:00:42 +00:00
cgd 491d6b4b9d fix problem where exec would lose on shell scripts with symlinks in
their names.  fix from "James W. Dolter" <jdolter@sawtooth.eecs.umich.edu>.
test script:

#!/bin/csh
mkdir /tmp/foodir
cat > /tmp/foodir/testscript <<EOF
#!/bin/sh
echo "Executing script \$1"
EOF
chmod 755 /tmp/foodir/testscript
(cd /tmp ; ln -s foodir foosym)
echo "Trying full path (w/o symlink) to /tmp/foodir/testscript"
/tmp/foodir/testscript "with out symlink"
echo "Trying full path (w/ symlink) to /tmp/foosym/testscript"
/tmp/foosym/testscript "with symlink"
echo "End of Test"
1993-09-01 21:43:50 +00:00
jtc 4e075d626f Start of libkern.a 1993-09-01 21:14:13 +00:00
glass 2cb87de98b fixs long broken 'dequeue' macro which would expand to 'dequeue_head' which
is never defined. added fix from my private sources:
#define dequeue_head(queue)     remqueue(queue, queue_first(queue))
no one noticed, because everyone used the 'remqueue' interface except me.
1993-09-01 15:55:26 +00:00
glass 5da38538f7 sun3 has scanc support, so it doesn't need the ufs_subr.c version
this crud will go away with the usage of libkern
1993-09-01 15:53:42 +00:00