Commit Graph

2482 Commits

Author SHA1 Message Date
bde
63eff9d9b8 New flag -u to suppress functions whose name does not begin with an
underscore.  Use it to avoid seeing badsw when profiling the kernel.

Print times more accurately (e.g. usec in %8.0f format instead of
msec in %8.2f format for averages) if hz >= 10000.  This should have
no effect now since profhz is only 1024.
1994-09-05 16:14:54 +00:00
bde
889bf31f37 Fix comments. 1994-09-05 14:09:41 +00:00
bde
7421f5c2c7 Build database at build time instead of at install time. 1994-09-05 14:07:37 +00:00
bde
6e409adfcf 386bsd -> kernel in strings. 1994-09-05 14:04:56 +00:00
bde
2e15dccfd7 u_long -> unsigned long so that we don't depend on namespace pollution
in <stdio.h>.
1994-09-05 14:02:42 +00:00
bde
21853fcc8f Define __GNUC__ as 2 same as cc -E would do. 1994-09-05 13:58:58 +00:00
bde
691be49b3a Fix punctuation. 1994-09-05 13:54:02 +00:00
bde
2933861562 Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.
Modernize bcopy -> memcpy.
1994-09-05 13:41:33 +00:00
bde
ed0e48f6c0 Fix printing of weird errno's: negative values were printed as large
unsigned's; null termination was only guaranteed for the first call.

Fix lint: don't declare externs internally; they were both out of date.
1994-09-05 13:37:43 +00:00
bde
5a325be3b5 u_int -> unsigned int, so that we don't have to include <sys/types.h>
or depend on <stdio.h> bogusly including it.
1994-09-05 13:26:40 +00:00
bde
7bf271146a Remove chess from subdirs. It doesn't exist.
Add a missing right parentheses to an expression.
1994-09-05 13:12:01 +00:00
bde
ebb7b36c3a Explicitly include <sys/types.h> before including <regex.h>. This is
apparently required by POSIX.  It will be required in practice when
the bogus inclusion of <sys/types.h> is removed from <stdio.h>.
1994-09-05 13:03:50 +00:00
bde
b0926342c5 Restore mk to subdirs. It hasn't been broken seen the 1.1.5 mk files
were committed a couple of revisions ago.
1994-09-05 12:52:58 +00:00
dg
b47ee85a34 DOn't allow I/O register access in process 1 (oops). 1994-09-05 05:20:29 +00:00
gpalmer
e0ddbd275a Change references of 'mount_isofs' to 'mount_cd9660' as needed by FBSD 2.0 1994-09-05 05:14:01 +00:00
ats
ac18751c2b Reviewed by:
Submitted by:
Delete the old style generation of the whatis database and replace it
with the call to makewhatis. Don't install the old makewhatis.sed script
under /usr/share/man any longer.
1994-09-04 23:19:12 +00:00
dg
8747eb313f Improved some comments. 1994-09-04 23:10:27 +00:00
ats
911bec5ce2 Reviewed by:
Submitted by:
Get the man page installed. Does anyone know the reason for the name
xinstall instead of install for this directory ? Would life more
easy to get this whole thing under install.
1994-09-04 22:35:27 +00:00
pst
915907cc03 Detect if we're running on a Cyrix 486DLC and enable automatic cache
negation whenever we access memory between 640k and 1M.

Original code from NetBSD 1.0-BETA.  The exact origins are unclear but
Theo de Raadt, Charles, and Michael V. may have contributed to it.

Submitted by:	pst
1994-09-04 19:59:24 +00:00
ats
461bab45ed Reviewed by:
Submitted by:
Add back the baud rates above 19200, as we have them already under 1.1.x.
1994-09-04 16:52:12 +00:00
dg
0b6f9dbfcb Rewrote last vestige of code that used gs (copyinstr). The use of gs in
this routine caused problems for machines that don't set it up properly
before boot (such was the case on an EVEREX machine sitting next to me).
1994-09-04 10:24:22 +00:00
dg
4f4f361dff Added pmap_mapdev() function to map device memory. 1994-09-04 04:11:57 +00:00
jkh
e077351fdc This commit was generated by cvs2svn to compensate for changes in r2490,
which included commits to RCS files with non-trunk default branches.
1994-09-04 04:03:31 +00:00
jkh
057afceb86 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00
jkh
d8a265c292 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00
jkh
a00ca54117 Add crunch and manctl, bring back xntpd.
Submitted by:	jkh
1994-09-04 03:32:45 +00:00
jkh
b7c7a70ea8 Add an X11BASE variable that currently points to /usr/X386 but will
be easy to change to /usr/X11R6 if and when the time comes.  This is
to deal with things like xditview which otherwise had hardcoded assumptions
about where X lived.  Yuck.
Submitted by:	jkh
1994-09-04 02:52:27 +00:00
jkh
395545fbc5 Make mddriver static.
Submitted by:	jkh
1994-09-04 02:40:31 +00:00
dg
a155a99a15 Initialize eflags register - brought over from 1.1.5. 1994-09-04 00:33:00 +00:00
csgr
a56c0e9d5c Shell script containing the steps followed in importing file(1).
Reviewed by:	Geoff.
Submitted by:	Rod Grimes.
1994-09-03 23:08:40 +00:00
csgr
7b6e72a847 Make it possible to run lptcontrol on a printer port which does not
actually have a printer connected or online:
- MAKEDEV:		remove all signs of lpa
			add lpctl? devices (minor # = unit + 128)
- usr.sbin/Makefile	add lptcontrol
- sys/i386/isa/lpt.c	implement the LP_BYPASS flag: when a unit is
			opened with this flag set, the printer is
			not primed, and no check is made to see that
			the printer is online.  This can only be used
			to pass ioctls.  (giving us /dev/lpctl?)
- lptcontrol.c		use /dev/lpctl? (LP_BYPASS)
			-f flag removed, -u flag added
- lptcontrol.8		document changes in lptcontrol
			rewrite using mandoc macros
Submitted by:	Geoff.
1994-09-03 22:47:08 +00:00
jkh
010d228ad6 Eradicate my #1 (ok, maybe #2) peeve by making config now blow away
and recreate any previous ../../compile/<blah> directory before laying
down new files.  The depends just aren't smart enough to save
us from the grief that config's old behavior has always caused.
Submitted by:	jkh
1994-09-03 21:23:36 +00:00
csgr
3a7fc439ea Changes to file(1) for FreeBSD:
- Makefile: bmake the sucker
- file.1, magic.5: replace __MAGIC__ and __SECTION__
- add Magdir/freebsd
- add file to usr.bin/Makefile

A note on the FreeBSD magic entry:
The magic number "000000407" is reported as "impure format".  This
stops file(1) telling us that our object files are "PDP-11 executables".
(Saying anything more than "impure format" would probably be bogus.
Submitted by:	Geoff.
1994-09-03 19:31:29 +00:00
csgr
c6fa37d4dd This commit was generated by cvs2svn to compensate for changes in r2479,
which included commits to RCS files with non-trunk default branches.
1994-09-03 19:16:28 +00:00
csgr
8d1a4c7e86 Bring in file 3.14 by Ian Darwin (and Christos Zoulas)
The following files were moved to different names:
- file.man -> file.1
- magic.man -> magic.5

The following file was removed:
- Magdir/Makefile
1994-09-03 19:16:28 +00:00
ats
75e0beaff3 Reviewed by:
Submitted by:
Update the if_ep driver for the 3C579 and bring over some of the
changes from the netbsd driver.
This is not complete: the detection of the irq in the eisa does not
work and sometimes the reset for the 3C509 in ISA in an EISA bus system
don't work ( Need a hard reset to be found again == reset knob).
1994-09-03 18:10:44 +00:00
ache
5f18a711b2 Newly implemented ioctls list:
DIOCGDINFO, DIOCGPART, DIOCWDINFO, DIOCSDINFO, CDIOCPLAYMSF, CDIOCRESET,
CDIOCEJECT.

CDIOCPLAYBLOCKS removed (old implementation completely wrong and I don't
know how to implement it correctly).

All routines now detects media change correctly.

DELAY_GETREPLAY increased for long time access from first track
to last.

mcd_waitrdy() now use MIN_DELAY=15 as minimal delay which independs
of machine speed.

mcd_doread() now uses real status (old code uses obsoleted soft copy of it).

clear XBSY on error in mcd_doread()

mcd_statrt(): add missing splx(s), cause dead hang with unmatched slpbio()

optimize mcd_doread(), don't set CD mode each time, keep soft copy of mode.

call getdisklabel() _after_ mcdsize() for proper sizes

mcdopen(): old code forget to set MCDREADRAW in flags when open RAW
partition, doread check it for setting RAW CD mode.

Do nothing on stray interrupt (which sometimes occurse, because driver
read data block too slow, DOS driver use 'insb' here). Old stray code
cause timeouts.

Read toc entries code rewritten to return many requested entries
(as supposed) instead of one entry with incorrect structure.

CMDREAD2 requests covered with disable_intr()/enable_intr()
(from DOS driver)

Read junk code added after read block code in doread (from DOS driver)

mcd_read_toc() code fixed to read all needed entries, old code cause
some audio tracks is not played.

mcd_playtracks() code fixed to proper check valid track range.

New binary read modes implemented (from DOS driver).
1994-09-03 16:48:13 +00:00
csgr
570c3ecb10 make id_iobase an int - the change to a u_short broke lpt,
which uses port? (which results in id_iobase == -1)
Submitted by:	Geoff.
1994-09-03 16:03:09 +00:00
ache
b0e049ac40 Example of locale setup corrected 1994-09-03 14:03:10 +00:00
ache
f67d56fe10 Add and properly install locales 1994-09-03 14:00:40 +00:00
adam
e4aa951d50 fixed typos
Reviewed by:
Submitted by:
1994-09-03 13:20:05 +00:00
csgr
c5e778caa3 This commit was generated by cvs2svn to compensate for changes in r2470,
which included commits to RCS files with non-trunk default branches.
1994-09-03 13:10:09 +00:00
csgr
2388a15981 Bring in lptcontrol from 1.1.5.1
Submitted by:	Geoff
1994-09-03 13:10:09 +00:00
csgr
32502c48aa - Bring in -x option changes from 1.x
- eval -> err_val : slightly more meaningful (eval is what you do in Linda ;-))
Submitted by:	Geoff.
1994-09-03 12:58:05 +00:00
paul
2e1d38a646 Taken update rule out of world target so it doesn't try and sup and
update every time you build world if you've enabled it.

Merged all the gnu library targets into one. libg++ isn't in the
gnu/lib/Makefile anyway so it's still disabled.

Enabled building of lex library -- this was stopping make world working.

Submitted by:	Paul Richards
1994-09-03 02:38:28 +00:00
ats
399e5eca6e Reviewed by:
Submitted by:
Put the printf("can't map 3c507 ram.. into an ifdef DEBUG. This will
confuse only normal users and the ie0 found/not found is sufficient.
1994-09-02 23:23:57 +00:00
ats
b3e2310c79 Reviewed by:
Submitted by:
1) if_ie.c:
	Changed a printf and put a space in it. Formerly the "<3C507>"
	confused the syslog. He tried to see that as the priority to
	log that message.

2) isa_device.h:
	Changed the iobase variable from short to u_short. EISA
	Adresses can go up to 0xf000 and the sign extension doesn't
	look good in the probe output. Example:
	ep1 at 0xffff8000-0xffff8000f is not good :-), i like more a
	ep1 at 0x8000-0x8000f.

3) isa.c:
	Changed a string constant from "probe" to "prob", it gets
	later already an "ed" tagged on the end.
1994-09-02 22:13:34 +00:00
bde
874994c7cd Disable one of my extensions (function profiler epilogues) that
we're not ready for yet.  gcc and all profiled libraries will need
to be recompiled.  I suspect that the dependencies aren't complete
enough to do this automatically.
1994-09-02 20:39:41 +00:00
bde
ca993f1b37 Restore some explicit dependencies for locore.s so that "make clean; make"
works even if .depend doesn't exist.
1994-09-02 20:24:15 +00:00
paul
0e5fbeeb07 Added entry for if_lnc.c, soon to be added new Lancef amily ethernet
driver.
Reviewed by:
Submitted by:
1994-09-02 15:49:48 +00:00