Commit Graph

7671 Commits

Author SHA1 Message Date
gwr
cd13e583aa Provide delay2us as an inline and make it reasonably accurate,
but conservative (long) by a factor of about 1.25
1995-06-13 22:14:24 +00:00
gwr
64543c95b6 Fix several missing (and REQUIRED) calls to ZS_DELAY() 1995-06-13 22:11:33 +00:00
gwr
11ab4427ec Fix warning about setjmp arg 1995-06-13 22:06:58 +00:00
mycroft
abdeca89ce Change llinfo_x25 to use queue.h. 1995-06-13 09:07:29 +00:00
mycroft
7d87f9110f Clean this up a bit. Use queue.h more; de-uglify casts. 1995-06-13 08:36:58 +00:00
mycroft
4b83f9cc67 Change llinfo_llc to use queue.h. 1995-06-13 08:12:33 +00:00
mycroft
3bcdd7fb97 Replace an insque()/remque() pair I missed. 1995-06-13 08:11:37 +00:00
mycroft
a92b154a68 Touch this up so it compiles again. 1995-06-13 07:58:10 +00:00
mycroft
3c833d10fc Clean this up a bit. Use queue.h more; de-uglify casts. 1995-06-13 07:13:14 +00:00
cgd
1631c3544b clear m_ext.ext_free when marking an mbuf has having external storage.
From Jonathan Stone <jonathan@DSG.Stanford.EDU>.
1995-06-13 06:43:51 +00:00
mycroft
d2307f3ecb Update to match data structure changes. 1995-06-13 05:52:42 +00:00
mycroft
39b1a58316 Update to match data structure changes. 1995-06-13 05:41:43 +00:00
mycroft
415057458b Update to match data structure changes. 1995-06-13 05:38:47 +00:00
mycroft
80a0cdd913 There's no reason to set if_next here. 1995-06-13 05:31:00 +00:00
gwr
66f34029e5 Leave pseudo-device prom in for now (even though it doesn't work)
so config will create prom.h
1995-06-12 19:05:43 +00:00
mycroft
cd7edee1ca in_pcbnotify*() don't return anything. 1995-06-12 06:49:55 +00:00
mycroft
351cfd5ed8 Fix bogon in previous. 1995-06-12 06:48:54 +00:00
mycroft
22687aa834 Change in_pcbnotify*() to take an errno value. Make inetctlerrmap[] an
array on ints, not u_chars.
1995-06-12 06:46:34 +00:00
mycroft
10a4696964 Oops. Make source quench work again. 1995-06-12 06:24:21 +00:00
mycroft
c88cf97b34 Clear the MFC entry's statistical counters when doing an upcall. 1995-06-12 03:05:12 +00:00
mycroft
4cabe662ac Make sure to initialize ifnet correctly. 1995-06-12 02:22:13 +00:00
mycroft
e0d6716b6a Various cleanup, including:
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.
1995-06-12 01:09:20 +00:00
mycroft
6897f39ae9 Various cleanup, including:
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.
1995-06-12 00:46:47 +00:00
mycroft
d9fc8ef092 Remove check for if_addrlist == 0; if_attach() always puts one address on
the list, so this is a noop.
1995-06-12 00:09:42 +00:00
pk
1e070197f4 Go with the flow; use `/emul/sunos' pseudo-root (from Matthew Green).
Note: sunos_stat() and sunos_lstat() were added too.
1995-06-11 22:33:50 +00:00
fvdl
769310e81d Linux select() returns the amount of time left before a timeout would have
occured in the timeval structure. Emulate this behavior. Reported by
Theo de Raadt.
1995-06-11 21:51:38 +00:00
mycroft
f9337c3f1e Oops. Decrement rtt earlier. 1995-06-11 21:36:04 +00:00
mycroft
2be9b519ac As suggested by Brakmo and Peterson:
* Don't add the extra 1/8 of the mss when ramping up the congestion window.
* Scale the RTT values slightly to adjust for rounding errors.
* Set the lower bound of the RTO to RTT+2.
1995-06-11 20:39:22 +00:00
fvdl
ca120e393c Do extra comparison against linux_elf emul struct pointer to see what
we are emulating (unfortunately).
1995-06-11 20:24:42 +00:00
fvdl
0cdb827026 Add Linux ELF module to the list of things to try. 1995-06-11 20:22:12 +00:00
fvdl
fb777788b1 Don't forget to acknowledge that all the ELF stuff was taken from
Christos' svr4 code.
1995-06-11 15:15:09 +00:00
fvdl
8bf395c808 Make this link when SYSVXXXX is not enabled too. 1995-06-11 15:07:55 +00:00
fvdl
a22d72bf4d * Always kill all vm_cmds before giving up on loading an executable
* Don't try to use auxiliary arguments with statically linked executables.
* Remove 'cannot find interpreter' uprintf, as other exec modules may
  succeed in running the binary after all, and then we don't want this message.
* Some linkers produce rw- for the data segment, not rwx.
* Remove a few debugging printfs
1995-06-11 15:06:11 +00:00
fvdl
bfc9b29ab2 Remade these after syscalls.master had changed. 1995-06-11 14:57:56 +00:00
fvdl
fc7cfb5f0b * Make Linux ELF binaries work. Lots of code duplication, but it will have to do
for now.
* Add a sanity check in linux_uselib
1995-06-11 14:56:47 +00:00
mycroft
4ce5bb3dd4 Check for inflated congestion window during header prediction, per Bramko and
Peterson.
1995-06-11 09:36:28 +00:00
mycroft
abd4cc9991 Remove /dev/zero special case. It's done in mmap(). 1995-06-10 22:45:15 +00:00
mycroft
b1868d1bdf Set st_rdev in SVR4 struct stat. 1995-06-10 22:44:18 +00:00
mycroft
1e1e52e395 Rename the dirent fields to match Linux. Make sure the requested buffer
is no larger than MAXBSIZE.
1995-06-10 22:19:06 +00:00
pk
c049178b03 Deal with unrecovered boot devices. 1995-06-10 21:48:29 +00:00
gwr
914666b4f0 Temporary! Should be merged into libsa... 1995-06-09 22:26:18 +00:00
gwr
7fb30c51c8 Add install target, etc. 1995-06-09 22:24:06 +00:00
gwr
f950c931e0 Oops, that was a binary... 1995-06-09 22:23:44 +00:00
gwr
a4310ae56e Several fixes and cleanup: make close work; stop in prom if debug mode... 1995-06-09 22:23:01 +00:00
gwr
e4a7bfeef8 cosmetic 1995-06-09 22:21:00 +00:00
gwr
94ef91135d Add install target, etc. 1995-06-09 22:20:17 +00:00
gwr
c903596f3c New: a netif compatible interface to the Sun PROM network drivers. 1995-06-09 22:19:25 +00:00
gwr
c3fdd9aa60 Add BINDIR 1995-06-09 22:18:04 +00:00
gwr
2f9ec64621 Add install target, etc. 1995-06-09 22:17:19 +00:00
gwr
dbef525da2 Add install targets, etc. 1995-06-09 22:03:41 +00:00
gwr
8e179d8e95 Have netboot! 1995-06-09 22:02:39 +00:00
gwr
20ff880de8 More liberal check for exec header. Nuke machine type defines (support all) 1995-06-09 21:58:32 +00:00
gwr
5a7b959d02 Moved to ../stand/netboot 1995-06-09 21:55:47 +00:00
gwr
b80b4c93a5 Retool for native build. 1995-06-09 21:53:27 +00:00
leo
56dc7b26ad Atari no longer uses the default db_read/write functions. 1995-06-09 20:03:05 +00:00
leo
73c861e2e3 Handle mouse and other packages received from the keyboard correctly.
The initialisation now resets the keyboard and disables all packages
that make no sense because their drivers are not activated.
1995-06-09 20:00:14 +00:00
leo
91bada6a66 Fix grfmmap() 1995-06-09 19:55:13 +00:00
leo
18e5707a34 Add our own low-level access functions for ddb. This makes sure that
the system won't hang when referencing a non-existend page.
1995-06-09 19:53:45 +00:00
leo
9f6e63c66b Add our own db_memrw.c for ddb. 1995-06-09 19:50:42 +00:00
leo
13af15620a Show FPU_EMULATE exists 1995-06-09 19:49:27 +00:00
leo
f8c615afc9 Make hardware locations u_char instead of char 1995-06-09 19:47:30 +00:00
leo
2644faf340 Fix thinko 1995-06-09 19:45:42 +00:00
leo
80bf490a56 Support & require MACHINE_NONCONTIG 1995-06-09 19:42:22 +00:00
mycroft
e6c81430d2 Add missing `break;'s. 1995-06-09 18:09:27 +00:00
jonathan
8e556dece3 Change default optimization level from -O to -O2. 1995-06-09 06:44:41 +00:00
phil
9999c610fb Updated To.Do 1995-06-09 06:03:45 +00:00
phil
36c6fc31be Various updates for the new NCR scsi driver and tweeks to the interrupt
code. (From Matthias Pfaller)
1995-06-09 05:59:56 +00:00
phil
a8674363a7 Replacement of the NCR driver by the Leo Weppelman NCR driver as
ported by Matthias Pfaller (Thanks to both!) and a RCS id.
1995-06-09 04:36:14 +00:00
briggs
d37674426a "Always compile before you commit." 1995-06-09 02:19:47 +00:00
mycroft
d7e904a697 Fix various signal handling bugs:
* If we got a stopping signal while already stopped with the same signal,
the second signal would sometimes (but not always) be ignored.
* Signals delivered by the debugger always pretended to be stopping
signals.
* PT_ATTACH still didn't quite work right.
1995-06-08 23:51:01 +00:00
briggs
90caf013ba In the interrupt routine, bail out if we've not been initialized, yet. 1995-06-08 12:52:02 +00:00
mycroft
3a8e9c62b8 Remove ip_ifmatrix completely. 1995-06-07 16:01:15 +00:00
mycroft
e21c61b16f Remove extra definition of satosin(). 1995-06-07 15:21:48 +00:00
cgd
e58dfa2a1a make match/attach routines and cfdriver struct mi 1995-06-07 07:06:16 +00:00
cgd
da5b5dfa63 make match/attach routines and cfdriver struct mi 1995-06-07 06:46:04 +00:00
cgd
5a29222f9c prototype isascan, spacing 1995-06-07 06:45:44 +00:00
cgd
2994e22402 add m_split proto, as suggested by Ignatios Souvatzis in pr 1076 1995-06-07 00:21:28 +00:00
cgd
d4f62dcb69 update from Ignatios Souvatzis 1995-06-07 00:13:52 +00:00
cgd
3349ad1b56 update from matt thomas 1995-06-06 23:31:24 +00:00
mycroft
4a975bbe6f If necessary, wake up the child during attach so we always get a SIGCHLD. 1995-06-05 20:57:54 +00:00
pk
3131b5c6e5 Prototypes (PR#1097) 1995-06-05 19:39:35 +00:00
pk
a47021162b Prototype sysarch(2) (Thorsten Lockert, PR#1096) 1995-06-05 19:36:23 +00:00
mycroft
4bfd7749ad Various:
* Check for CTS in the correct register.
* Only do a selwakeup() if we output something.
* Don't make assumptions about what TTYDISC does.
1995-06-05 19:08:09 +00:00
ragge
215feb7abb New file pcb.h. USRTEXT changed to 0x400. 1995-06-05 17:17:57 +00:00
ragge
3c6303e76b Enabled auto reboot. Fixed bug in conf.c. Started use of rpb.
Detecting kernel stack overflow. Removed local mapping of
sigtramp code. Frob kernel stack pages in cpu_swapin().
Cleaned up some code and changed to KNF.
1995-06-05 16:26:23 +00:00
pk
1e52ad70a9 We need some compat_10 routines if COMPAT_SUNOS is on (PR #1008). 1995-06-05 12:56:54 +00:00
pk
bf834e228d Add UNION option. 1995-06-05 12:46:31 +00:00
mycroft
ee9e2e35fa Increase the delay after pulsing the keyboard reset line. 1995-06-05 03:47:51 +00:00
mycroft
1922f9e648 Use the memory mapping set up by the BIOS. 1995-06-05 03:07:34 +00:00
cgd
dede989b85 enable the de driver 1995-06-05 01:03:45 +00:00
cgd
d0d9fe6333 set a shutdown hook 1995-06-05 01:03:30 +00:00
cgd
89c30bb2e3 do the right thing with fixed-size types. 1995-06-05 00:49:45 +00:00
cgd
96caf354eb kill old Id, add NetBSD Id 1995-06-05 00:47:42 +00:00
cgd
c71cccacde kill old Id and Log. add NetBSD Id 1995-06-05 00:46:30 +00:00
cgd
551bcffab9 dc21040 driver, from Matt Thomas 1995-06-05 00:38:18 +00:00
mycroft
5b37a8fded Handle BREAK correctly when not entering DDB. 1995-06-04 20:50:14 +00:00
mycroft
38847d04c0 Add an input FIFO, and fix several flow control problems. Based on code from
Felix A. Croes.
1995-06-04 20:39:22 +00:00
mycroft
4ea6427a03 Increase size of imask[]. Sigh. 1995-06-04 20:22:50 +00:00
brezak
cea924779e call hw->setfd with param not ptr to it 1995-06-04 15:33:50 +00:00
mycroft
3e6f699a75 Only do software flow control if IXOFF is set. Also fix hardware flow control
case in ttyblock().
1995-06-04 14:01:37 +00:00