Tim J. Robbins
5f147b57ac
Add an unlocked version of ungetwc(), __ungetwc(), that __vfwscanf()
...
will need to use.
2002-09-22 05:59:00 +00:00
Jake Burkholder
e3b6e33c07
Moved netisr code from kern/kern_intr.c to net/netisr.c as threatened in a
...
comment.
2002-09-22 05:56:41 +00:00
David E. O'Brien
0e7fe4f6c0
There is need to have a special BINUTIL_ARCH when we can use our more
...
common place TARGET_ARCH.
2002-09-22 05:29:37 +00:00
Mike Silbersack
f8f4148236
Remove all DELAY(1) calls around MII operations in the XL driver.
...
According to the MII specification, the delay produced by our
reads alone are sufficient for correct operation.
This reduces the time mii_tick takes from 10ms to ~1ms here. That's
still a lot, but much better than before.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 3 weeks
2002-09-22 04:48:30 +00:00
Peter Wemm
eb1443c8dd
Create inlines for ltr(sel), lldt(sel), lidt(addr) rather than
...
functions that have one instruction.
2002-09-22 04:45:21 +00:00
Alan Cox
e94ce82689
o Update some comments.
2002-09-22 04:33:43 +00:00
Mike Silbersack
c1c36a2c68
Fix issue where shutdown(socket, SHUT_RD) was effectively
...
ignored for TCP sockets.
NetBSD PR: 18185
Submitted by: Sean Boudreau <seanb@qnx.com>
MFC after: 3 days
2002-09-22 02:54:07 +00:00
Greg Lehey
8c6bc30900
Update equinoxes and solstices.
...
PR: bin/43166
2002-09-22 01:53:18 +00:00
Jake Burkholder
04474d7f0b
Remove unneeded opt headers.
...
Noticed by: benno
2002-09-22 01:34:33 +00:00
Matthew N. Dodd
e58de9c6bc
- Move the init of %gs and pcb_gs before user_ldt_free().
...
- Always call load_gs()
- Trim comments.
This addresses some of the issues raised by BDE.
2002-09-22 01:32:48 +00:00
Benno Rice
be0e6bfc0b
It's Apple GMAC, not HMAC.
...
Approved by: jake (for sparc64)
2002-09-22 01:18:06 +00:00
Jake Burkholder
abc370fa85
Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.c
...
so that it is MI. Allow nfs_mountroot to return an error if the nfs_diskless
struct is not valid, rather than panicing later on. Call nfs_setup_diskless()
from nfs_mountroot if NFS_ROOT is defined, like bootpc_init(). Removed legacy
root mount support for sparc64, and enabled NFS_ROOT by default.
2002-09-22 00:59:02 +00:00
Jonathan Mini
dcf0aad852
Style cleanup:
...
- Sort local variable declarations.
- Protect a hand-formatted comment from indent(1).
- Use portable casts, even though this is machine-dependant code.
- Remove extraneous blank lines.
- Remove trailing newline.
- Use sigdelset(3), not SIGDELSET(9).
Requested by: bde
2002-09-21 23:54:32 +00:00
Bruce Evans
ad6c348105
Whitespace fixes (mainly for many more messes in the definitions of the
...
rfork() constants).
2002-09-21 22:57:52 +00:00
Jake Burkholder
05ba50f522
Use the fields in the sysentvec and in the vm map header in place of the
...
constants VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS, USRSTACK and PS_STRINGS.
This is mainly so that they can be variable even for the native abi, based
on different machine types. Get stack protections from the sysentvec too.
This makes it trivial to map the stack non-executable for certain abis, on
machines that support it.
2002-09-21 22:07:17 +00:00
Bruce Evans
a4c8a68c86
Whitespace cleanup (half for fixing missing whitespace before `__restrict'
...
again).
Removed the second pair of banal comments about `quot' and `rem'.
2002-09-21 22:05:37 +00:00
Mark Murray
a0a95acece
Remove #ifdef'ed Giant mutex wrappers round debugging statements.
2002-09-21 21:44:19 +00:00
Nicolas Souchu
44e6ce01b9
Cleanup of amdpm(4).
...
Add of NVIDIA nForce (nfpm) smbus support.
Obtained from: Thomas D. Dean <tomdean@speakeasy.org>
2002-09-21 21:43:49 +00:00
Mark Murray
b0186e2c5c
No functional change. Fix comments and whitespace.
2002-09-21 21:40:02 +00:00
Bruce Evans
5f9a7cb392
Whitespace fixes (mainly for a space instead of a tab after #define).
2002-09-21 21:28:25 +00:00
Robert Watson
7678df4487
Remove another missed trailing space.
2002-09-21 19:50:28 +00:00
Alan Cox
60b09ad43c
o Remove an initialized but unused variable from pmap_remove_all().
2002-09-21 19:42:11 +00:00
Robert Watson
5784b0a22d
Trim trailing whitespace from the ends of lines.
2002-09-21 19:26:59 +00:00
Robert Watson
13763f5074
Continue cleanup and sync of mac_biba and mac_mls policies to the
...
TrustedBSD MAC Perforce tree. Remove unused functions
mac_biba_equal_range and mac_mls_equal_range, which determined if the
ranges in two range-enabled labels were equal.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-09-21 19:20:01 +00:00
Mark Murray
0a7d7bdc02
Wrap GNUish asm() code in #ifdef __GNUC__
2002-09-21 19:12:59 +00:00
Mark Murray
181cb2165a
Use a function instead of a non-portable, GCC-specific asm() entry.
2002-09-21 19:03:42 +00:00
Mark Murray
e40ab3e98e
A good dose of style.9. No functional change.
2002-09-21 19:02:17 +00:00
Robert Watson
164634351b
Remove mac_biba_high_single() check for interface renaming: we now
...
use the notion that a subject range of (low-high) connotes Biba
privilege rather than a single of high.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-09-21 19:01:44 +00:00
Mark Murray
38a4de7905
Code tidy-up. ISOfy, turn a macro into an inline for lint(1) (perhaps
...
this needs to go to cpufunc.h?), de-register.
2002-09-21 18:53:58 +00:00
Mark Murray
bebe1b92bd
Use a function instead of embedding non-portable asm() constructs
...
in C code.
2002-09-21 18:51:19 +00:00
Mark Murray
39ae7d0dc4
Sort includes.
2002-09-21 18:30:12 +00:00
Robert Watson
728fbeea52
As INVARIANTS isn't supported for code that loads only as a kernel
...
module and is not linked into the base system, two KASSERT's rotted.
Fix them by fixing variable names. It would be really nice if
opt_global.h was used when building modules as part of a buildkernel.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-09-21 18:29:37 +00:00
Mark Murray
d7ee442578
Provide in inline function for the (GNUC) assembler "hlt" instruction.
2002-09-21 18:26:53 +00:00
Mark Murray
c7c7312f2c
Wrap GCC-specific asm() code in #ifdef __GNUC__
2002-09-21 18:19:51 +00:00
Maxime Henrion
f30120c393
Don't include opt_bus.h here, it breaks stuff trying to
...
include machine/bus.h.
Reviewed by: tmm
2002-09-21 18:12:00 +00:00
Mark Murray
bda9921d3f
Constify to kill some warnings.
2002-09-21 17:29:36 +00:00
Mark Murray
963b82c64c
Everywhere else, an argument passed to a device containing flags
...
is called "flags". Make it so here.
2002-09-21 17:28:17 +00:00
Jens Schweikhardt
6563eb85ee
s/seems to thing/seems to think
...
X-MFC after: 4.7 is out the door
2002-09-21 16:13:20 +00:00
Hidetoshi Shimokawa
bddcb995cd
Firewire can be built on other than i386 after sbp.c fix.
...
Tested on: Alpha (beast.freebsd.org)
2002-09-21 15:22:09 +00:00
Hidetoshi Shimokawa
ba68cdd304
don't include bus_dma.h which doesn't need.
2002-09-21 15:05:22 +00:00
Hidetoshi Shimokawa
b24db4ddd9
remove unused code.
2002-09-21 14:48:07 +00:00
Tim J. Robbins
0e2e10070d
Delete stray reference to vsnprintf().
2002-09-21 14:25:58 +00:00
Tim J. Robbins
c5604d0a50
Add implementations of the wprintf() family of functions, which perform
...
formatted wide-character output.
2002-09-21 13:00:30 +00:00
Mark Murray
a5dd613ce6
Rename the ftp log filename for compatability with OpenBSD and NetBSD.
...
Requested by: ru
2002-09-21 12:07:35 +00:00
Tim J. Robbins
7ca9f09d6e
Restrict visibility of wcslcat() and wcslcpy() to the __BSD_VISIBLE case.
2002-09-21 08:55:16 +00:00
Poul-Henning Kamp
668b05c376
Remove empty #if*/#endif clauses.
2002-09-21 08:44:51 +00:00
Masafumi Max NAKANE
925850905b
Fix typo.
2002-09-21 08:32:07 +00:00
Poul-Henning Kamp
e48fb743d8
Remove #ifdef/#endif 3 years after the stuff they protected was removed.
...
Spotted by: peter.
2002-09-21 08:00:01 +00:00
Poul-Henning Kamp
bc8c3c3e37
Fix a 3 year old oversight: Remove the #ifdef/#endif pair now that there
...
is nothing between them anymore.
Spotted by: peter.
2002-09-21 07:59:06 +00:00
Alan Cox
8aadcc5368
Reduce namespace pollution.
...
Submitted by: bde
2002-09-21 07:51:44 +00:00