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
glass
9b5c6f79ab
sun3 like n-other platforms is currently using the empty cpu_disklabel struct
1993-09-01 15:51:21 +00:00
deraadt
20c3896fb4
MID_PC532 (NS32532 w/ 4K pagesize)
1993-09-01 08:56:03 +00:00
deraadt
408a659fa9
pc532 has an empty cpu_disklabel
1993-09-01 08:54:36 +00:00
deraadt
ae8b49f87b
#ifdef pc532 in same places as #ifdef i386
1993-09-01 08:49:45 +00:00
mycroft
73c9dd61b0
Add ed2, as per GENERICAHA.
1993-09-01 05:36:33 +00:00
mycroft
3db4b24245
Add ed2 at 0x300, irq 10, 0xcc000, which people can configure by hardware.
1993-09-01 02:31:10 +00:00
deraadt
28c37a0949
fixed a little /lib/cpp boo-boo
1993-08-31 13:46:31 +00:00
cgd
d365662684
ok, initialize that errno, to make theo and gcc2 happy...
1993-08-31 01:52:34 +00:00
cgd
518f7c78d6
a program being exec'd *must* cause *some* exec commands to be invoked;
...
if it doesn't there's a problem in the kernel, because a program
with no exec commands run will have no address space except the stack,
and i don't think it's valid to have a "run from stack only" exec type,
so panic. if need for that case comes up later, it can be changed...
1993-08-31 01:46:36 +00:00
paulus
d71061b357
Modified if_ppp.c and if_ppp.h to add priority queueing for "interactive"
...
traffic (done in a similar fashion to if_sl.c), and BPF support.
1993-08-31 00:05:27 +00:00
brezak
5bce7d4176
Add prototype for pmap_bootstrap().
1993-08-30 18:09:57 +00:00
deraadt
2700f4771d
add ppp
...
tty_ring.c -> tty_subr.c
vfs__bio.c -> vfs_bio.c
1993-08-30 07:30:35 +00:00
deraadt
a87b4a30bd
pagers are now options, not pseudo-devices
1993-08-30 07:09:20 +00:00
deraadt
86d51ac6f8
pagers are not options, not pseudo-devices
1993-08-30 07:07:53 +00:00
deraadt
6fce70ed63
blast it, i forgot two ('s
1993-08-30 06:25:10 +00:00
deraadt
9aed375ba3
tty XXstart() routines return void
1993-08-29 13:46:31 +00:00
deraadt
a14da75496
add MID_SPARC
1993-08-29 13:25:25 +00:00
deraadt
bab3a9ce58
added two __P() macros
1993-08-29 13:16:04 +00:00
brezak
aaf4f8dbc5
Changes for boot loading of symbols.
1993-08-29 12:48:10 +00:00
brezak
7f550be7fd
Remove prototype for pmap_bootstrap()
1993-08-29 12:12:20 +00:00
mycroft
d48a7d8497
There is no longer any good reason to allocate a small number of ptys.
...
Increased to 32 so people will not bitch at me next time around.
1993-08-29 01:54:22 +00:00
cgd
b1eacffd69
print more DIAGNOSITC info, and startrtclock early on the mac (like i386)
1993-08-29 01:50:49 +00:00
cgd
405b084fe6
return some errors other than EIO from swstrategy()
1993-08-29 01:50:20 +00:00
glass
4ec9b1bdc3
some more comments
1993-08-28 23:21:47 +00:00
glass
9ee18a34de
last few notes
1993-08-28 16:11:51 +00:00
glass
be4748c4d8
last snapshot before uploading
1993-08-28 15:40:22 +00:00
glass
a2133ea268
last snapshot before uploading. we still have serious clock problems
1993-08-28 15:35:16 +00:00
cgd
468c5f5158
put PROCFS in pain...
1993-08-28 11:00:35 +00:00
brezak
cbb8694148
Add func protos for shm*() syscalls.
1993-08-28 02:05:42 +00:00
brezak
966d7491cc
Changes: Boot omagic kernels (like Mach), pass cnvmem, extmem, and esym args, load symbol table into memory, enable kbd clock.
1993-08-28 01:18:43 +00:00
brezak
534b51feac
Declare find_isadev() function.
1993-08-28 00:13:55 +00:00
brezak
62164fe535
Add find_isadev() and have sysbeep() use common defines.
1993-08-28 00:13:00 +00:00
brezak
548e9c5a3f
Remove warnings.
1993-08-28 00:11:33 +00:00
brezak
db43439bb0
i386 Machine dependant changes to handle non-contiguous memory.
1993-08-28 00:02:45 +00:00
brezak
a54d809cd8
Need LOAD_ADDRESS for depend pass.
1993-08-27 23:58:20 +00:00
brezak
42484186e9
Load at 1M and turn-on MACHINE_NONCONTIG option.
1993-08-27 23:55:28 +00:00
brezak
4aca3365cc
i386 Machine dependant changes to handle non-contiguous memory.
1993-08-27 23:52:22 +00:00
brezak
15c3400ffe
Machine independant changes to VM for handling non-contiguous memory.
1993-08-27 23:45:55 +00:00
mycroft
bc2088820b
+ #if defined(INET) && NETHER > 0
...
+ #endif
Around the:
/* XXX -- Temporary fix before changing 10 ethernet drivers */
so you can compile a kernel with out INET and ETHERNET support.
1993-08-27 10:26:08 +00:00
pk
dd119ec84b
Implement setattr: mode for process entries; mode + uid/gid for the
...
PROCFS root directory.
Fixed omission in pfs_root() which came to light as a result of the above:
hold on to vnode for root dir.
1993-08-26 19:01:00 +00:00
pk
0732d8a8b1
Added VPROC to vprint()'s vnode type representation array.
1993-08-26 18:57:02 +00:00
cgd
4c54aa0ce8
yup, that's right folks, we're now working on 0.9a...
1993-08-26 10:59:16 +00:00
deraadt
538e35852c
ugh.
1993-08-26 09:52:16 +00:00
cgd
225917bfe6
0.9 "official" patch 001:
...
(1) added support for ed1 in both generic kernels at:
device ed1 at isa? port 0x250 net irq 9 iomem 0xd8000 vector edintr
(2) brought if_ed.c up to DG's 1.19 rev.
1993-08-26 00:26:50 +00:00
mycroft
ac815031d0
Um, last change was wrong. Instead, add 3 to the number of inodes (forget
...
about the root directory, too).
1993-08-25 14:41:19 +00:00
mycroft
b3f22bcdcc
Subtract to from the free count for `.' and `..', to maintain the fiction that
...
this is a real file system.
1993-08-25 14:35:20 +00:00
pk
1e37ac6db4
Fixed improperly initialized nfsnode in pfs_lookup()
1993-08-25 09:28:39 +00:00
mycroft
c5e6262e4e
Add ACCOUNTING and GATEWAY options.
1993-08-24 21:39:35 +00:00
glass
8a49818de4
snapshot. starts nfsmountroot but doesn't seem to emit any packets
1993-08-24 20:26:48 +00:00
mycroft
59bd26aec5
Double data size limits to make GCC happier.
1993-08-24 17:56:21 +00:00
pk
8dc35fb5d6
Fill inode fields in procfs_statfs(), in stead of block fields
1993-08-24 17:49:16 +00:00
pk
834a44f21f
copyright update.
1993-08-24 16:47:23 +00:00