Commit Graph

44230 Commits

Author SHA1 Message Date
peter
5ba368763d Connect up the bootforth glue and compile it, but don't initialize it
at runtime as it has a nasty habit of crashing on the Alpha :-(.
This is being done this way so we have a common starting point for
debugging.
1999-12-27 09:20:33 +00:00
mjacob
a44dfedc17 Add in missing ENABLE TARGET MODE opcode. 1999-12-27 08:47:11 +00:00
peter
104b9c93df Tidy up some loose ends. nullfs_read/write were returning the wrong value.
Fix some ctype problems - isascii() caused a warning if fed an unsigned
char - it's always > 0 and libstand is compiled with -Wall.
Missing prototype/include in printf.c
1999-12-27 08:45:14 +00:00
peter
60b77918b7 Make this compile with -Wall -Werror 1999-12-27 08:40:40 +00:00
julian
f54f122bda Reset the Zoom 56K modem when starting to use it.
Failing to do so freezes your system.

Submitted by:Sean O'Connell <sean@stat.Duke.EDU>  (my hero)
1999-12-27 08:39:29 +00:00
peter
66e4a64503 kvm_mkdb(8) no longer exists (in .Xr) and kvm_nlist(8) has even less to do
with dev_mkdb(8) than it did before.
1999-12-27 08:01:11 +00:00
peter
2c27703dbc Include opt_nfs.h
PR:		15711
Submitted by:	Wilko Bulte <wilko@yedi.iaf.nl>
1999-12-27 07:51:05 +00:00
peter
063619f610 Remove kvm_mkdb as it isn't installed anymore. libkvm asks directly
via kldsym(2), and crash dumps use nlist directly (and always have).
1999-12-27 07:43:07 +00:00
peter
c8781c49a6 Zap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes direct
to the in-kernel hashed symbol tables (including modules).
1999-12-27 07:27:50 +00:00
peter
337ba73fc9 Zap the kvm_kernel.db juggling at 'make install' time, it isn't needed
any more.
1999-12-27 07:19:45 +00:00
peter
6037498f72 Zap kvm_kernel.db stuff now that libkvm gets it directly from the running
kernel.
1999-12-27 07:17:51 +00:00
peter
300be24243 Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling
and is module aware.  Yes, this means that kvm_nlist(3) will find symbols
in loaded modules.  The emulation of the nlist struct is pretty crude but
seems to work well enough for all the users in the tree that I found.
1999-12-27 07:14:58 +00:00
green
34597fd33d Correct an uninitialized variable use, which, unlike most times, is
actually a bug this time.

Submitted by:	bde
Reviewed by:	bde
1999-12-27 06:31:53 +00:00
peter
0a8338b1ba Recognize the GVC0505 (GVC 56k Faxmodem) as a sio device.
Obtained from: Dan J Fraser <dfraser@capybara.org> (for NetBSD)
1999-12-27 05:02:25 +00:00
jdp
5cc87d66a8 Add a new function dllockinit() for registering thread locking
functions to be used by the dynamic linker.  This can be called by
threads packages at start-up time.  I will add the call to libc_r
soon.

Also add a default locking method that is used up until dllockinit()
is called.  The default method works by blocking SIGVTALRM, SIGPROF,
and SIGALRM in critical sections.  It is based on the observation
that most user-space threads packages implement thread preemption
with one of these signals (usually SIGVTALRM).

The dynamic linker has never been reentrant, but it became less
reentrant in revision 1.34 of "src/libexec/rtld-elf/rtld.c".
Starting with that revision, multiple threads each doing lazy
binding could interfere with each other.  The usual symptom was
that a symbol was falsely reported as undefined at start-up time.
It was rare but not unseen.  This commit fixes it.
1999-12-27 04:44:04 +00:00
tanimura
758fa3717a Add support of SB for PC98 into VoxWare 3.5, and more $FreeBSD$.
Submitted by:		T.Yamaoka <taka@windows.squares.net>
Pressed to review by:	nyan
1999-12-27 04:37:19 +00:00
bde
b622dfb9b5 Fixed stripping of aout debugging kernels.
Fixed some style bugs (always use precisely 1 space after `:' in
dependency specifications).
Removed bogus dependency of ${FULLKERNEL} on ${BEFORE_DEPEND}.
1999-12-26 17:07:15 +00:00
bde
1cac61211f Fixed spelling error in document title.
Fixed syntax error in synopsis.
1999-12-26 16:58:31 +00:00
eivind
db2f03fbcc Fix tab completion mounts (like /cdrom/)
Submitted by:	Martin Blapp <mb@imp.ch>
1999-12-26 16:34:53 +00:00
bde
8a771b1e25 Don't include <isa/isavar.h> or compile code depending on it when isa
is not configured.  Including <isa/isavar.h> when it is not used is
harmful as well as bogus, since it includes "isa_if.h" which is not
generated when isa is not configured.
1999-12-26 16:21:19 +00:00
bde
ceacc2b896 Moved $FreeBSD$ to its usual place after the CSRG id.
Fixed some style bugs for cam (superflous umask and missing newline).

Fixed bogons for apm.  The pattern "apm*" matched too many things; apm
and apmctl were both made twice by `MAKEDEV all'.  Hopefully no one
depends on `MAKEDEV apm0' making apm or on `MAKEDEV apm' making apmctl.
1999-12-26 15:24:58 +00:00
peter
488e42d39f Update the cvs pserver example so that it gives some more obvious clues
about the --allow-root switch.

PR:		14463
1999-12-26 15:18:58 +00:00
bde
8fc8109209 Updated a comment to match code. 1999-12-26 14:16:00 +00:00
bde
be25048161 Removed unused includes.
Rumoved unused compatibility cruft for dup().  Using it today would just
break dup() on fd's >= 64.

Fixed some style bugs.
1999-12-26 14:07:43 +00:00
bde
b8c45253cf Use vfs_timestamp() instead of getnanotime() to set timestamps. This
fixee incoherency of pipe timestamps relative to file timestamps in
the usual case where getnanotime() is not used for the latter.  (File
and pipe timestamps are still incoherent relative to real time unless
the vfs_timestamp_precision sysctl is set to 2 or 3).
1999-12-26 13:04:52 +00:00
bde
302480a356 Replaced the INTRMASK and INTRUNMASK macros by "|" and "&~" operations.
Some interface botches went away, leaving the macros unused outside of
the implementation of interrupt masking, and it was silly for the
implementation to use the macros in only one place each.
1999-12-26 12:43:47 +00:00
bde
ca0b14cc42 Fixed breakage of read-only opening of /dev/*mem at securelevel > 0 in
previous pair of commits.

Spell the "securelevel > 0" check consistently.

Use the proc arg instead of curproc in mmopen() and mmclose().
1999-12-26 11:44:45 +00:00
peter
9dffd030ca Fix a mistake in the PNP EISA-encoding of the Avance ALS120 id.
Submitted by:	Bryan Liesner <bleez@netaxs.com>
1999-12-26 10:51:47 +00:00
bde
bc5738264e Removed ex script left over from incomplete backout in previous commit.
Use SYMLINKS instead of an ad hoc rule for installing words -> web2.
Don't override the install target; doing so just breaks things like
SYMLINKS.

Don't override the correct defaults for the all, clean, depend, lint
and tags targets.  Don't add a null rule to the cleandepend target.
1999-12-26 10:31:29 +00:00
kato
ad9baa8af4 Oops, deactivate ed drivers because of undefiend references from
if_ed_pci.o.
1999-12-26 05:26:43 +00:00
kato
bf893169ab Added Allied Telesis SIU-98-D support.
Submitted by:	Isizu Takaaki <isizu-t01@aso-group.co.jp>
		chi@bd.mbn.or.jp (Chiharu Shibata)
		(w/ minor change by kato)
1999-12-26 05:10:14 +00:00
hoek
a670d5d484 A missing verb to a sentence from last commit. 1999-12-26 04:41:29 +00:00
kato
ecd674ca69 - Cut down amount of memory in 64MB when BIOS tells the amount of
memory >= 64MB.
- Don't perform destructive memory inspection for 15 - 16MB system
  area.

Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
		chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-26 04:22:27 +00:00
hoek
6b3aa182ad For some reason the HOME key wasn't documented. Document it. Expand
the docs on a couple other keys.  While I'm here, document another ~3 bugs
that have been around for all eternity in the hope that I'll someday bother
to fix them.
1999-12-26 04:17:27 +00:00
hoek
54912c4559 Allow excessive backspacing to correctly abort an input (most significantly
a search string input).
1999-12-26 03:03:04 +00:00
hoek
9ab32b6b7f Expand source comments a little -=> increased readability. 1999-12-26 02:39:26 +00:00
kris
a60fdeef2a This commit was generated by cvs2svn to compensate for changes in r55099,
which included commits to RCS files with non-trunk default branches.
1999-12-25 16:37:36 +00:00
kris
e829abb179 Initial import of OpenSSL v0.9.4 1999-12-25 16:37:36 +00:00
bde
04000b4b4d Fixed races accessing the RTC. The races apparently caused
apm_default_resume() to sometimes set a very wrong time.
(1) Accesses to the RTC index and data registers were not atomic enough.
    Interrupts were not masked.  This was only good enough until an
    interrupt handler (rtcintr()) started accessing the RTC in FreeBSD-2.0.
(2) Access to the block of time registers in inittodr() was not atomic
    enough.  inittodr() has 244us to read the time registers.  Interrupts
    were not masked.  This was only good enough until something (apm)
    started calling inittodr() after boot time in FreeBSD-2.0.
The fix for (2) also makes the timecounter update more atomic, although
this is currently unimportant due to the low resolution of the RTC.

Problem reported by:	mckay
1999-12-25 15:30:31 +00:00
kris
2018a8c5a7 Add directories: preparation for OpenSSL import. 1999-12-25 14:12:09 +00:00
jkh
7289e9ecee Sacrifice, for now, NFS and NETGRAPH on the alpha boot floppy
so that we can get it back onto 1.44MB boot media again.  This
does not affect the i386 class build.
1999-12-25 07:22:10 +00:00
billf
54832bf339 Backout rev1.7, as it broke adventure(6) (const'ing a non-r/o variable).
As wpaul notes, I was trying to fix something that wasn't broke.
1999-12-25 03:50:42 +00:00
msmith
8d2d762b9c Fix the firmware build number output (again). 1999-12-25 01:45:22 +00:00
dfr
835cce6c24 Don't pass u_int32_t pointers to BUS_READ_IVAR since it tends to make
alphas panic.
1999-12-24 16:22:45 +00:00
dfr
bcbd7e189f * Set the devclass of a device before calling the probe method. This allows
device_printf() etc. to print something intelligible.
* Allow device_set_devclass(dev, 0) for clearing the devclass.
1999-12-24 16:21:15 +00:00
bde
1b6b2b4e51 Fixed a cast of a pointer to an integer of a possibly different size.
Fixed casts of non-`void *' pointers to uintptr_t.  Fixed related
style bugs.  This file uses perfectly non-KNF formatting for casts.
1999-12-24 15:33:36 +00:00
green
0a6becacad Since we build and install gasp(1) in /usr/libexec/${OBJFORMAT}/,
and it is a user-run utility, it should be in objformat, so gasp
is in the ${PATH} :)
1999-12-24 15:18:19 +00:00
bde
81c93d2aa2 Removed unnecessary const poisoning (redundant casting) which was added
in rev.1.4.
1999-12-24 15:16:10 +00:00
kato
edc4869863 Merge from sys/i386/conf/files.i386 rev 1.293. 1999-12-24 11:20:14 +00:00
kato
a5356d182b Merge from sys/i386/conf/GENERIC rev 1.218 & 1.219. 1999-12-24 11:12:43 +00:00