Commit Graph

4688 Commits

Author SHA1 Message Date
phil
1b0b6abb28 add target install to Makefile 1994-07-24 20:29:45 +00:00
mycroft
5ee1370fe1 Clean this up a bit, and separate parts of vfs_opv_init() into separate
functions.
1994-07-24 07:15:19 +00:00
mycroft
32c32a9989 Fix MOD_VFS(). 1994-07-24 03:03:42 +00:00
cgd
e4cafbc7da kill conflicting externs 1994-07-24 02:41:27 +00:00
cgd
54165a4169 only use variables which are defined. 1994-07-24 02:38:20 +00:00
mycroft
e307d33fdc Clean up deleted files. 1994-07-24 02:10:46 +00:00
mycroft
1b935ff541 Clean up deleted files. 1994-07-24 01:23:20 +00:00
mycroft
5b619bed0f Add some more constants. 1994-07-24 01:22:01 +00:00
gwr
ee7e5d368d Fix unterminated comment from when I botched the last change... 1994-07-23 03:43:01 +00:00
gwr
c53ca7b9df Fix config line, clean up. 1994-07-23 03:39:02 +00:00
gwr
a44d2310a3 Initialize p_fstype when reading Sun disklabel.
(Now I can open other partitions, mount /usr :-)
1994-07-23 03:27:28 +00:00
gwr
b9311f14dd Get rid of MDP_AST 1994-07-23 03:23:15 +00:00
mycroft
92183975ef Make sure we don't release the buffer too early. 1994-07-22 23:17:59 +00:00
mycroft
9c55cb1c79 Set the group list length when copying credentials. 1994-07-22 23:16:36 +00:00
mycroft
45f83d31c4 Make this compile with GCC 2.6. 1994-07-22 22:26:12 +00:00
mycroft
5dcf8d2fa5 Change a btrl to btl. The use of btrl is no longer necessary. 1994-07-22 07:52:50 +00:00
cgd
b1a8496f13 one too many #endif's. 1994-07-22 01:44:47 +00:00
mycroft
1c46c460ee Return EINVAL if the requested transfer size is weird. 1994-07-21 23:44:16 +00:00
deraadt
822b1d1d65 make X11R5 compile easier 1994-07-21 22:06:13 +00:00
mycroft
341769b598 Clean up deleted files. 1994-07-21 22:06:05 +00:00
deraadt
c772691a6a make X11R5 compile easier 1994-07-21 22:05:42 +00:00
mycroft
f9a027fa33 Update version number. 1994-07-21 20:34:13 +00:00
mycroft
1dda4b8dab Old fs compat. 1994-07-21 20:25:17 +00:00
mycroft
285ed388fb Give a better diagnostic message for the previous. 1994-07-21 19:05:31 +00:00
mycroft
64232122c2 Make a rather lame attempt to discover bogus directories and not get wedged
in an infinite loop.
1994-07-21 18:06:26 +00:00
mycroft
41761064b8 Implement /kern/msgbuf. 1994-07-21 10:22:20 +00:00
mycroft
fe18d806d2 Don't panic if primary swap device is not configured. 1994-07-21 07:12:13 +00:00
mycroft
e475493b73 Don't try to define BYTE_ORDER; get it from <machine/endian.h>. 1994-07-21 07:10:12 +00:00
lkestel
a185489f80 Fixed a few bugs in the key-repeat function and disabled key-repeat
when /dev/adb is closed to avoid infinite repeat problem.  Brad claims
that he's got this solved in his version...
1994-07-21 06:36:51 +00:00
lkestel
020b962ae6 Added vt100 emulation and sped up text writing, scrolling, etc. 1994-07-21 06:35:49 +00:00
mycroft
7fca65c005 Remove something which cannot possibly be correct. 1994-07-21 04:15:05 +00:00
mycroft
37dc11891c Fix a typo. 1994-07-21 03:40:53 +00:00
briggs
f954a7b0dd Make "unknown ioctl" printf ifdef DEBUG and take out an extra comma from
the format string.
1994-07-21 03:32:07 +00:00
mycroft
4469aea569 Do the EISA probing a little differently. 1994-07-21 03:30:18 +00:00
deraadt
3013b3fdbc check if eisa card exists before tromping on dma 1994-07-21 02:51:53 +00:00
briggs
47b43066ee Take -nostdinc out of INCLUDES so we can get nlist.h and a.out.h for DDB. 1994-07-21 01:49:08 +00:00
briggs
cc7e76a9a5 Put in a warning message that the driver is non-working and checkpoint
with a little bit more debugging stuffage.
1994-07-21 01:33:29 +00:00
briggs
1730b405b5 Make ALLEN a copy of GENERIC. Disable FPSP in GENERIC. 1994-07-21 01:19:41 +00:00
briggs
2ff67c7db9 Add asc as a device. Format a tad. 1994-07-21 01:00:58 +00:00
briggs
c35fccac8b Add asc0. 1994-07-21 00:59:56 +00:00
briggs
fe27023f3b Put FPSP in SYSTEM_OBJS (missed this earlier, apparently, twice). 1994-07-21 00:58:28 +00:00
briggs
46cebf15df Enable DDB, CD9660, NULLFS. Add bpfilter. Slight cleanup. 1994-07-21 00:57:33 +00:00
briggs
3a72d09550 No longer need/use root_scsi_id. Change audio to asc in probe. 1994-07-21 00:55:49 +00:00
briggs
bd55a39b1d Add ASCBase to offsets initialized in setmachdep(). Change comment for
cpu_model (slightly).
1994-07-21 00:55:07 +00:00
briggs
db146ec64c Separate init from serattach and make more machine independent by
calculating speed during init (different models of macs feed SCC with
different clocks).
1994-07-21 00:52:47 +00:00
briggs
60dc2edc69 Make this into more of a device so it can be probed and attached. Nuke
RCS/CVS Log.  Make ASCBase an offset instead of an absolute.
1994-07-21 00:44:00 +00:00
briggs
8fc0b8b26e Add a field for cpu-dependent structure to flag if SONIC is on-board. 1994-07-21 00:33:54 +00:00
mycroft
6d61cde9dd Fix handling of null selectors. 1994-07-20 23:01:26 +00:00
jtc
0898290d54 Added __warn_references macro, which is used to instruct the linker to
print a warning message if a given symbol is referenced.
1994-07-20 22:12:50 +00:00
deraadt
9b3e7e6403 compile kernel with -O2 1994-07-20 21:10:00 +00:00
phil
022d9d6300 Fix my sync() error in boot(). 1994-07-20 20:50:39 +00:00
pk
94c3db28ba Make it work for V0 proms.
First cut at two stage bootstrap.
1994-07-20 20:47:02 +00:00
mycroft
6436952bbc Fix a null pointer dereference during rename(2). 1994-07-20 07:37:25 +00:00
mycroft
dd628fd6d9 Fix potential infinite loop on empty directory blocks (not that this should
ever happen).
1994-07-20 06:09:38 +00:00
cgd
3fbc338a62 define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi 1994-07-20 05:44:19 +00:00
mycroft
24f8e9187d Fix a problem with write-behind causing processes to be killed occasionally.
From Rick Macklem.
1994-07-20 04:16:01 +00:00
paulus
ce6d680c66 The ppp interface now retries the mbuf allocation when it receives
a character and it doesn't already have enough space allocated.
It still needs cluster mbufs to be able to decompress VJ-compressed
packets.  It drops packets if it can't allocate mbufs rather than
taking the interface down.
1994-07-20 01:49:20 +00:00
paulus
09264a28ec Due to popular revulsion, the ppp interface now drops packets if 1994-07-20 01:40:11 +00:00
mycroft
988d22662a Implement pathconf(2). 1994-07-19 23:33:59 +00:00
mycroft
2b3a0d92f6 MDP_AST is deprecated. 1994-07-19 21:43:57 +00:00
mycroft
8e8b6c5b10 Not that it matters, but don't assume we're two's-complement. 1994-07-19 15:27:40 +00:00
mycroft
fa062570f9 Fix two more typos (identical). 1994-07-19 15:14:07 +00:00
mycroft
ffbc3c6a24 Fix typo. 1994-07-19 15:10:50 +00:00
mycroft
f8fae0f555 More redux. 1994-07-19 15:07:36 +00:00
mycroft
1656a89476 Clean up a bit:
Implement cd9660_blkatoff() and use it.
Reduce lots of multiplies and divides to shifts.
Make some macros look more like UFS.
Make isodirino() return the inumber rather than poke it into the abyss.
1994-07-19 14:14:08 +00:00
mycroft
e5fad6ece4 Remove things which are already done. 1994-07-19 11:34:48 +00:00
ws
31484b8fb4 Fix for new dirent structure 1994-07-19 11:20:40 +00:00
mycroft
f2d6bac657 Fix various bugs, from Duncan McEwan and John Kohl. 1994-07-19 05:08:55 +00:00
mycroft
901f3bbe9f Give some flags longer and more mnemonic names. 1994-07-19 04:29:55 +00:00
gwr
a5d981ea62 Conditionalize some more debugging code.
(Don't need to drop into DDB on each COW fault :-)
1994-07-19 02:45:55 +00:00
gwr
eb09e89755 Answer a silly question in a comment. 1994-07-19 02:39:18 +00:00
gwr
dc718c003d Fix the conditionally compiled code inside #ifdef NFS_BOOT_GATEWAY
and make some printf args use host byteorder.
1994-07-19 02:23:27 +00:00
paulus
e7ba8f6b5a If we can't get mbuf clusters, take the ppp interface down instead
of writing beyond the end of ordinary mbufs.
1994-07-18 23:45:33 +00:00
cgd
fb6819f643 finish updating to new vnode interface, from ws. 1994-07-18 21:38:08 +00:00
pk
fc5405fc33 do echo. 1994-07-18 18:42:06 +00:00
pk
8e2c980509 Avoid descriptor leakage. 1994-07-18 18:41:12 +00:00
gwr
f16450708d Kill some over-zealous debugging checks.
Make sure kernel maps DVMA space non-cached.
1994-07-18 15:07:18 +00:00
gwr
23e5b7b70a Add mising dependency 1994-07-18 14:59:47 +00:00
mycroft
0dd02c82cf Fix inode number generation in readdir(). 1994-07-18 13:13:46 +00:00
pk
b4a094da43 Include ffs_oldfscompat() from ffs_vfsops.c; enables booting from pre-44
filesystems (on big-endian machines).
1994-07-18 13:08:09 +00:00
mycroft
698fdf82c5 Add various and sundry options. 1994-07-18 08:34:59 +00:00
mycroft
258fcca13b For VOP_VGET(), pretend that relocated directories don't exist, for now. 1994-07-18 08:07:50 +00:00
chopps
df7dd07ad3 fix so it compiles without DEBUG. 1994-07-18 08:06:40 +00:00
chopps
f5bedfe5e9 enable CD9660, and remove DEBUG. 1994-07-18 08:05:36 +00:00
chopps
9f3700198d increase nswbuf to 3/4 nbuf instead of 1/2 nbuf. 1994-07-18 08:04:32 +00:00
cgd
8ee00127c9 deal properly with 'obj' dirs, when making boot blocks, etc. 1994-07-18 08:03:20 +00:00
cgd
17f610ec8a prototype for madvise(). it's not really implemented yet, but there's
a stub for it in the kernel.
1994-07-18 07:22:07 +00:00
mycroft
560cc3b8bb Invert the button logic. (Oops.) 1994-07-18 07:18:57 +00:00
mycroft
993ebf5d8d Clean up deleted files. 1994-07-18 07:15:50 +00:00
mycroft
07a265f1c0 Add some missing options to GENERIC, and rename. 1994-07-18 07:15:45 +00:00
cgd
511df844bb add COMPAT_44 1994-07-18 07:07:17 +00:00
mycroft
3451593ece Dorothy, I don't think we're in Utah any more... 1994-07-18 06:27:12 +00:00
deraadt
d8a9dcab90 ndqb() was broken for full ring buffers! fix from paulus. 1994-07-18 03:38:31 +00:00
chopps
fd7e6f6a49 don't hang if no floppy in system. 1994-07-18 01:37:48 +00:00
cgd
be81092ac3 fix RCS ID. *sigh* 1994-07-17 23:52:09 +00:00
mycroft
10e27106d0 Minor cleanup. 1994-07-17 19:35:32 +00:00
mycroft
ee120821cf Updated to match other drivers, and three bugs fixed. 1994-07-17 19:24:40 +00:00
cgd
c750222ef4 reenable MSDOSFS 1994-07-16 21:46:44 +00:00
cgd
ea3d9333af add MSDOSFS, DIAGNOSTIC, DEBUG 1994-07-16 21:41:11 +00:00
cgd
67f5c87f44 update from ws. make it work again 1994-07-16 21:32:06 +00:00
chopps
b655a15c00 fix a couple things pointed out from Michael. 1994-07-16 19:45:32 +00:00
mycroft
cc9da7d69f Fix failed probe message. 1994-07-16 13:45:59 +00:00
mycroft
cf21bbfd5e Make grf truly optional. 1994-07-16 13:15:03 +00:00
mycroft
45c4c93dff Clean up deleted files. 1994-07-16 11:46:43 +00:00
paulus
a02a99e328 If we don't have ethernet, nfs_boot_init reduces to just a panic.
This is so I don't get an undefined symbol compiling a kernel with
NFSCLIENT but no ethernet.
1994-07-16 11:43:12 +00:00
paulus
988b7f5158 Support for block special files with sector sizes other than DEV_BSIZE -
if the device has a disklabel with a non-zero sector size value, that
value is used instead of DEV_BSIZE.
1994-07-16 11:40:56 +00:00
cgd
b4dc71d3d9 on COMPAT_44, allow execution of 4.4BSD binaries 1994-07-16 06:43:00 +00:00
cgd
ef8de0130b move the inclusion of <machine/exec.h> 1994-07-16 06:32:47 +00:00
cgd
a7ec46ab8f use NetBSD (defined in param.h) not __NetBSD__ to allow x-compilation
with native compiler.
1994-07-16 06:26:28 +00:00
cgd
930318d5aa get device.h from the right place 1994-07-16 06:24:46 +00:00
chopps
c1771a89c3 add ed0 to GENERIC config. 1994-07-16 02:29:24 +00:00
chopps
d4d4e26055 ed driver for 8390 based ethernet boards (currently only hydra supported)
original code from Timo Rossi <trossi@bedivere.cc.jyu.fi>, some major
style changes (KNF, pull i386 comments in, et al.) plus converting to
config.new by me.
1994-07-16 02:26:05 +00:00
cgd
d7fc64af84 don't use inline, use __inline, like cdefs intends (so it can kill it if nongcc 1994-07-15 22:29:22 +00:00
cgd
17c3553caf kill bogus external declaration of time 1994-07-15 22:27:46 +00:00
mycroft
e88e13f3bb Fix a bogon relating to >16-bit addresses that I introduced. Fix up BPF
support for received packets.
1994-07-15 21:20:48 +00:00
mycroft
22b754f8e7 Fix disassembly of bit test instructions with an immediate shift count. 1994-07-15 21:11:34 +00:00
mycroft
551f7bc780 Since we're no longer using xchg instructions, there's no reason to prefer
a q reg over and other.  Also, fix some types in the case of _POSIX_SOURCE.
1994-07-15 21:10:21 +00:00
cgd
f2a351e187 make it valid C 1994-07-15 21:09:38 +00:00
mycroft
cb07d61edf Fix a fencepost error. 1994-07-14 20:58:28 +00:00
mycroft
da89cc4547 Remember to clear d_type. 1994-07-14 01:43:42 +00:00
gwr
776aa7931b Oops, I inserted that last patch in the wrong place. 1994-07-14 01:24:19 +00:00
gwr
f487cb907c Avoid trying to unmap DVMA space from pv_remove_all(). 1994-07-14 01:18:46 +00:00
gwr
357f0db25c Add "evil empire" copyright to avoid a fight. 1994-07-14 01:17:40 +00:00
mycroft
0c2e843ee1 Implement cd9660_vget(). Clean up a bit. 1994-07-13 22:30:07 +00:00
gwr
a578a56105 Remove some stupidity pointed out by Adam. 1994-07-13 18:04:46 +00:00
phil
eaaed0e51e removed a "debugging" printf in pagemove. 1994-07-13 15:09:15 +00:00
pk
35dc4aefc8 Remove debugging code. 1994-07-13 07:52:01 +00:00
phil
741394dc40 Fixing the dumb swapdev bug. 1994-07-13 07:08:18 +00:00
ws
2db64ab48d Try to pick myself up from the floor where I fell laughing. 1994-07-12 22:20:46 +00:00
cgd
65855280c7 minor cache consistency fix 1994-07-12 21:03:14 +00:00
mycroft
a28c342dee Bug fix from Rick Macklem for a problem with linking to an open file. 1994-07-12 19:46:36 +00:00
gwr
32ec36897f Fix two more bugs. Seems to work now! 1994-07-12 05:18:53 +00:00
gwr
ba188a61a0 Avoid some macro redefinitions that have appeared since exec.h
now includes exec_aout.h
1994-07-12 00:34:31 +00:00
paulus
cac095f0d0 up and running! 1994-07-11 05:37:02 +00:00
chopps
183bffdf36 fix a `bug' actually just an interface issue, cache last indirect block
to avoid geometrically increasing access time when reading files.
1994-07-11 05:07:38 +00:00
gwr
72d730bdc9 miscellaneous cleanup 1994-07-11 03:41:28 +00:00
gwr
c1e4c90429 Yes!!! Fix use of uninitialized variable in pmap_remove_range_mmu()
Add even more paranoid debugging checks (it's still sick )-:
1994-07-11 03:38:11 +00:00
gwr
7b4643faf3 Add Theo's fix for "must be one" bits in tdr2. 1994-07-11 03:31:17 +00:00
chopps
bea44f01a5 bring up to date with siop.c 1994-07-10 23:00:29 +00:00
cgd
2e82a93f57 the trunk now carries the revision 1.0A (i.e. the first revision after
1.0), because the release branch is 1.0, and when the trunk again becomes
-current, it's 1.0A.
1994-07-10 22:26:30 +00:00
mycroft
db0e00db86 Clean up a bit. 1994-07-10 17:53:12 +00:00
phil
6d82a5754b I missed this change a while ago. 1994-07-10 17:21:56 +00:00
briggs
5ec3485979 Be somewhat better at machine dependence, clean up a hair, and get rid
of addupc.
1994-07-10 16:58:05 +00:00
briggs
f8d560f187 Be somewhat better at machine dependence. 1994-07-10 16:55:53 +00:00
cgd
f3dc337d8a fix done in rev. 1.23 over again. it was clobbered, and problem masked 1994-07-10 05:53:25 +00:00
briggs
cacf1a1b0a Cleanup a printf, raise the probe timeout, and notice if the probe
does time out.
1994-07-09 17:21:13 +00:00
briggs
a933ab5ed1 Some cleanup and get rid of some compiler warnings. Needs more work. 1994-07-09 07:28:22 +00:00
briggs
2ff5938343 Minor hacks to get this to compile for now. ite.c now uses the proper
consdev structure to keep itself from crashing...
1994-07-09 06:49:34 +00:00
briggs
6cd891192f Move a function here from the old console.c. 1994-07-09 06:38:55 +00:00
briggs
3266a82b9f Switch to using sys/dev/cons.? instead of old hp-derived generic console. 1994-07-09 06:36:11 +00:00