Sam Leffler
5a7294d14e
change load order so module is present before crypto drivers
...
Submitted by: Doug Ambrisko" <ambrisko@verniernetworks.com>
2002-11-08 23:07:03 +00:00
John Baldwin
69e58e12c3
- Move netsmb entries over to MI files. netsmb appears to be MI code.
...
- Add 'nowerror' to pci/simos.c to help LINT builds.
2002-11-08 22:33:14 +00:00
John Baldwin
6db27285f5
Print daddr_t's with %j and intmax_t.
2002-11-08 22:28:35 +00:00
John Baldwin
4ed3ce72b0
Fix some sizeof(int) != sizeof(void *) warnings.
2002-11-08 21:30:26 +00:00
John Baldwin
985cce5132
- Change mb_copy_t to take a size_t as the length argument instead of an
...
int.
- Change the local variable in smb_copy_iconv() from an int to a size_t.
These make smb_copy_iconv() happy in a 64-bit world.
2002-11-08 21:26:32 +00:00
John Baldwin
2274e4f83a
Fix a sizeof(int) != sizeof(void *) warning.
2002-11-08 21:16:27 +00:00
John Baldwin
8214d60e20
Use intptr_t to fix various sizeof(int) != sizeof(void *) warnings.
2002-11-08 21:13:18 +00:00
John Baldwin
e068a87835
- Move opt_fb.h earlier so it covers included headers.
...
- Update cdevsw. Block majors are out, kqfilters are in.
- No need to bzero softc's that we get from new-bus. They come that way to
begin with.
2002-11-08 21:10:53 +00:00
John Baldwin
7b3ac8969c
Move include of opt_fb.h earlier so that FB_INSTALL_CDEV is defined in
...
included headers.
2002-11-08 21:04:44 +00:00
John Baldwin
3f57c87ebf
Fix printf warnings with %j and uintmax_t.
2002-11-08 20:59:23 +00:00
John Baldwin
6f23bec893
Fix warnings when compiled with SIMOS defined.
2002-11-08 20:52:21 +00:00
Robert Watson
6d7bdc8def
Assign value of NULL to imgp->execlabel when imgp is initialized
...
in the ELF code. Missed in earlier merge from the MAC tree.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-11-08 20:49:50 +00:00
John Baldwin
845ee63965
Cast pointers in mem*_io() compat macros to uintptr_t so that they can be
...
used as bus handles by the bus_space functions implementing these macros.
2002-11-08 20:49:43 +00:00
John Baldwin
f6af4ff6cb
Make 3dfx i386-only. The memrange API it uses may be defined in an MI
...
header, but it is only implemented on i386.
2002-11-08 20:04:38 +00:00
John Baldwin
787f149830
Move rc(4) over to MI notes and enable it as a MI module.
2002-11-08 19:34:26 +00:00
Robert Watson
52378b8acd
To reduce per-return overhead of userret(), call into
...
mac_thread_userret() only if PS_MACPEND is set in the process AST mask.
This avoids the cost of the entry point in the common case, but
requires policies interested in the userret event to set the flag
(protected by the scheduler lock) if they do want the event. Since
all the policies that we're working with which use mac_thread_userret()
use the entry point only selectively to perform operations deferred
for locking reasons, this maintains the desired semantics.
Approved by: re
Requested by: bde
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-11-08 19:00:17 +00:00
John Baldwin
108a50d232
Use critical_enter/exit instead of disable/enable_intr to make this
...
driver more portable.
2002-11-08 18:32:57 +00:00
John Baldwin
672cc99ed3
- Change the ATM stack functions to use intptr_t instead of int for opaque
...
arguments.
- Fix a few other places that assumed that sizeof(int) == sizeof(void *).
Reviewed by: mdodd
2002-11-08 18:27:30 +00:00
Prafulla Deuskar
1d966d27b1
- Set RS (Report Status) bit on all descriptors of a packet instead of just the last one.
...
- Set RDTR to zero by default instead of 28.
- Fixed a problem with TX hangs with jumbo frames when number of fragments in the mbuf chain
is large.
- Added support for 82540EP based cards.
MFC after: 3 days
2002-11-08 18:14:17 +00:00
Robert Watson
ef5def596d
Update MAC modules for changes in arguments for exec MAC policy
...
entry points to include an explicit execlabel.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-11-08 18:04:36 +00:00
Robert Watson
9fa3506ecd
Add an explicit execlabel argument to exec-related MAC policy entry
...
points, rather than relying on policies to grub around in the
image activator instance structure.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-11-08 18:04:00 +00:00
Poul-Henning Kamp
11af41920e
Remove harmless but irritating printf.
2002-11-08 15:35:16 +00:00
Poul-Henning Kamp
749cefac1b
Always recalculate the SRM checksum if the label is at 64 bytes offset.
...
Tested by: jhb
2002-11-08 15:31:34 +00:00
John Baldwin
9f12a6a606
- Update the SIMOS fp-stealing code to KSE-II and beyond.
...
- Wrap a variable only used in !SIMOS case in #ifndef SIMOS.
2002-11-08 15:24:32 +00:00
John Baldwin
5b5361f32c
Remove #ifdef DEBUG signal debugging code brought over from NetBSD with the
...
original signal handling code. It doesn't compile and it seems the rest of
the infrastructure was never brought over from NetBSD.
2002-11-08 15:16:38 +00:00
John Baldwin
2d2f7b6292
Make xrpu(4) i386-only. Consumers of i386_btop() are not MI.
2002-11-08 15:05:16 +00:00
John Baldwin
ca5028328a
Wrap a device_printf() that violates bus space abstractions to figure out
...
if it's IO port resource is IO or memory mapped for the sake of a printf
using i386-specific values in #ifdef __i386__.
2002-11-08 15:01:02 +00:00
John Baldwin
f47789c828
Use %z to print a size_t value.
2002-11-08 14:58:35 +00:00
John Baldwin
70d0dcad85
Use %z to print size_t values.
2002-11-08 14:57:18 +00:00
John Baldwin
2d4e26522d
Cast a ptrdiff_t to an int to printf.
2002-11-08 14:52:26 +00:00
John Baldwin
a2a6abd546
Use %z to print a size_t value.
2002-11-08 14:50:44 +00:00
Thomas Moestl
f7f33d6984
Remove physmem from here, too, as it is defined in vm_init.c since
...
r1.35 (forgotten in my last commit due to a botched patch).
Pointy hat to: tmm
2002-11-08 11:10:50 +00:00
Michael Reifenberger
ad59e7ecbd
Reviewed by: n_hibma
...
MFC after: 2 weeks
fix XPT_CALC_GEOMETRY to fill in some reasonable values.
Inspired by aic/sbp.
2002-11-08 07:57:42 +00:00
David Xu
4e0a2def06
adjust critical section to only wrap around vm86_bioscall().
2002-11-08 03:07:52 +00:00
David Xu
b3925aab09
use critical_enter/exit to add a critical section around BIOS call,
...
this unbreaks WITNESS.
Pointed out by: jhb
2002-11-08 01:09:16 +00:00
Thomas Moestl
0fca57b8b8
Move the definitions of the hw.physmem, hw.usermem and hw.availpages
...
sysctls to MI code; this reduces code duplication and makes all of them
available on sparc64, and the latter two on powerpc.
The semantics by the i386 and pc98 hw.availpages is slightly changed:
previously, holes between ranges of available pages would be included,
while they are excluded now. The new behaviour should be more correct
and brings i386 in line with the other architectures.
Move physmem to vm/vm_init.c, where this variable is used in MI code.
2002-11-07 23:57:17 +00:00
Maxime Henrion
bf1001fa0f
Better printf() formats.
2002-11-07 23:16:22 +00:00
Maxime Henrion
e47cd172e0
Some more printf() format fixes.
2002-11-07 23:03:04 +00:00
John Baldwin
a92833983a
Add a cast to quiet a warning.
2002-11-07 22:49:15 +00:00
Maxime Henrion
cd034a5be9
Correctly print vm_offset_t types.
2002-11-07 22:49:07 +00:00
Alfred Perlstein
4ef42f2b0f
Properly parenthesize the DBREG_DRX macro's variables to allow for
...
DBREG_DRX(&dbregs, n) usage.
2002-11-07 22:42:31 +00:00
John Baldwin
6274bdda4c
- Use %j to print intmax_t values.
...
- Cast more daddr_t values to intmax_t when printing to quiet warnings.
2002-11-07 22:41:08 +00:00
John Baldwin
d0e938f4f1
Use %z to quiet a warning.
2002-11-07 22:38:04 +00:00
John Baldwin
95c2dc84e5
Cast a pointer to a uintptr_t to quiet a warning.
2002-11-07 22:35:45 +00:00
John Baldwin
1c4df6ecd5
Third argument to copyinstr() is a pointer to a size_t, not a pointer to a
...
u_int.
2002-11-07 22:33:28 +00:00
John Baldwin
f544691671
- Use %p to print pointers instead of casting pointers to an int and using
...
0x%x.
- Add a cast to quiet a warning.
2002-11-07 22:25:13 +00:00
John Baldwin
482a5259ac
Use [u]intmax_t and %j instead of long long and %ll to better fix warnings
...
I fixed earlier.
Requested by: mux, jake
2002-11-07 22:23:46 +00:00
John Baldwin
7399a5ddd0
Make 'rclk' a uintptr_t to quiet warnings.
2002-11-07 22:22:10 +00:00
John Baldwin
d0ffe397df
Use %z and %j to quiet warnings.
2002-11-07 22:21:38 +00:00
John Baldwin
2fc606e29c
Cast a pointer to a uintptr_t instead of a u_int.
2002-11-07 22:21:10 +00:00