bde
b68c18d69f
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
afa829033b
Add directories: preparation for OpenSSL import.
1999-12-25 14:12:09 +00:00
jkh
6628432cee
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
7b5e44afcc
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
6a880e898b
Fix the firmware build number output (again).
1999-12-25 01:45:22 +00:00
dfr
af317b8045
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
c0ba4bf65f
* 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
d8ee3ca193
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
28208a284b
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
e6f832ef05
Removed unnecessary const poisoning (redundant casting) which was added
...
in rev.1.4.
1999-12-24 15:16:10 +00:00
kato
0e510da6bf
Merge from sys/i386/conf/files.i386 rev 1.293.
1999-12-24 11:20:14 +00:00
kato
67534f1dc5
Merge from sys/i386/conf/GENERIC rev 1.218 & 1.219.
1999-12-24 11:12:43 +00:00
kato
3575f36c29
Removed -mno-486 from CFLAGS.
1999-12-24 11:09:40 +00:00
sheldonh
dd11088a42
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
ache
22695f187e
Link la_LN*4 too
1999-12-24 08:10:48 +00:00
ache
01a566d9f9
Fix cut&paste error
1999-12-24 08:05:20 +00:00
msmith
8818debe3e
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
ache
5c02fe91ff
Add iso04 fonts
...
Submitted by: Ricardas Cepas <rch@writeme.com>
1999-12-24 06:30:43 +00:00
ache
61a4d01f93
Add Lithuanian keyboard
...
Submitted by: Ricardas Cepas <rch@writeme.com>
1999-12-24 06:15:32 +00:00
ache
68671e63dd
Add lt_LT
...
Submitted by: Ricardas Cepas <rch@writeme.com>
1999-12-24 05:58:07 +00:00
ache
dab015857a
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
ache
de28c9072e
Add 8859-4 and lt_LT
...
Submitted by: Ricardas Cepas <rch@writeme.com>
1999-12-24 05:30:52 +00:00
ache
4c18fc5944
Add 8859-4 and lt_LT entries
1999-12-24 05:27:04 +00:00
ache
7b06bf4dcb
Oops, fix typo in prev. commit
1999-12-24 05:01:14 +00:00
ache
f955718d55
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
ache
2a21f6cc3f
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
ache
fd47f5f283
Use 'i' for ACS lantern (as ncurses expect it)
1999-12-24 03:54:41 +00:00
grog
b278fee89f
New man page. This will need modifications RSN.
1999-12-24 00:16:03 +00:00
jasone
15ffad75ec
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
83381f85df
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
0c62acb307
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
da8bf273f7
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
d191496da2
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
882af3f7d6
Use genassym(1) and <sys/assym.h> to generate assembler symbols.
1999-12-23 21:19:32 +00:00
marcel
95103d1312
Use genassym(1) and <sys/assym.h> to generate assembler symbols.
1999-12-23 19:59:47 +00:00
marcel
ed6a1fb0ef
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
4448e3bd05
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
9319f70c59
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
wpaul
c517a960f8
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
sheldonh
3bc63b4b30
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
bde
68e129ddaa
Removed vestiges of BAD144 support.
1999-12-23 17:52:00 +00:00
bde
89cb597052
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
bde
bd797bef33
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
bde
c7f1fcb7e2
Fixed wrong function types (the device_add_child() family returns a
...
device_t, not an int).
1999-12-23 17:39:45 +00:00
bde
6e69b44b9d
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
bde
b0dfc986d0
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
bde
3433c755de
Fixed missing #includes in synopsis.
1999-12-23 17:24:40 +00:00
bde
49e08120f6
Fixed bitrot in synopsis. Important interface changes hadn't reached here.
1999-12-23 17:22:58 +00:00
bde
5eb92e1444
"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
bde
07a5e27474
Fixed missing declarations of futimes(2) and lutimes(2).
1999-12-23 17:00:03 +00:00