sam
ef62292833
FAST_IPSEC fixups:
...
o fix #ifdef typo
o must use "bounce functions" when dispatched from the protosw table
don't know how this stuff was missed in my testing; must've committed
the wrong bits
Pointy hat: sam
Submitted by: "Doug Ambrisko" <ambrisko@verniernetworks.com>
2002-11-08 23:37:50 +00:00
sam
6019e3c767
fixup FAST_IPSEC build w/o INET6
2002-11-08 23:33:59 +00:00
sam
f9821d8021
correct fast ipsec logic: compare destination ip address against the
...
contents of the SA, not the SP
Submitted by: "Doug Ambrisko" <ambrisko@verniernetworks.com>
2002-11-08 23:11:02 +00:00
sam
e23e06eb6f
correct minor # in make_dev call
...
Submitted by: Doug Ambrisko" <ambrisko@verniernetworks.com>
2002-11-08 23:07:41 +00:00
sam
01475299d2
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
jhb
66d9abef31
- 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
jhb
b8daeabf59
Print daddr_t's with %j and intmax_t.
2002-11-08 22:28:35 +00:00
jhb
686416bfa5
Fix some sizeof(int) != sizeof(void *) warnings.
2002-11-08 21:30:26 +00:00
jhb
6c4366c376
- 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
jhb
4481b3e997
Fix a sizeof(int) != sizeof(void *) warning.
2002-11-08 21:16:27 +00:00
jhb
5c9fa9d32a
Use intptr_t to fix various sizeof(int) != sizeof(void *) warnings.
2002-11-08 21:13:18 +00:00
jhb
eb9c5b7d92
- 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
jhb
f47ce099d4
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
jhb
7dbfeb6da1
Fix printf warnings with %j and uintmax_t.
2002-11-08 20:59:23 +00:00
jhb
40fae53b3b
Fix warnings when compiled with SIMOS defined.
2002-11-08 20:52:21 +00:00
rwatson
a563c04c4a
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
jhb
ba93b1c02a
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
jhb
ad9e680296
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
jhb
257ad7107b
Move rc(4) over to MI notes and enable it as a MI module.
2002-11-08 19:34:26 +00:00
rwatson
551263d9d4
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
jhb
32c37d4a13
Use critical_enter/exit instead of disable/enable_intr to make this
...
driver more portable.
2002-11-08 18:32:57 +00:00
jhb
b72917b520
- 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
pdeuskar
9918575c8a
- 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
rwatson
f3748b0c0b
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
rwatson
95c4afbed0
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
phk
38900b3ee3
Remove harmless but irritating printf.
2002-11-08 15:35:16 +00:00
phk
875ed4eea7
Always recalculate the SRM checksum if the label is at 64 bytes offset.
...
Tested by: jhb
2002-11-08 15:31:34 +00:00
jhb
1027780c50
- 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
jhb
8ff6cd442c
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
jhb
2c9bc07b31
Make xrpu(4) i386-only. Consumers of i386_btop() are not MI.
2002-11-08 15:05:16 +00:00
jhb
bf90740990
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
jhb
d102d4721a
Use %z to print a size_t value.
2002-11-08 14:58:35 +00:00
jhb
d39f72b79f
Use %z to print size_t values.
2002-11-08 14:57:18 +00:00
jhb
980dea1922
Cast a ptrdiff_t to an int to printf.
2002-11-08 14:52:26 +00:00
jhb
4d0d9edb13
Use %z to print a size_t value.
2002-11-08 14:50:44 +00:00
tmm
6b29f7e140
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
mr
10ff71fdf9
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
davidxu
8274c76b58
adjust critical section to only wrap around vm86_bioscall().
2002-11-08 03:07:52 +00:00
davidxu
9ca980d0e7
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
tmm
f740e3df9b
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
mux
aae3d5b8b6
Better printf() formats.
2002-11-07 23:16:22 +00:00
mux
800d38e3eb
Some more printf() format fixes.
2002-11-07 23:03:04 +00:00
jhb
1e5ba1ad0d
Add a cast to quiet a warning.
2002-11-07 22:49:15 +00:00
mux
afab015685
Correctly print vm_offset_t types.
2002-11-07 22:49:07 +00:00
alfred
815055f65a
Properly parenthesize the DBREG_DRX macro's variables to allow for
...
DBREG_DRX(&dbregs, n) usage.
2002-11-07 22:42:31 +00:00
jhb
602ba7d5eb
- 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
jhb
47dd2d4a6b
Use %z to quiet a warning.
2002-11-07 22:38:04 +00:00
jhb
27637bef6c
Cast a pointer to a uintptr_t to quiet a warning.
2002-11-07 22:35:45 +00:00
jhb
1ca1a3af68
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
jhb
6a62fdc1c9
- 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