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
briggs
99fee960e0
Fix includes to use ../mac68k instead of ../mac and add some semi-colons
...
to a couple of default: switches. gcc2 doesn't mind not having them,
but gcc1 sure does.
1993-12-06 04:27:52 +00:00
hpeyerl
d1648996c9
multicast support.
...
From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-06 04:17:38 +00:00
briggs
54614538ca
Dumb typo. Must be dyslexic. Changed MACHINE_MID to MID_MACHINE.
1993-12-06 04:11:47 +00:00
briggs
dcbf82a3fe
Move MID_MACHINE to param.h from exec.h and get rid of bogus includes.
1993-12-06 04:09:20 +00:00
mycroft
fb60f2ced9
Turn off special mask mode by default. It is clearly not supported enough.
1993-12-05 11:20:09 +00:00
mycroft
6f9ba74d72
Clean up deleted files.
1993-12-05 07:20:14 +00:00
phil
424b944426
Adding MACHINE_ARCH and changing MACHINE.
1993-12-05 06:50:39 +00:00
mycroft
c051bea7ca
Clean up deleted files.
1993-12-05 01:56:14 +00:00
cgd
fdc1a28735
use .S
1993-12-05 01:52:27 +00:00
cgd
30dc89704d
split up the {ntoh,hton}[ls] functions
1993-12-05 01:36:46 +00:00
mycroft
59690d8df5
Clean up deleted files.
1993-12-04 07:26:07 +00:00
cgd
86b5a367cf
use progname.core for core dump names
1993-12-04 07:11:11 +00:00
cgd
1e98b770b2
use .S files
1993-12-04 05:21:29 +00:00
cgd
d226f795ee
quad support
1993-12-04 05:21:03 +00:00
cgd
90d44a4697
oops; we need this
1993-12-04 05:09:14 +00:00
cgd
aa73ac7b19
quad support copied in from libc.
1993-12-04 05:01:33 +00:00
briggs
1fd099189d
Change USRTEXT to 8192 in vmparam.h.
...
Add MACHINE_ARCH (m68k) to param.h.
1993-12-04 03:49:01 +00:00
cgd
4b9f919ec3
deal with missing lib dirs
1993-12-04 03:13:31 +00:00
cgd
5d996b5fbb
change to use MACHINE_ARCH and update from libc
1993-12-04 03:08:13 +00:00
mycroft
fb44c683a4
Clean up deleted files.
1993-12-04 03:07:53 +00:00
cgd
879130b794
change to use MACHINE_ARCH and update from libc
1993-12-04 03:05:16 +00:00
mycroft
75fe89c2ef
Clean up deleted files.
1993-12-04 03:04:56 +00:00
cgd
e21de4e71b
change to use MACHINE_ARCH and update from libc
1993-12-04 03:04:30 +00:00
cgd
638c145efa
add MACHINE_ARCH
1993-12-04 02:20:11 +00:00
cgd
edcba29bc8
add MACHINE_ARCH
1993-12-04 02:12:34 +00:00
cgd
b26f063ecf
add MACHINE_ARCH as i386
1993-12-04 02:04:31 +00:00
deraadt
c05bd599a0
i have an ep
1993-12-04 01:20:51 +00:00
briggs
25e937c41a
Added struct relocation_info_mac68k. Copied from hp300.
1993-12-03 22:29:48 +00:00
jtc
7feeba74fd
Disable GCC's __attribute__ extension when we're not using GCC.
1993-12-03 20:39:35 +00:00
deraadt
8ca56a8a85
ep driver..
1993-12-03 12:02:38 +00:00
mycroft
720d26b6bf
Add dummy speakerattach() until it's made into a real device. Reported by
...
Mark_Weaver@brown.edu .
1993-12-03 09:37:56 +00:00
deraadt
03f5ee0f24
monster kludge! struct kinfo is very large, cause the pmap struct is
...
very large. this has to fit into struct user.. kern_kinfo.c should get
fixed (for the core dump case)
1993-12-03 09:23:43 +00:00
deraadt
c69bc4a95f
I have a scsi controller now!
1993-12-03 05:31:03 +00:00
deraadt
0977b6ec81
add ep driver
1993-12-03 02:58:42 +00:00
phil
dacaea391c
Updating for changes removing rtc from the pseudo devices.
1993-12-03 00:18:30 +00:00
briggs
9c873e424c
Update MACHINE to mac68k in param.h.
...
Update MACHINE_MID to MID_M68K -- untested.
Add __LDPGSZ as 8192 -- untested.
1993-12-02 18:36:35 +00:00
mycroft
5cf6576e5d
Clean up deleted files.
1993-12-02 18:29:26 +00:00
briggs
67558220f1
Migrate to new MACHINE definition (mac -> mac68k).
1993-12-02 18:29:18 +00:00
briggs
0c925f177c
Add symbols for quads to limits and endian and protect endian from mult.
...
inclusion.
1993-12-02 15:02:50 +00:00
deraadt
e2d8e0cdaf
NFS -> NFSSERVER and NFSCLIENT
...
take out NEWCONFIG option
1993-12-02 11:10:35 +00:00
briggs
e8aefd0760
Get rid of CLK_TCK. Theo reminds me that the value isn't
...
machine-dependent, which is why it's defined in time.h.
1993-12-02 07:40:14 +00:00
briggs
1e2591e519
Update Makefile to not use stupid hack on assembly files.
1993-12-02 06:29:16 +00:00
briggs
9a5e37cfd0
Use /**/ instead of ## for concatenation. Other way doesn't work right.
1993-12-02 06:25:10 +00:00
cgd
bc0ee80f7b
don't do the exflags thing.
1993-12-02 06:23:48 +00:00
cgd
755a93789b
indent Id properly
1993-12-01 22:42:29 +00:00
cgd
5419d0bd49
initialize uninitialized variable, from Andy Heffernan <ahh@netcom.com>.
1993-12-01 22:05:04 +00:00
pk
67d0cb98aa
Make `ktrace' record the system call entries in addition to just a bunch
...
of return codes.
1993-12-01 20:59:59 +00:00
cgd
4909e76819
update from Jeff Polk; better validation
1993-12-01 10:35:21 +00:00
deraadt
2dcf572fc2
fbio.h is in machine/
1993-11-30 20:55:12 +00:00
mycroft
8caf0ca62b
Use new struct buf fields.
1993-11-29 20:33:25 +00:00
mycroft
3956e86fbd
Enable mcd0.
1993-11-29 18:19:29 +00:00
pk
053e467648
Use proc0's credentials in buffer used for IO to swap device.
...
Especially useful when swapping over NFS.
1993-11-29 16:05:20 +00:00
pk
392cf19708
return from rmfree() if we loose space with no options left.
1993-11-29 13:21:00 +00:00
deraadt
cd697ceedb
seperate device from dkdevice
1993-11-29 08:31:22 +00:00
deraadt
a17ccec482
fbio.h is in machine/
1993-11-29 06:14:55 +00:00
deraadt
9baa68556c
more cleanup
1993-11-29 06:14:06 +00:00
deraadt
82d8ced9f1
start to get rid of some of the hacks
1993-11-29 05:37:56 +00:00
briggs
606d45ee4a
Move the SRCS from hp300 over to here, changing ffs.c to ffs.s.
...
Am I missing something obvious in doing this? This makes the
${ARCH}/Makefile.inc for 68k able to just set ARCH=m68k.
1993-11-29 05:29:51 +00:00
mycroft
7095375da9
Enable ch*.
1993-11-29 04:59:26 +00:00
briggs
0e8dc056db
Bring files.newconf back into touch with reality:
...
Add exec_aout.c.
Add sysvshm/sem.
Fixup miscfs changes.
Change pcfs to msdosfs.
Misc.
1993-11-29 03:39:46 +00:00
mycroft
aadbc0a6da
Remove explicit port for ahb[01].
1993-11-29 01:03:44 +00:00
briggs
32b381f69f
This is a bunch of Julian Elischer's sys/scsi (as seen in FreeBSD)
...
modified to function with the mac code. It currently doesn't map
the configured devices, but it does force the boot disk to be sd0.
The user-level stuff has been #ifdef'ed for sanity.
1993-11-29 00:45:01 +00:00
briggs
b1dd736d44
Update from 0.9-ish to -current. Including a switch to use config.new.
...
The new functions (ptrace, etc) are stubbed.
Some cleanup, too.
1993-11-29 00:40:36 +00:00
mycroft
4e20653888
Enable ahb[01].
1993-11-29 00:39:21 +00:00
briggs
9995ea306b
Added signal.h for -current. The rest is formatting changes.
1993-11-29 00:37:54 +00:00
briggs
e99f003a7d
Update to current work in progress. This includes an update to
...
use config.new.
Numerous updates to console so it works better on the SE/30 screen.
Some nice changes from Brad Parker for handling NuBUS and an ethernet
driver that I haven't worked on, yet.
1993-11-29 00:32:22 +00:00
briggs
915b33a502
Update to current work in progress. This includes an update to
...
use config.new.
1993-11-29 00:29:28 +00:00
deraadt
1aba43bb13
use new sun_exec_aout_makecmds
1993-11-28 18:09:43 +00:00
mycroft
b26d4770d0
Clean up deleted files.
1993-11-28 18:07:58 +00:00
deraadt
6ce3f214d1
compat exec() stuff is done more sensibly now
...
(hpux and ultrix compat stuff will be done the same way)
1993-11-28 18:03:18 +00:00
mycroft
6ac9e15bb1
New test config.
1993-11-28 10:50:44 +00:00
deraadt
bf504b849f
theo's other test kernel
1993-11-28 08:42:31 +00:00
deraadt
e28868b656
fixed: hostid was incorrectly read from register
1993-11-28 03:47:11 +00:00
mycroft
5820418cb2
Remove remaining sleep()s.
1993-11-27 19:49:09 +00:00
deraadt
8a096146a0
page fault debug code goes away
1993-11-27 01:49:20 +00:00
ws
226a277da1
Bug fixes to ISOFS
1993-11-26 19:56:51 +00:00
deraadt
0f82234745
add info about the Pinnacle cpu
1993-11-26 11:44:51 +00:00
deraadt
f4690feb8e
include cpu.h instead of a number of other unreasonable files
1993-11-26 11:43:29 +00:00
deraadt
744291c4a9
calculate sigtramp address based on PS_STRINGS, not USRSTACK
1993-11-26 11:26:23 +00:00
mycroft
4acf267f87
Enable uha[01].
1993-11-26 10:50:36 +00:00
mycroft
75f98f5632
New code from Julian.
1993-11-25 20:17:47 +00:00
mycroft
003abe0b84
Enable st and cd.
1993-11-25 08:01:13 +00:00
mycroft
8cd6aec465
Patch from Julian to fix hangage when opening a device multiple times.
1993-11-25 04:03:20 +00:00
deraadt
706d795029
setroot & friends now done in init_main.c
1993-11-25 00:14:19 +00:00
mycroft
e985f4041a
Still under construction...
1993-11-24 09:45:04 +00:00
mycroft
37548328a1
Under construction...
1993-11-24 04:52:44 +00:00
deraadt
2a9aacbf1c
don't permit TIOCSCTTY on /dev/tty, or kernel recursion happens
...
from Lars Fredriksen <ludvig!lars@wixer.bga.com>
1993-11-24 03:40:10 +00:00
mycroft
11ba2e43d8
Enable aha[01], sd*.
1993-11-24 03:26:04 +00:00
deraadt
a327e51865
properly setup the kernel stack during startup
...
use CCFSZ not 96..
1993-11-24 02:39:31 +00:00
deraadt
f89548fbcc
update to match torek's code-base
1993-11-24 02:31:32 +00:00
deraadt
661654b98d
clear "cold boot" flag later on
...
ask rom about "memory-error" earlier
and cleanup
1993-11-24 02:30:56 +00:00
deraadt
1786d90ff5
rename loattach() to loopattach() so that the pdevinit[] stuff can find it.
1993-11-23 08:16:55 +00:00
deraadt
bd783b4d80
initialize pseudo devices with pdevinit[], not with a bunch of
...
#include/#ifdef pairs..
1993-11-23 07:49:04 +00:00
glass
06932ce0f8
Now works with current tree, as opposed to the july 8th tree in which it was
...
written.
Requires magnum infrastructure now, particularly the clock stuff.
Fails to exec init because the /sbin/init binary
is a sunos binary. Next step is to integrate sunos compatibility code
from /sys/compat/sunos, and the amiga port.
Does not yet implement MACHINE_NOCONTIG support.
[from glass Mon Nov 22 21:22:45 PST 1993 home tag: home2]
1993-11-23 05:28:35 +00:00
cgd
9e078d7394
defines change
1993-11-23 04:51:25 +00:00
mycroft
30466816bf
Clean up deleted files.
1993-11-22 22:59:35 +00:00
deraadt
61789d11e5
moved from arch/sparc/sunos to compat/sunos
1993-11-22 22:54:48 +00:00
deraadt
d6df6b46fc
the sunos files have moved to /sys/compat/sunos
1993-11-22 21:57:13 +00:00
cgd
facd69a0ee
do something better with lookup return values; suggested by BSDI's msdosfs mod
1993-11-20 09:40:32 +00:00
deraadt
95b75b0b4e
update to new syscalls.master
1993-11-20 03:09:03 +00:00
deraadt
57a09f4e1c
new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname
...
some from Markus.
1993-11-20 03:08:16 +00:00
deraadt
370e6c6aed
cannonicalize #include's
1993-11-20 03:05:41 +00:00
deraadt
e2a5941739
new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname
...
some from Markus.
1993-11-20 03:01:58 +00:00
deraadt
ac4a976328
fake support for TIOCSSOFTCAR and TIOCGSOFTCAR
...
(one of which used to point to NetBSD's TIOCSTAT :-)
1993-11-20 02:57:43 +00:00
cgd
2b3cb4657d
#ifdef out /kern/root at theo's request
1993-11-20 01:57:07 +00:00
brezak
fbcaa3fbdd
Correct func protos.
1993-11-19 03:10:22 +00:00
cgd
5838270f1e
patch from Ukai Fumitoshi <ukai@kmc.kyoto-u.ac.jp>
...
to do the right thing with NFS fsid's and getnewfsid()
1993-11-19 02:31:23 +00:00
cgd
7abca02b8a
added two copyright strings at the request of Gary Clark II
...
<gclarkii@freefall.cdrom.com>, because he hacked and is in the process
of hacking the code significantly.
1993-11-17 12:22:50 +00:00
cgd
183fd1b02f
cut down SHMMAXPGS (temporary)
1993-11-15 11:41:54 +00:00
cgd
dde22728d4
drag changes down from magnum
1993-11-15 10:21:08 +00:00
deraadt
5c7d4e081c
add bpfilterattach(), as in magnum
1993-11-15 09:56:46 +00:00
deraadt
33d816fdbc
add a ptyattach() function, as in magnum.
1993-11-15 09:17:05 +00:00
cgd
1259031077
kill bogus test
1993-11-15 07:54:45 +00:00
cgd
fdff4e65de
sem_num is really supposed to be a ushort, from Danny Boulet (The author)
1993-11-15 07:10:24 +00:00
deraadt
04c059f13c
use one stop shopping selwakeup/selrecord
1993-11-14 20:33:26 +00:00
deraadt
d19b5e0673
cleaned up version of the tunnel driver
1993-11-14 20:07:20 +00:00
mycroft
7377ae9734
Support for ESIS over X.25 is not complete.
1993-11-14 19:40:47 +00:00
mycroft
9c68389ee6
Junk PARANOID.
1993-11-14 17:58:12 +00:00
mycroft
c237d6b7d7
Fix typo in last change.
1993-11-14 17:42:19 +00:00
mycroft
bc94b1cf89
Add a few things that were missing, and fix some comments.
1993-11-14 17:41:37 +00:00
deraadt
c23bd89b60
#include sun_disklabel.h from the new place
1993-11-14 15:01:52 +00:00
deraadt
3dbda08a31
add torek's new cgthree driver.
...
the brooktree DAC code has been split out from the cgthree driver,
and is now shared with the cgsix.
1993-11-14 15:00:50 +00:00
deraadt
61f6f87a4c
update to latest syscalls.master
1993-11-14 14:56:35 +00:00
deraadt
ee8ffb2911
update to kern/syscalls.master, for SYSVSEM & SYSVMSG
1993-11-14 14:56:05 +00:00
deraadt
db97aa737f
disassembly shows the %f2 register being accessed, and of course the
...
kernel panics.
why wasit using %f2? some expressions were too complicated and gcc2 (with
the optimizer off, mind you) ran out of integer registers and thus used
started using a float register for a temporary.
1993-11-14 14:46:54 +00:00
cgd
fa0d8faf42
Update from trunk:
...
Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 14:45:16 +00:00
cgd
c5446cd8e0
add SYSVMSG and SYSVSEM
1993-11-14 14:40:44 +00:00
cgd
4878a43c3d
Add the System V message queue and semaphore facilities. Implemented
...
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:21:59 +00:00
cgd
02d6aea5bf
Add the System V message queue and semaphore facilities. Implemented
...
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:08:09 +00:00
deraadt
fdcd4f2a13
different place than where Torek put it
1993-11-14 10:47:54 +00:00
deraadt
db4ffd69bb
baseline code from Torek
1993-11-14 10:47:08 +00:00
cgd
a7c7f39bad
fix to keep acctwatch() from being called before the vnode is unlocked.
...
from Mark Tinguely <tinguely@plains.nodak.edu>.
1993-11-14 06:55:24 +00:00
ws
5f65d904b7
Don't skip BIOS variables on boot if load address isn't 0
1993-11-13 16:31:48 +00:00
cgd
c6ff42e027
from Mike Karels, via bsdi-users: nuking session pointer prevents cleanup.
1993-11-12 15:15:57 +00:00
cgd
76dbc1192b
new specfs.h and fifo.h locations
1993-11-12 05:54:12 +00:00
mycroft
f86975f0f0
Clean up deleted files.
1993-11-12 03:44:43 +00:00
cgd
917af1bf7b
new locations
1993-11-12 03:38:16 +00:00
deraadt
25800bfb5b
specdev.h moves
1993-11-12 03:23:51 +00:00
deraadt
beab56ab90
new from torek:
...
add torek's comments to my DMA_DRAIN fix
1993-11-12 00:50:48 +00:00
deraadt
4c30adca67
new from torek:
...
add cgsix
1993-11-11 23:17:47 +00:00
mycroft
243bc4cc05
Boundary check on backspace.
1993-11-11 15:43:52 +00:00
deraadt
c9f2e616f8
from torek:
...
new brooktree dac code
hacked cgthree code
new cgsix (ala GX) code
1993-11-11 03:36:48 +00:00
cgd
9d0e9ed1c1
fix setup of b_dirtyoff and b_dirtyend when writing out a page.
...
from Mike Hibler.
1993-11-10 22:43:34 +00:00
cgd
b41210b362
add addr32, as noted on freebsd-hackers by bde himself.
1993-11-10 16:08:19 +00:00
deraadt
d9debd8a1b
s/cntty/cn_tty/
1993-11-10 15:06:41 +00:00
deraadt
ea61d92021
replacement set of sun ioctl functions. markus wild added a
...
whole slew of new ioctl's that are much more close to reality.
the comat-sunos tree is now almost good enough to be used in
both m68k and sparc kernels.
1993-11-10 15:03:33 +00:00
deraadt
3092f9ab32
we do not have sysctl
1993-11-10 14:36:07 +00:00
deraadt
a256e8b38a
silly typo
1993-11-10 11:46:38 +00:00
deraadt
3593ac2407
sunos compat execve() helper routines.
...
these routines are not useful/used on the sparc, but are needed
by the sun3.
1993-11-10 10:31:35 +00:00
deraadt
60b0bb39a9
blast it..
1993-11-10 10:17:52 +00:00
deraadt
294c3d8704
support both sun3 & sparc concepts of minor/major #'s for /dev/zero
1993-11-10 10:14:19 +00:00
deraadt
8d10efb291
sun_disklabel.c moved
1993-11-10 09:48:21 +00:00
mycroft
84e594b797
Clean up deleted files.
1993-11-10 09:40:01 +00:00
mycroft
69db85708e
Clean up deleted files.
1993-11-10 09:12:36 +00:00
cgd
56adbe979f
make absent absent
1993-11-10 08:22:05 +00:00
cgd
d580099dde
fix those last changes, and quiet a compiler warning.
1993-11-10 08:11:47 +00:00
cgd
189ecc0a66
include sys/time.h; we'll need it eventually.
1993-11-10 07:59:40 +00:00
deraadt
7679710d7c
some cleanup, better than sending adam reminder notes
1993-11-10 07:42:12 +00:00
deraadt
ac0ecd9194
Duh.
1993-11-10 06:22:15 +00:00
deraadt
6839d97c8c
use p_emul flag to indicate OS emulation
...
handle syscalls at standard sun place, ie. trap#80 not #89
add SunOS OMAGIC support
1993-11-10 03:13:19 +00:00
deraadt
b9f8cbdca7
update from new syscalls.master
1993-11-10 01:01:59 +00:00
deraadt
ffb469a020
chmod 444 on the output files is a bad idea
1993-11-10 01:01:25 +00:00
deraadt
2e0bfb759c
update to 4.4 way of doing syscall#0
1993-11-10 00:59:10 +00:00
glass
af72539915
T_LINEP member of struct tty becomes t_sc. This replaces the
...
#define t_sc T_LINEP
that appear in tty_tb.c, if_sl.c, and if_ppp.h
1993-11-09 06:22:08 +00:00
mycroft
2f5635f70b
A slightly unfinished i82586 driver, based on Garrett Wollman's.
1993-11-08 20:15:31 +00:00
mycroft
5aa77a4ddc
Enable ie0.
1993-11-08 20:10:32 +00:00
deraadt
96faaf5809
sign extension bug fix from <rick@snowhite.cis.uoguelph.ca>
1993-11-08 03:39:21 +00:00
cgd
34178aa2ef
don't use splclock()/splnone(), use splclock()/splx().
...
pointed out by david greenman.
1993-11-05 23:18:51 +00:00
cgd
ab12bacae0
note that use of splnone() is prolly bogus; splnone() itself is bogus,
...
so it's use is. 8-)
1993-11-05 23:18:04 +00:00
cgd
ec3f94cfcd
fix from david greenman, davidg@freefall.cdrom.com:
...
fixed bug where large amounts of unidirectional UDP traffic would fill
the interface output queue and further udp packets would be fragmented
and only partially sent - keeping the output queue full and jamming the
network, but not actually getting any real work done (because you can't
send just 'part' of a udp packet - if you fragment it, you must send
the whole thing). The fix involves adding a check to make sure that the
output queue has sufficient space for all of the fragments.
1993-11-05 23:06:26 +00:00
cgd
8068dd9add
fix from david greenman, davidg@freefall.cdrom.com:
...
sosend was attempting to reserve space in an mbuf cluster for a datagram
header and because of bugs in the sosend's mbuf allocation algorithm,
sosend was calling uiomove twice as many times as was necessary. It turns
out that PREPEND does the right thing when a cluster is associated with
an mbuf header, so the datagram header allocation can be defered. This
also ends up additionally consuming one less mbuf for the TCP protocol
because TCP always allocates another header mbuf regardless if space is
available to prepend the protocol header. The net result of this fix is
that unix domain and pipe throughput is increased by a measured 10%.
1993-11-05 23:00:27 +00:00
cgd
e685fd393f
added files copied in from libc. version numbers are screwed,
...
but are screwed for the rest of libkern's files, anyway.
1993-11-05 22:40:48 +00:00
deraadt
b7e4012f31
now that esp.c is fixed, go back to using the enhanced cache code.
1993-11-05 12:43:02 +00:00
deraadt
80a1356c75
DELAY(1) after a DMA_DRAIN, to let the esp chip have a chance to
...
recover from the DMA.. seems to let my ss1+ work with the cache enabled.
+ also esp reset code from Torek.
1993-11-05 12:41:54 +00:00
deraadt
6548614b2e
if_init goes away.
1993-11-05 10:51:50 +00:00
cgd
6ca8998c91
GENERIC: add mcd0
...
TEST: add mcd0, commented out
files.i386.newconf: add support for mcd driver
1993-11-04 09:28:26 +00:00
cgd
08c263706c
add mcd: Mitsumi CD driver by Holger Veit and Brian Moore
1993-11-04 09:12:30 +00:00
phil
4e1f2bee45
Fixed documentation.
1993-11-04 07:58:55 +00:00
phil
f3b1236dc8
State update, still not working.
1993-11-04 07:58:29 +00:00
paulus
5fda6c1974
Removed test (CCOUNT(&sc->sc_ttyp->t_outq) == 0) for whether
...
to call pppstart or not: now we call pppstart for every packet,
which should aid recovery from lost transmitter interrupts.
Also a fix for 386BSD/FreeBSD which doesn't affect NetBSD.
1993-11-04 03:45:23 +00:00
mycroft
3bb5fc8b74
Enable is0.
1993-11-03 21:32:45 +00:00
cgd
554c91f74a
change some flags back to bitfields, so it compiles.
1993-11-03 14:49:22 +00:00
cgd
64c1e3b2f5
new device pager from mike hibler, hibler@lamp. this is in its 'virgin' state
1993-11-03 14:48:42 +00:00
mycroft
fa3ccaa273
Change comment about pms.
1993-11-03 13:29:37 +00:00
mycroft
e163596ee8
Fix some comments and enable tb.
1993-11-03 12:48:31 +00:00
cgd
8900ab37e3
clean up, move some XXX's around, and note that one or two things should be
...
replaced with timeval{add,sub}, and generally be made more sane.
1993-11-03 09:08:42 +00:00
mycroft
dd896d55b8
A theoretically working version. The probe routine needs work.
1993-11-02 23:59:34 +00:00
phil
1859a602ad
Adding extra relocation information for the pc532.
1993-11-02 21:14:10 +00:00
mycroft
6c77f913e9
I have pms. ;-)
1993-11-02 20:40:57 +00:00
glass
3e21ea2e33
tablet line discipline compiles and probably works now.
1993-11-02 06:19:24 +00:00
mycroft
3103af7e6b
Take advantage of special mask mode by leaving interrupts masked in ISR until
...
they are serviced. No need to frob IMR.
1993-11-01 08:36:50 +00:00
mycroft
1a2c258aa6
Enable chaining IRQ only if we're using an IRQ on the slave. Other minor
...
cleanup.
1993-11-01 00:06:04 +00:00
mw
b917a0d04f
Change gfx-drivers to used g_data for their private data, and use regaddr
...
for what it's meant, that's to point to the register area. Now, both
gfx drivers should be fairly controllable from user-level applications.
1993-10-31 23:06:36 +00:00
mycroft
44c93f17b5
Grumble. Just set the blasted ICU mode before every read. Also, send the EOIs
...
to the right port in isa_flushintrs().
1993-10-31 20:21:11 +00:00
mycroft
b1c739de48
Need to change to reading ISR in isa_discoverintr().
1993-10-31 20:11:31 +00:00
mycroft
58dd8e7222
Read ISR by default. If DIAGNOSTIC, display ISR and IRR status for stray
...
interrupts.
1993-10-31 20:05:43 +00:00
glass
bee2279a89
removed unnecessary #ifdef. config does the right thing.
1993-10-31 19:36:33 +00:00
glass
7a7e6dbd95
removed slip and ppp specific prototypes from tty.h where they didn't belong.
...
moved them to tty_conf.c within #if Nwhatever > 0 where they do belong.
made sure that if_sl.c, and if_ppp.c still compile quietly.
1993-10-31 19:27:45 +00:00
mycroft
a4cf218142
Rearrange IDT initialization so it's easier to change ICU_OFFSET.
1993-10-31 18:36:21 +00:00
mw
3fb09cab4b
Back out of a stack-adjust (in COMPAT_SUNOS mode) after syscalls that
...
returned ERESTART.
1993-10-31 01:53:36 +00:00
mw
f6ea0d0d1c
Define new flag MDP_STACKADJ to back out of a stack adjustment in
...
syscall() in case of ERESTART.
1993-10-31 01:52:12 +00:00
mycroft
196fd95009
Clean up deleted files.
1993-10-30 23:44:40 +00:00
mw
10e446bf72
new tree for amiga, replacing the bogous previous one.
...
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:41:47 +00:00
mycroft
7b1556d1c1
Clean up deleted files.
1993-10-30 23:41:45 +00:00
mw
4e382ac007
new tree for amiga, replacing the bogous previous one.
...
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:40:53 +00:00
mycroft
7029745061
Clean up deleted files.
1993-10-30 23:40:43 +00:00
mw
2be7316095
new tree for amiga, replacing the bogous previous one.
...
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:40:05 +00:00
glass
5e6a2e33c0
fix chris typo.
1993-10-30 16:11:07 +00:00
mycroft
a74a4778b9
Enable fdc1 and assign it drq 3.
1993-10-29 20:38:46 +00:00
cgd
b73e5e6647
kill the process 'space' accounting collection for the following reasons:
...
(1) text calculation incorrect (would 'overbill')
(2) data calculation incorrect (would 'overbill')
(3) the maxrss calculation uses stuff which isn't present
on the sparc.
if 3/4 tests are questionable and/or broken, well...
1993-10-29 19:49:25 +00:00
cgd
06c4106aec
limit block sizes requested
1993-10-29 19:25:18 +00:00