Commit Graph

1697 Commits

Author SHA1 Message Date
mycroft
21edb9924e Canonicalize all #includes. 1993-12-18 03:59:02 +00:00
mycroft
0560892d34 Canonicalize all #includes. 1993-12-18 03:48:27 +00:00
mycroft
b8cd510204 Canonicalize all #includes. 1993-12-18 00:50:51 +00:00
mycroft
95b048b53a Canonicalize all #includes. 1993-12-18 00:40:47 +00:00
mycroft
b4d3382694 Canonicalize all #includes. 1993-12-17 07:56:32 +00:00
deraadt
be71d62793 direct -> dirent 1993-12-17 00:41:23 +00:00
mycroft
ea13c12adc From magnum branch:
Remove Jolitz's netisr kluge.  Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
mycroft
5d474c1aad Remove an `#ifdef MACHINE_NONCONTIG', as it is now required. 1993-12-16 20:23:56 +00:00
mycroft
8ab45ada42 Eliminate reference to Maxmem. 1993-12-16 20:22:56 +00:00
hpeyerl
b4b8e47e12 IFF_LLC0->IFF_LINK0 1993-12-16 20:14:10 +00:00
deraadt
493603cecd fix from Daniel Harris <daniel@werple.apana.org.au>
VTIME code must untimeout
1993-12-16 18:09:08 +00:00
pk
011f7efb3a Avoid dereferencing NULL pointer in nfs_doio() when B_PHYS is on.
Remove comment talking about nfsiomaps that we don't have.
Always use credentials that are in the buffer header, in stead of trying
to get them from pageproc, which may once have been necessary to push pages
to swap (cannot imaging anyone having exercised this over NFS though).
1993-12-16 16:43:36 +00:00
pk
e7356e6993 Use proc pointer passed in uio rather then curproc for credentials (should
perhaps be done for b_proc also).
1993-12-16 16:28:43 +00:00
hpeyerl
4eef2bd5ca oh my... make NS work.
(mental note to check more thoroughly in future)
1993-12-16 04:29:07 +00:00
hpeyerl
32fa8934ac Octal; Hex... It's all the same... :-)
>From deaven@ishmael.ameslab.gov
1993-12-16 00:40:05 +00:00
briggs
a69a3d2260 Non i386 machines are polite and don't point at instructions. They
count 'em.  Just to be nice, access the program counter with a macro...
1993-12-15 15:08:11 +00:00
mycroft
4b68c8d809 Fix a serious bug I introduced. 1993-12-15 14:47:38 +00:00
mycroft
a317941b21 Minor change. 1993-12-15 11:33:47 +00:00
mycroft
1cc1b73beb Cleanup of startup and signal handling code from magnum branch. 1993-12-15 09:31:29 +00:00
briggs
5fd9ddd438 Get rid of IFF_ALTPHYS and hence IFF_LLC0 reference. It doesn't appear
to have been used in this driver ;-)
1993-12-15 03:38:20 +00:00
briggs
0658adaa44 Added for ddb support. I think it's at least partially wrong. This and
the files in mac68k/db_* started off as the sun3 files...
1993-12-15 03:30:27 +00:00
briggs
08d8b412c1 Add files for ddb support. I know they're at least partially broken. 1993-12-15 03:28:56 +00:00
briggs
e9d1216987 Cleanup. Use mac68k_xxx macros instead of macII, etc. Cleanup via.h.
Add minimal support for ddb.
BIG CHANGE: Use proper offsets for new gas in locore.s!!!
1993-12-15 03:27:50 +00:00
briggs
93726fb753 Change constants and comments to reflect the current MACHINE value.
Define T_BRKPT and T_WATCHPOINT.
1993-12-15 03:22:56 +00:00
briggs
e369bb70b1 Add (semi-bogus?) test to scsi_gen to handle luns in test unit ready
commands.  W/o this test, some old drives were being identified at
all luns...  Also some cleanup and spelling corrections ;-)
1993-12-15 03:17:54 +00:00
mycroft
924c486826 Clean up deleted files. 1993-12-15 03:10:00 +00:00
briggs
34805358dd Add (broken) support for DDB. Also fix a bug in console that confused the
scrollback.  Clean up includes a tad.
1993-12-15 03:09:05 +00:00
briggs
38f1087a45 Let's try DDB... 1993-12-15 03:04:40 +00:00
mycroft
6c404098c1 Rearrange some tests to improve efficiency a little when using BPF and
multicast at the same time.
1993-12-15 03:01:07 +00:00
deraadt
11d78045d5 correct docs 1993-12-15 01:06:55 +00:00
mycroft
cbe3d33b6d P[GD]_SHIFT --> P[GD]SHIFT 1993-12-15 00:50:45 +00:00
jtc
dc6d3a285e Use new <sys/dirent.h>, not <dirent.h>. 1993-12-15 00:47:19 +00:00
jtc
d24da06114 Moved struct dirent, etc. from <dirent.h>. 1993-12-15 00:46:06 +00:00
mycroft
13552373e2 Some general code cleanup. 1993-12-14 13:02:52 +00:00
mycroft
fccc819b20 Fold in most of the magnum vm changes. 1993-12-14 05:31:17 +00:00
hpeyerl
e870ded5c4 Driver for 3Com Etherlink-III (3c509) written by me. Kudos to Charles
and Theo for help and optimizations. (without which this driver would
never have achieved speeds of 1010KB/sec)
1993-12-14 04:26:45 +00:00
hpeyerl
5097691559 >From cmaeda@cs.washington.edu; part of the multicast patches derived
from the Multicast patches for BSDI.

(I am a "big dopey bear" for having forgotten this. Thanx Havard.)
1993-12-13 15:10:40 +00:00
deraadt
252dd4bb0e VMIN/VTIME support from Marc Teitelbaum <marc@vangogh.cs.berkeley.edu> 1993-12-13 14:40:31 +00:00
deraadt
1aac161bb3 change MTU to 1500 bytes. Should be settable? 1993-12-13 14:27:01 +00:00
mycroft
31a8c70935 0xfe000000 --> KERNBASE 1993-12-13 11:50:13 +00:00
cgd
55a9a547a2 from Soeren Schmidt <sos@login.dkuug.dk>:
Basically it does a timeout on lost interrupts, starting the operation
again and logging and error message on the console.
additionally fixes some of the (newer ending) while loops
(that made it work with two IDE disks !)
1993-12-13 10:16:56 +00:00
deraadt
65824a7d8b tunnel driver cleanup done by Brad Parker <brad@fcr.com> and myself 1993-12-13 05:06:33 +00:00
deraadt
2bfd9f76b6 tunnel driver should work now 1993-12-13 05:04:34 +00:00
deraadt
e24af4c37c what the heck; i've got tunnel drivers now too 1993-12-13 05:03:18 +00:00
deraadt
819b21a7fc add tunnel driver 1993-12-13 05:02:06 +00:00
deraadt
858521c1a8 update to latest syscalls.master 1993-12-12 20:46:24 +00:00
deraadt
9d48733fb1 m68k/sparc sunos binary compatibility code, pulled down from magnum branch
for consumption by the m68k masses
1993-12-12 20:43:18 +00:00
hpeyerl
ded89d12bc >From cmaeda@cs.washington.edu; part of the multicast patches derived
from the Multicast patches for BSDI.

Thanx to Brad Parker for making me realize i'd forgotten to commit
this patch..(color me dopey)
1993-12-12 20:43:06 +00:00
hpeyerl
ac0c68e1db ie. also pass up any packet with the multicast bit set in the ethernet
>From: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
1993-12-12 20:24:37 +00:00
deraadt
e5fc8b4460 update to new syscalls.master 1993-12-12 19:42:13 +00:00
deraadt
c38503af4d sparc must flush register windows before vm_deallocate or else fireworks
must deallocate shm's
set/reset emulation environment at the right times
keep arg buffer around for later use
canonicalize all #includes.
support STACKGAP for COMPAT_SUNOS code
support OMAGIC/NMAGIC-style memory loading
don't assume VM_MIN_ADDRESS is 0.
(changes come from magnum branch)
1993-12-12 19:38:37 +00:00
deraadt
9dd14b7930 make syscall#0 "syscall", like in 4.4 (causes SYS_syscall to be defined) 1993-12-12 19:28:21 +00:00
deraadt
9e62501f7b support OMAGIC/NMAGIC a.out's
cannonicalize #includes
change VTEXT check
(this stuff comes from the magnum branch)
1993-12-12 19:26:18 +00:00
deraadt
3d6cccc80c add per-process emulation variable
support for OMAGIC/NMAGIC executables
STACKGAP support needed by compatibility functions
1993-12-12 19:19:03 +00:00
glass
2ed464d5b4 MACHINE_ARCH 1993-12-12 09:10:52 +00:00
glass
aa497f4aea snapshot of my private sources 1993-12-12 09:08:26 +00:00
cgd
bf4957f14f handle __attribute__ correctly when using gcc -traditional.
suggested, but different than what provided by Mark Weaver.
1993-12-12 07:47:04 +00:00
jtc
20aee59e7c Changed EQUIV_CLASS_MAX to COLL_WEIGHTS_MAX in accordance to POSIX.2. 1993-12-10 20:08:01 +00:00
cgd
40be71a246 bump up number of SLIP pseudo-devs to 4 1993-12-10 16:22:58 +00:00
cgd
381d61d756 move slip compression configuration into the interface flags,
and diddle a couple of related things.
1993-12-10 13:24:21 +00:00
cgd
b556fd992e slight fix to last 1993-12-10 11:45:25 +00:00
cgd
0e5dbe1a22 IF_LLC0 -> IF_LINK0 1993-12-10 10:57:40 +00:00
cgd
1da7a80f7e the IFF_MULTICAST constant should always be defined. also,
move IFF_LLC* -> IFF_LINK*; they were misnamed.
1993-12-10 10:57:05 +00:00
mycroft
e4f36e2ea9 Remove excess cruft. This machine has too little memory for unused baggage. 1993-12-10 08:55:32 +00:00
mycroft
714c5818db Make sure the high 16 bits of cpl gets a sane value (0) when reloading after a
process switch.  (HI THEO!)
1993-12-10 08:51:28 +00:00
cgd
94dd8a0dfb dtrt with 'error' in setpriority() 1993-12-10 07:19:16 +00:00
hpeyerl
7e2c70ce74 Add random.s for multicast stuff. 1993-12-10 05:38:37 +00:00
hpeyerl
dc1b697fb8 More multicast stuff
>From cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-10 05:37:33 +00:00
deraadt
3cf1d8505e echo ^V^? correctly as ^?. From Edward Wang <edward@homer.CS.Berkeley.EDU> 1993-12-09 22:58:17 +00:00
pk
02fca0e730 Really suppress clock warning message, even if celebrating. 1993-12-09 20:27:53 +00:00
pk
9610135cb8 Do the right thing when arguments are NULL.
Don't leave filesystems marked busy after copyout() errors.
1993-12-09 18:00:18 +00:00
hpeyerl
748eecc392 Two new files for Multicast 1993-12-09 00:35:00 +00:00
hpeyerl
3a4bc73f21 More multicast related stuff.
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-09 00:32:14 +00:00
hpeyerl
f0cbd5ece5 more Multicast stuff.
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-08 23:48:05 +00:00
hpeyerl
9589a22f73 More multicast stuff.
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-08 23:46:31 +00:00
mycroft
e69c5b3268 Implement ptrace(), copied from the Amiga port. 1993-12-08 23:11:40 +00:00
mycroft
f67ccd2bf0 Move #define of NIPCREG outside #fidef. 1993-12-08 22:46:15 +00:00
pk
002972f3f2 Suppress `preposterous time' message if the time base equals zero, as
is the case with NFS mounted root filesystems.
1993-12-08 18:26:19 +00:00
pk
644f409712 Properly initialize the credentials fields in the buffer used in physio().
Actually use the credentials of `curproc' when doing IO (among other things,
this allows us to read /dev/drum when swapping on an NFS mounted file).
1993-12-07 23:46:13 +00:00
pk
0499563755 Exclusive access when manipulating flag field in mount structure. 1993-12-07 23:37:43 +00:00
pk
f98138858c Don't allow the NFS_LOCKBITS to be set or reset from user land.
Allow other flags (SOFT,HARD,SPONGY, etc) to be altered by `mount -u'.
1993-12-07 23:29:27 +00:00
mycroft
f573b79d43 Make sure min values are correct when used at a larger size. 1993-12-07 20:44:28 +00:00
deraadt
9a48e42157 __386BSD__ -> __NetBSD__ 1993-12-07 12:51:58 +00:00
cgd
5c50cb4631 fix a goof that i made; return *before* nfs_lock() is called... 1993-12-07 04:47:41 +00:00
briggs
168d2ddd1d Add -Dmac68k as a COPTS so we can get cpu_disklabel. 1993-12-07 03:27:43 +00:00
briggs
403931dce7 Change mac -> mac68k for cpu_disklabel 1993-12-07 03:25:12 +00:00
pk
0d3fa06d24 Allow changing of various NFS parameters by using `mount -u ...'. 1993-12-06 23:38:14 +00:00
mycroft
42aa5d6c25 Change the address calculations in icode to match current as. 1993-12-06 14:19:44 +00:00
mycroft
620a222f9f If EXEC_DEBUG, display name of file we're trying to exec. 1993-12-06 14:18:58 +00:00
mycroft
3c2111ec4e Dummy clockattach() for new config. 1993-12-06 13:30:52 +00:00
mycroft
fc1d105e0a Dummy iteattach() for new config. 1993-12-06 13:27:49 +00:00
mycroft
12bd3cc33c Fix a couple of compiler warnings. 1993-12-06 13:14:16 +00:00
mycroft
6c0eb81987 Fix typo in DIAGNOSTIC code. 1993-12-06 13:00:49 +00:00
mycroft
3f963a26e0 For some reason that I do not feel like tracking down right now, these two
magic spaces allow me to build a kernel on my HP.
1993-12-06 12:40:29 +00:00
mycroft
73f2af0512 Add quad support. 1993-12-06 07:35:56 +00:00
mycroft
e52bc1d4f0 Add quad stuff, etc. 1993-12-06 07:25:07 +00:00
cgd
39bb0b1bc8 oops; fix that last... 1993-12-06 07:14:45 +00:00
cgd
443babf5ac the ugliest compatibility hack i think i've ever seen...
define COMPAT_OLDSOCKOPT to get new kernels to work with the
old args to [sg]sockopt.  this is going to go away "soon".
note that this option only has effect if MULTICAST is not defined.
1993-12-06 06:46:28 +00:00
hpeyerl
4bfc470a3c multicast patches
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-06 05:46:37 +00:00
hpeyerl
aa7f3b23a8 multicast support.
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-06 04:50:19 +00:00