Commit Graph

3472 Commits

Author SHA1 Message Date
rgrimes
c447e587f4 Correct #ifdef for nfs_disless support is #ifdef NFS, there will be no
option DISKLESS for the 2.0 nfs diskless support.   A 2.0 diskless kernel
simple needs NFS linked in statically.
1994-10-08 06:20:52 +00:00
phk
ee22b0c649 Cosmetics for gcc -Wall. A couple of unused "int i"'s removed and a couple of
prototypes added.  And the usual () work.
1994-10-08 06:20:06 +00:00
phk
179b7ba3f8 I got my patch-file applied twice it seems. Fixed. 1994-10-08 03:31:53 +00:00
jkh
ef5db70468 Add HW.TROUBLE to ROADMAP. 1994-10-08 03:15:53 +00:00
jkh
a406c92b21 Put this here, moving it from /usr/src. 1994-10-08 03:10:34 +00:00
phk
34a9d3d869 Prototypes of today. Brought to you by a 28 minute transit time on BART :-)
(For the SF-unaware:  I ride the BART (The Bay-area subway) for half an hour
each way to work.  I use the time to shut up gcc -Wall on my handbook).
1994-10-08 01:45:30 +00:00
phk
0acc5560ac Cosmetics. 1994-10-08 01:41:15 +00:00
phk
f50da77aa9 Mostly Cosmetics. Some of the procedures in if_sl.c was void, but should
be int.  I made them int, and let them return 0.  Will have to find out
what the return-val is used for.
1994-10-08 01:40:23 +00:00
csgr
b2767579ff Make inflate() reentrant - no more global variables.
(The gzip image activator now needs a good code tidy up.)
1994-10-07 23:18:18 +00:00
csgr
20af18de70 First stage of getting imgact_gzip reentrant:
1) cut this up into /sys/sys/inflate.h, sys/kern/inflate.c
sys/kern/ingact_gzip.c
2) make a lot more things static
3) make a lot of globals const
4) make some args const
5) first stage of making globals into a struct (not used yet)

The vm_allocate() call which was introduced between revisions 1.4 and
1.5 of imagact_gzip.c broke things.  I have backed that out for the time
being.  (Davidg: help please)

WARNING: if you have gzip enabled in your kernel, you must now run
config again, as another source file has been added.  Otherwise your
kernel compile will fall over.

This is all still WIP.  More commits to come.

Suggestions from: phk.
1994-10-07 22:27:00 +00:00
phk
36596f7928 I forgot this bit of APM stuff last week. 1994-10-07 21:23:33 +00:00
phk
719bcaffe9 Reviewed by: phk
Submitted by:	 Thomas David Rivers <rivers%ponds@ncren.net>

WARNING: might hide some bug below!  I commit this to improve the stability
of 2.0.

Thomas wrote:
-------------
 I have been running a kernel with this change since October 4th; barring
unrelated network router troubles, the pitiful little machine has
completed several builds without any interaction from me, and continues
to chug along.

 I re-read wd.c, and added appropriate printfs() to look for references
to dk_badsect[].  My changes should have printed something when dk_badsect[]
was referenced.

 I got no output :-(

 Thus, I'm forced to concluded that something else is examining some
spurious memory... which happened to be in dk_badsect[] of the disk structure
in wd.c.  I can find no other explanation of why this unnecessary
initialization causes things to operate correctly.

 On the premise that such an initialization isn't going to hurt anything,
I'm going to suggest it go into 2.0.

 I'd like to thank everyone for there assistance, particularly David,
John and Bruce.
1994-10-07 21:17:41 +00:00
ache
c680e0960e Fix many problems with 8bit chars (sign extend in ctype macros)
Fix main problem with 8-bit chars in directories names: because
signed_sum left uninitialized, wrong checksum occurse
1994-10-07 13:13:32 +00:00
ache
50d3916b0c libncurses added 1994-10-07 09:28:33 +00:00
ache
f9f28bc195 This commit was generated by cvs2svn to compensate for changes in r3410,
which included commits to RCS files with non-trunk default branches.
1994-10-07 08:58:58 +00:00
ache
fd61e543ea Moved from ports with several enhancements 1994-10-07 08:58:58 +00:00
ache
a80c0624fb Moved from ports with several enhancements 1994-10-07 08:58:58 +00:00
pst
c4c79c211e Back out the fluff, leave the meat 1994-10-07 07:48:18 +00:00
phk
ee674f1a0d Cosmetics. Added four prototypes. 1994-10-07 07:33:51 +00:00
phk
633ef15194 Cosmetics. Unused vars and other warnings. 1994-10-07 07:23:04 +00:00
dg
17204bbc08 #ifdef DISKLESS the copying of the nfs_diskless structure. Not the best
solution, but the only one I have time for at the moment.
1994-10-07 05:45:27 +00:00
ache
a9c792d591 Change first CFLAGS+= to CFLAGS= or we got really bad results
especially with -m486 from make.conf
1994-10-07 05:36:01 +00:00
ache
c782ecfd03 LIBMYTINFO and LIBNCURSES defines added 1994-10-07 03:10:05 +00:00
pst
e377ba704a (a) there's no reason for PASSIVEMODE to be conditionally compiled since it's
controlled by a runtime switch.
(b) add '-P' to toggle passive mode from the command line
(c) turn on passive mode by default
	- passive mode ftp works on all but a few servers out there
	- it's easy to disable
	- no, standard ftp should not run with passive enabled by default,
	  but that doesn't matter because I've already fixed standard mode
	  ftp to take a switch

This really should have been implemented as a ncftp "set" command instead
of carrying over the same hack that was done to ftp.  I will go back and fix
it some day.
1994-10-06 23:57:21 +00:00
ache
3f5ed87546 libmytinfo added.
PS: don't forget 'make beforeinstall' if you want to play with it
1994-10-06 23:41:24 +00:00
ache
b32637dd9b Moved from ports + several enhacmenets 1994-10-06 23:38:41 +00:00
ache
aa38329e67 This commit was generated by cvs2svn to compensate for changes in r3400,
which included commits to RCS files with non-trunk default branches.
1994-10-06 23:38:41 +00:00
ache
f2c4eb1700 Sync with termcap.src 1994-10-06 21:40:42 +00:00
ache
0bb7ec9224 Change do= from ^J to \E[B, this escape must works in all terminal modes
and old variant don't work properly, if \n --> \r\n (cons25,pc3)
1994-10-06 21:37:48 +00:00
ache
b9225ed246 Back out ospeed change 1994-10-06 21:07:55 +00:00
dg
2add6128e2 Use tsleep() rather than sleep so that 'ps' is more informative about
the wait.
1994-10-06 21:07:04 +00:00
ache
dbd2b6665c Back out ospeed change (why all bugs discovered immediately _after_ commits
and no one before?)
1994-10-06 21:05:23 +00:00
ache
209ca98331 Oops, back out ospeed fix, I forget that flushing can occurse _after_
usleep, too quick commit :-(
1994-10-06 21:02:21 +00:00
pst
f26366acd4 Make multicasts go out default interface 1994-10-06 20:52:00 +00:00
ache
ee2f55bcfa Enable PC back, because it is ouside visible 1994-10-06 20:44:51 +00:00
wollman
c795f6d315 Since Rod insists on having this idiotic error message, at least call
warnx() correctly so we don't get the double newline.
1994-10-06 20:43:35 +00:00
ache
d5d42820e0 PC/ospeed code ifdefed out, our libtermcap use usleep now 1994-10-06 20:41:56 +00:00
ache
8ef9b59f42 ospeed/PC code ifdefed out, our libtermcap use usleep now 1994-10-06 20:36:34 +00:00
ache
35628d8e32 Change padding mechanism to use usleep, old variant not works
on terminals with no pad char (cons25) and quote from tputs.c says so too:
! 	 * Too bad there are no user program accessible programmed delays.
! 	 * Transmitting pad characters slows many
! 	 * terminals down and also loads the system.
1994-10-06 20:32:08 +00:00
phk
52abae4377 Steven Wallace provided a program which broke this stuff. I guess there are
more weird kinds of a.out than anyone can argue for.  This code failed to
load the first 28K of the text-segment, in the case where the first page
of the a.out contains only the a.out-header, and the text is still at 0x0.
Thanks Steven !
1994-10-06 18:22:24 +00:00
rgrimes
04c54e6dff 1. BOOTSEG and BOOTSTACK are now set from the Makefile, the boot code has
been relocated to run in the 64k segment at 0x10000 with the stack at
    the top of this segment.  This corrects the problems machines with 512K
    base memory had booting.

2.  startprog routing rewritten to convert the BOOTSEG ss to a KERNELSEG
    ss, this eliminated the last of the >512K memory references.  Additional
    cleanup in here included a better way to copy the arguments to the
    kernel stack.

3.  Elimination of argv and esym cruft saved a few bytes.

4.  Only need to truncate the head.a_entry to a meg boundary once intead
    of every time we used it!  [Saving more bytes].

5.  Addition of version 1 bootinfo structure support.  These boot blocks
    pass the kernel name in to the kernel now.

6.  Removed historical comments about MACH argv stuff, as it is useless now.
1994-10-06 09:41:05 +00:00
rgrimes
f60f323155 1. bootinfo.h defines the structure passed in to the kernel by the
new boot code.
1994-10-06 09:25:25 +00:00
rgrimes
5ff3d9fc6c 1. Eliminate unused esym global from locore, our boot code never supported
that and when it does it will be done differently.

2.  The kernel now does a frame setup on entry so it ``looks'' like a
    real function call.  This will be needed by future boot code and
    debuggers.

3.  Clean up stack offsets to all be in decimal and use %ebp when copying
    parameters in from the boot code.

4.  Implement version 1 of the uniform boot code passing mechanism with
    support for kernelname passing and nfs_diskless structure passing.

5.  Document the 3 different ways the kernel is called depending on what code
    is calling it.
1994-10-06 09:22:47 +00:00
wollman
cbd22892bf Zap 4.0 libkdb as well. 1994-10-06 00:48:55 +00:00
wollman
6632f4a5b0 A few fixes:
- register, registerd, and make_keypair don't compile (and are bogus anyway)
- don't forget to put back the obj directory when doing `kprog'
- while we're at it make the `kprog' commands overrideable from the command
  line
- add a bootstrap target which does the following:
	install includes
	cleandir and obj
	zap old version 4.0 shared libraries (these will screw the build)
	depend all install
	rebuild stuff in the main source tree which depends on kerberos
1994-10-06 00:32:42 +00:00
jkh
eec5c74ac9 Following changes from Robert Withrow (+ a few mods):
1. Make DEPENDS fully qualified, and not implictly assume relative
   to ${PORTSDIR}.  This allows more arbitrary dependencies to be
   specified.  This also means that DEPENDS= x11/foo needs to be changed
   to DEPENDS= ${PORTSDIR}/x11/foo in any Makefiles.  I'll try to do
   these changes myself.

2. Add an option NO_DEPENDS to disable the automagic building of depended
   ports.
Submitted by:	rww
1994-10-05 22:28:45 +00:00
wollman
ef35e45f85 Define a new macro. PSEUDO_SET, to hide TEXT_SET(pseudo_set, foo)
from users.  Eventually this will be used for LKM support.
1994-10-05 21:23:38 +00:00
wollman
cd21bb7ff0 Install line discipline the new way. 1994-10-05 21:22:45 +00:00
wollman
6fa06f2910 Allow for loadable line disciplines (eventually). 1994-10-05 21:22:24 +00:00
wollman
4c7a70a838 A number of bug-fixes inspired by Mark Treacy:
- Allow PPP to run multicasts natively.
- Deal properly with lots of similarly-named interfaces.
- Don't sign-extend if_flags.

NB: the last fix (to rtsock.c) must be reversed when we expand if_flags to a
reasonable size.

Submitted by:	Mark Treacy
1994-10-05 20:11:28 +00:00