Commit Graph

3811 Commits

Author SHA1 Message Date
ache
faaede6ee5 Move dialog_update() to another place, because it is now in dialog_clear() 1994-10-25 22:44:09 +00:00
se
6016ecdff7 BEWARE: Interface change of register_intr() !
Changed the fifth parameter to register_intr() from u_int mask into
u_int *maskptr in preparation for new features (shared interrupts and
removable devices, eg. for PCMCIA).
1994-10-25 22:35:12 +00:00
ache
ecdb89b811 Remove unneeded dialog_update() because now in dialog_clear() 1994-10-25 22:23:18 +00:00
swallace
84b8ad00c8 Patch for proper multicast support on point-to-point links.
Submitted by:	apg@demos.su (Paul Antonov) - patch020
1994-10-25 22:13:32 +00:00
swallace
24c2aab328 Applied patch009. Also added appropriate #include <string.h> which
would have detected that memset was not being passed a pointer in the first
place.

Submitted by:	Gene Stark (?) - 1.1.5.1 patch009
1994-10-25 20:50:41 +00:00
bde
10fb081e1d Never strip the kernel.
Recommend -Wimplicit in CWARNFLAGS next.  There are still a few hundred
potential arg mismatches because no function declaration is in scope.

Don't duplicate option `-I.'.

Remove null editing of the assembler source for all profiled objects.
The required magic has been done since prehistoric times by an
asm("mcount") declaration.

Simplify the clean rule.

Don't try to be clever about timestamps involving genassym.  genassym's
timestamp usually got ahead of assym.s's timestamp, so `make' almost
always had to run genassym and compare *assym.s to decide that nothing
needed to be done.  The cost is reassembling a few files whenever
genassym is rebuilt.  Assembling is almost as fast as comparing.

Always go through genassym.o to build genassym.  This would have avoided
numerous bugs involving mkdep -p.  Now it just stops genassym from
depending on the name of the temporary object file.

Use ${CFLAGS} for building genassym.  Mainly ${CWARNFLAGS} were missing.
1994-10-25 19:34:57 +00:00
se
04ad970a93 Added decoding of chipset registers for Pentium 90/100 CPUs. 1994-10-25 18:45:19 +00:00
bde
aced007bf5 Use the correct macro for deciding whether syscons' variables should
be accessed.

Remove some unused declarations and document a bogus one.
1994-10-25 18:22:32 +00:00
bde
f95ca78f1b Use += instead of ?= for setting LDDESTDIR. Some Makefiles, such as
cc/Makefile.inc use (abuse?) LDDESTDIR for their internal libraries
so "?=" hides non-default external libraries.  Adding multiple paths
to LDDESTDIR works except it makes it even harder than usual to
decide which libraries will actually be linked against.
1994-10-25 18:09:44 +00:00
bde
7661c0a196 Some profiled/shared objects were being built despite NOPROFILE/NOPIC
being set.
1994-10-25 17:55:25 +00:00
bde
c4b64391bf Don't write outside of partp[] if the user gives an invalid partition
number for the partition to be made active.  Do nothing instead.  This
allows clearing all the active flags by specifying an invalid partition.
1994-10-25 17:46:53 +00:00
bde
e98634582e Define DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0). 0 is
a poor value for a magic number, and we need to be compatible.
1994-10-25 17:33:25 +00:00
bde
c5d2a2e071 Add perl. 1994-10-25 16:59:57 +00:00
paul
9b625b2c6f Added refresh() to dialog_clear so that it actually
clears the screen.
Reviewed by:
Submitted by:
Obtained from:
1994-10-25 15:10:27 +00:00
jkh
0b13b0b13d Add strtol() to libkern in support of some other work I'm doing.
I just know I'm going to get flamed for adding for the miserable
abortion that is libkern, but what am I supposed to do?  At least I
didn't drag in the ctype stuff! :-)
1994-10-25 14:57:57 +00:00
ljo
fff1957107 Added f77 program. This is a modified version of the c++ program.
All it does is add -lf2c and -lm.
1994-10-25 14:36:50 +00:00
bde
7766663139 Improve error detection and handling:
Reduce _JBLEN for the i386 to what is actually used.
	Encapsulate jmp_buf and sigjmp_buf in structs.
	Enlarge jmp_buf to the same size as sigjmp_buf.
	Declare *longjmp as non-returning.

Remove stale comments about sig*jmp not being implemented.
1994-10-25 14:11:35 +00:00
bde
4c2e71825c Reenable sigsetjmp.S. Preserve the FP state. Rearrange offsets
to match setjmp.S.
1994-10-25 14:08:13 +00:00
bde
ae73fa840b Nuke sigsetjmp.c. sigsetjmp() can't be implemented as a C function
that calls setjmp(), since returning from the function usually
clobbers the saved environment.
1994-10-25 14:04:32 +00:00
jkh
d25178b968 Add this from Mark Dapoz. It requires LaTeX to format it, but it's
sure a lot better than nothing.
Submitted by:	md
1994-10-25 13:47:17 +00:00
ljo
ffac1f6768 Added FORTRAN rule. 1994-10-25 13:36:02 +00:00
dg
d31e603a06 Changed some variable names in lf_addblock to make the code both
understandable and conform to other conventions used in the file.
1994-10-25 11:27:51 +00:00
dg
5eb8532563 Allow MAXMEM kernel option to indicate more memory than is detected; it
previously could only be used to limit the amount of memory.
1994-10-25 08:58:33 +00:00
swallace
b10a0127bf Patch to fix QIC-02/QIC-36 by Gene Stark.
From patch003 in CLEAR-1.1.5.1-PATCHES.
Submitted by:	Gene Stark
1994-10-25 08:57:39 +00:00
dg
5dc52e1f1e Restricted maximum bufpages to 1500; this is required for machines >64MB
of memory to work without running out of kernel VM (and increasing it to
even more than it is now (96MB) is out of the question. Changed bufpages
calculation to allocation a little less bufer cache (16% of mem-2MB instead
of 20%); this is simply a better figure for most systems.
1994-10-25 08:34:50 +00:00
dg
ce24706799 Moved swapon -a to before the fsck. It isn't possible to run fsck on
moderately sized filesystems on 4MB machines otherwise.
1994-10-25 08:23:02 +00:00
dg
44d8a340c6 Moved initialization of tmpstk so that it immediately follows the kernel
text. Fixed rounding bug that caused the last page of kernel text to be
read/write instead of read-only. This is important now that tmpstk can
crash into it. Removed +4 bias of tmpstk because it screws up ddb's
ability to traceback correctly.
1994-10-25 07:25:56 +00:00
dg
2837d58a98 Improved I/O error reporting. 1994-10-25 07:06:20 +00:00
dg
b882a12ed1 Changed NO_SHARED_LIBCC_INT to SHARED_LIBCC_INT and changed the logic
as appropriate. This makes gcc not built with a shared cc_int the
default.
1994-10-25 07:02:23 +00:00
dg
5461dd7c15 #if 0'd out the object cache trimming code - there are multiple ways
that the pageout daemon can deadlock otherwise.

Submitted by:	John Dyson
1994-10-25 05:35:44 +00:00
wollman
f77f6cd044 Added lsdev. 1994-10-24 22:22:44 +00:00
wollman
a20115b916 When -v not given, display longer state' and no parent'. 1994-10-24 22:21:51 +00:00
sos
61b5dc899b Added sea0 - Seagate driver lines to config 1994-10-24 22:18:12 +00:00
sos
09f917dfac Seagate st01/02 driver.
Obtained from:	FreeBSD-1.1.5.1
1994-10-24 22:14:34 +00:00
wollman
ba4bf1a042 Fixed cut&paste error.
Submitted by:	davidg
1994-10-24 21:36:38 +00:00
phk
7c68a5ca07 These patches fix some lesser problems:
1) malloc.h doesn't exits in 2.0.
2) Makefile.inc wasn't picked up so one of the build steps (install?)
failed.
3) LIBMD wasn't depended on.
4) "ctm foo" dumped core because "foo" doesn't have a '.' in it.

Bruce

I updated the mkCTM stuff while I was at it anyway.  /phk

Reviewed by:	phk
Submitted by:	bde
1994-10-24 20:09:39 +00:00
phk
506c948c7e A nice little PPP.doc file from:
Submitted by:	Gennady B. Sorokopud ( gena@NetVision.net.il )
1994-10-24 17:51:54 +00:00
sos
4e76de50e2 Added share/examples/ibcs2 directory 1994-10-24 10:00:00 +00:00
sos
88da9f00f0 added ibcs2 directory. 1994-10-24 09:56:42 +00:00
ache
debeeab73a Partially back out previous fix (in cases ':' and '!'),
leave case '.' as valid user name, not host reference.
Document new behaviour.
1994-10-24 05:42:34 +00:00
ache
f7e78facbb Use configurable dialog attributes instead of hard-coded ones 1994-10-24 05:16:00 +00:00
ache
35cb76f2c9 Make dialog attributes visible from outside (for direct usage
in pgms)
1994-10-24 05:09:45 +00:00
ache
0cadb3ec80 label.c: add delwin(window)
mbr.c: use proper dims for newwin, add shadow
both: add ' ' and ESC as valid end-keys
1994-10-24 04:14:23 +00:00
ache
03c5dcf251 Use proper dims for newwin.
Remove double-clear.
Add shadow.
1994-10-24 04:07:22 +00:00
ache
cb02d55905 Clear screen on exit per Paul request 1994-10-24 03:55:25 +00:00
ache
f6e61eb7fd Remove undocumented talk behaviour, when names like
aa.bb aa:bb and aa!bb treated as user+host and not as local user
names (especially aa.bb is common case).
Only @ is valid user/host separator according to manpage.
Pointed-by: doctor@dream.demos.su
1994-10-24 03:48:44 +00:00
paul
218f10ceca Remove a couple of display_disklabel call used
for debuging.
Reviewed by:
Submitted by:
Obtained from:
1994-10-24 03:33:29 +00:00
paul
5b1ca0db77 Round partitions to the next whole cylinder.
Fill in devicename and mountpoint structures from default_disklabel()
so stage2 code knows what to do.
New file label.c for disklabel editing code.
1994-10-24 03:30:56 +00:00
wollman
a9f28ccb91 Implement fs.nfs MIB variables. 1994-10-23 23:26:18 +00:00
wollman
d958f3e8e7 Use new NFS sysctl interface to get statistics rather than reading /dev/kmem,
unless the user specifies a dead kernel to operate on.
1994-10-23 23:25:43 +00:00