Commit Graph

44216 Commits

Author SHA1 Message Date
Kris Kennaway
f595284587 Initial import of OpenSSL v0.9.4 1999-12-25 16:37:36 +00:00
Bruce Evans
0f19e631e2 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 Kennaway
2dc3a03235 Add directories: preparation for OpenSSL import. 1999-12-25 14:12:09 +00:00
Jordan K. Hubbard
5dee218bc4 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
Bill Fumerola
0aa40784a0 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
Mike Smith
b9256fe34e Fix the firmware build number output (again). 1999-12-25 01:45:22 +00:00
Doug Rabson
7e864cbf08 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
Doug Rabson
54ac5b9b76 * 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
Bruce Evans
586453fee2 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
Brian Feldman
9e5900ee43 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
Bruce Evans
64c6ef6e8f Removed unnecessary const poisoning (redundant casting) which was added
in rev.1.4.
1999-12-24 15:16:10 +00:00
KATO Takenori
cbdf33fa5d Merge from sys/i386/conf/files.i386 rev 1.293. 1999-12-24 11:20:14 +00:00
KATO Takenori
a612687a3a Merge from sys/i386/conf/GENERIC rev 1.218 & 1.219. 1999-12-24 11:12:43 +00:00
KATO Takenori
ece6ef6a7b Removed -mno-486 from CFLAGS. 1999-12-24 11:09:40 +00:00
Sheldon Hearn
58db7ebe9b Mandate the inclusion of <ieeefp.h> instead of <floatingpoint.h>. The
latter is just wrong.

There were many other problems spotted by bde, none of which are
addressed here.

Reviewed by:	bde
1999-12-24 08:43:19 +00:00
Andrey A. Chernov
d595a9292e Link la_LN*4 too 1999-12-24 08:10:48 +00:00
Andrey A. Chernov
907ddf9c39 Fix cut&paste error 1999-12-24 08:05:20 +00:00
Mike Smith
1a5bb1b602 Cosmetic fix; get the firmware build code and customisation tag the
right way around.

Submitted by:	"Chris D. Faulhaber" <jedgar@fxp.org>
1999-12-24 07:04:23 +00:00
Andrey A. Chernov
86103e7efc Add iso04 fonts
Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 06:30:43 +00:00
Andrey A. Chernov
fd7f33ad86 Add Lithuanian keyboard
Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 06:15:32 +00:00
Andrey A. Chernov
0e483924e4 Add lt_LT
Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 05:58:07 +00:00
Andrey A. Chernov
656f43ab9a Add 8859-4 and lt_LT
Add missing dependance to cs_CZ

Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 05:47:10 +00:00
Andrey A. Chernov
a81c99add8 Add 8859-4 and lt_LT
Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 05:30:52 +00:00
Andrey A. Chernov
4a1cdbb167 Add 8859-4 and lt_LT entries 1999-12-24 05:27:04 +00:00
Andrey A. Chernov
70ccaafac0 Oops, fix typo in prev. commit 1999-12-24 05:01:14 +00:00
Andrey A. Chernov
15227b7d04 Add Latin2 FreeBSD consoles
Minor correction of comments

Submitted by:	Latin2 console from Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1999-12-24 04:55:06 +00:00
Andrey A. Chernov
942c101cfa Add ACS support to 8859-2 fonts
Remove stale 8859-2 font
Fix Russian INDEX entries
Add more languages to FONT fields

Submitted by:	fonts from Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1999-12-24 04:35:33 +00:00
Andrey A. Chernov
fb46350574 Use 'i' for ACS lantern (as ncurses expect it) 1999-12-24 03:54:41 +00:00
Greg Lehey
587357da14 New man page. This will need modifications RSN. 1999-12-24 00:16:03 +00:00
Jason Evans
ec9d5fa5f8 Creating weak symbols doesn't work correctly when building an aout libc.
Doing the "right thing" here is difficult, so create two ENTRY points for
each function (for example, __setjmp and setjmp are equivalent).  This
isn't pretty, but it works for both aout and ELF.

libc symbol naming needs an overhaul in order to properly support function
wrapping, specifically in the case of a real libpthread, and these
duplicate entry points should be fixed as part of that overhaul.

Pointed out by:	bde
1999-12-24 00:03:00 +00:00
Marcel Moolenaar
a9d61af021 Update config rules for making {linux|svr4}_assym.h
Assembler symbols are now made using genassym(1).
1999-12-23 21:52:17 +00:00
Brian Somers
e62ce959d0 Don't bother fork()ing after closing a ctty if ppp is about to
terminate anyway.
1999-12-23 21:43:25 +00:00
Brian Somers
1bbd8362c7 Understand double-quotes anywhere on a command line in the same
way that a shell does.  The previous way ppp did it just didn't
make any sense.
1999-12-23 21:43:12 +00:00
Brian Somers
90e7fb01df Correct warning about unindented commands when the unindented command
is actually a new label with a comment at the end of the line.
1999-12-23 21:43:00 +00:00
Marcel Moolenaar
7ce77f279b Use genassym(1) and <sys/assym.h> to generate assembler symbols. 1999-12-23 21:19:32 +00:00
Marcel Moolenaar
00d6d49adc Use genassym(1) and <sys/assym.h> to generate assembler symbols. 1999-12-23 19:59:47 +00:00
Marcel Moolenaar
a6b91b497b o Define `offsetof' when not already defined,
o  Define ASSYM(sym, v) as the primary macro to use,
o  Define ASSYM_SELF and ASSYM_OFFSET in terms of ASSYM,

Psychological manipulation by: bde <grin>
1999-12-23 19:58:09 +00:00
Marcel Moolenaar
7377751f18 Don't build caesar as a tool. fortune(6) doesn't depend on it
anymore. Update comments and variable names as well to wipe out any
traces that may confuse people in the future.
1999-12-23 19:18:28 +00:00
Marcel Moolenaar
2c93646ca1 Use tr(1) instead of caesar(6) to perform the rotation. This removes
the dependency on caesar which therefore doesn't need to be built by
bootstrap-tools.

Suggested by: des
Previously mentioned by: Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-12-23 19:09:59 +00:00
Bill Paul
9d378ed009 Fix problem reported by Matt Dillon. Occasionally, very small received
frames would be handled incorrectly due to bad usage of m_pullup() in
the case where the frame wraps from the end of the receive buffer back
the beginning.

Also, when manually extending small packets to pad them to the minimum
frame length during transmission, zero out the pad area to make some
really paranoid people happy.
1999-12-23 19:05:58 +00:00
Sheldon Hearn
7dfb2a9760 Fix zero-padding for printf formats which include a precision or
width.

This is a vendor-supplied patch.

Requested by:	bde
Submitted by:	Aharon Robbins <arnold@skeeve.com>
1999-12-23 18:24:31 +00:00
Bruce Evans
58f9831e32 Removed vestiges of BAD144 support. 1999-12-23 17:52:00 +00:00
Bruce Evans
aae2ba6305 Removed vestiges of BAD144 support.
Removed -mno-486 from CFLAGS since it is no longer supported by gcc.
1999-12-23 17:48:52 +00:00
Bruce Evans
c1ab0cfd47 Fixed bitrot in synopsis. The prototype for panic() was moved to
<sys/param.h>, but the #includes weren't adjusted here.
1999-12-23 17:42:10 +00:00
Bruce Evans
31f698b8ca Fixed wrong function types (the device_add_child() family returns a
device_t, not an int).
1999-12-23 17:39:45 +00:00
Bruce Evans
9961a6adff Removed unused include of <sys/buf.h> from synopsis. This include is
needed to access the internals of buffers but not necessarily to use
the VOP.  <sys/buf.h> recently grew a bogus dependency on <sys/systm.h>
for the declaration of spl*, and I prefer to fix the synopsis breakage
by removing a wart instead of adding one.
1999-12-23 17:35:48 +00:00
Bruce Evans
6ee16659ac Fixed bitrot in synopsis. The prototype for VOP_ISLOCKED() changed
recently, except of course in the documentation.  Other parts of this
man page are several years out of date.
1999-12-23 17:28:46 +00:00
Bruce Evans
f644d0654b Fixed missing #includes in synopsis. 1999-12-23 17:24:40 +00:00
Bruce Evans
5770fb1361 Fixed bitrot in synopsis. Important interface changes hadn't reached here. 1999-12-23 17:22:58 +00:00
Bruce Evans
bd00dbfafc "Fixed" assorted bitrot. remove_dev() was renamed to destroy_dev().
VOP_ABORTOP() went away.  at_shutdown() was replaced by undocumented
event handling.  Rename remove_dev() here too, and remove the dead
and dead wrong man pages.
1999-12-23 17:16:32 +00:00