summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* When prot is VM_PROT_NONE, call pmap_page_protect() directly rather thanalc2002-11-107-22/+22
| | | | | | | | | indirectly through vm_page_protect(). The one remaining page flag that is updated by vm_page_protect() is already being updated by our various pmap implementations. Note: A later commit will similarly change the VM_PROT_READ case and eliminate vm_page_protect().
* Replace {disable,enable}_intr() with critical_{enter,exit}().mdodd2002-11-102-6/+6
|
* Fix an error case in vm_map_wire(): unwiring of an entry during cleanupalc2002-11-091-2/+2
| | | | | | after a user wire error fails when the entry is already system wired. Reported by: tegge
* Add a new loader tunable, hw.hasbrokenint12, to indicate that BIOSiwasaki2002-11-092-92/+156
| | | | | | | | | | has broken int 12H. If hw.hasbrokenint12="1" in loader environment, kernel never use BIOS INT 12 call to determine base memory size. Otherwise, kernel use INT 12 in old behaviour. This should fix kernel panic problem caused by 1.544 changes. MFC after: 1 day
* Fix an unparenthasized macro argument. md5s differ but this is likelyalfred2002-11-091-1/+1
| | | | to order of operations that are actually fixed by the proper parenthasizing.
* Print real / avail memory in megabytes rather than kilobytes.des2002-11-098-30/+32
|
* Fix instances of macros with improperly parenthasized arguments.alfred2002-11-0918-93/+95
| | | | Verified by: md5
* In vm_page_remove(), avoid calling vm_page_splay() if the object's memqalc2002-11-091-10/+13
| | | | is empty.
* temporarily disallow FAST_IPSEC and INET6 to avoid potential panics;sam2002-11-081-0/+3
| | | | will correct this before 5.0 release
* FAST_IPSEC fixups:sam2002-11-083-5/+42
| | | | | | | | | | | 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>
* fixup FAST_IPSEC build w/o INET6sam2002-11-082-2/+8
|
* correct fast ipsec logic: compare destination ip address against thesam2002-11-081-1/+1
| | | | | | contents of the SA, not the SP Submitted by: "Doug Ambrisko" <ambrisko@verniernetworks.com>
* correct minor # in make_dev callsam2002-11-081-1/+1
| | | | Submitted by: Doug Ambrisko" <ambrisko@verniernetworks.com>
* change load order so module is present before crypto driverssam2002-11-081-1/+1
| | | | Submitted by: Doug Ambrisko" <ambrisko@verniernetworks.com>
* - Move netsmb entries over to MI files. netsmb appears to be MI code.jhb2002-11-083-21/+11
| | | | - Add 'nowerror' to pci/simos.c to help LINT builds.
* Print daddr_t's with %j and intmax_t.jhb2002-11-081-4/+5
|
* Fix some sizeof(int) != sizeof(void *) warnings.jhb2002-11-082-4/+4
|
* - Change mb_copy_t to take a size_t as the length argument instead of anjhb2002-11-083-4/+4
| | | | | | | 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.
* Fix a sizeof(int) != sizeof(void *) warning.jhb2002-11-081-1/+1
|
* Use intptr_t to fix various sizeof(int) != sizeof(void *) warnings.jhb2002-11-084-12/+12
|
* - Move opt_fb.h earlier so it covers included headers.jhb2002-11-081-6/+5
| | | | | | - 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.
* Move include of opt_fb.h earlier so that FB_INSTALL_CDEV is defined injhb2002-11-081-2/+2
| | | | included headers.
* Fix printf warnings with %j and uintmax_t.jhb2002-11-081-2/+3
|
* Fix warnings when compiled with SIMOS defined.jhb2002-11-081-4/+14
|
* Assign value of NULL to imgp->execlabel when imgp is initializedrwatson2002-11-081-0/+1
| | | | | | | | 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
* Cast pointers in mem*_io() compat macros to uintptr_t so that they can bejhb2002-11-081-5/+5
| | | | used as bus handles by the bus_space functions implementing these macros.
* Make 3dfx i386-only. The memrange API it uses may be defined in an MIjhb2002-11-083-15/+15
| | | | header, but it is only implemented on i386.
* Move rc(4) over to MI notes and enable it as a MI module.jhb2002-11-083-6/+6
|
* To reduce per-return overhead of userret(), call intorwatson2002-11-082-4/+8
| | | | | | | | | | | | | | | 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
* Use critical_enter/exit instead of disable/enable_intr to make thisjhb2002-11-081-18/+18
| | | | driver more portable.
* - Change the ATM stack functions to use intptr_t instead of int for opaquejhb2002-11-0833-206/+209
| | | | | | | arguments. - Fix a few other places that assumed that sizeof(int) == sizeof(void *). Reviewed by: mdodd
* - Set RS (Report Status) bit on all descriptors of a packet instead of just ↵pdeuskar2002-11-086-515/+763
| | | | | | | | | | | 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
* Update MAC modules for changes in arguments for exec MAC policyrwatson2002-11-087-14/+68
| | | | | | | | entry points to include an explicit execlabel. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Add an explicit execlabel argument to exec-related MAC policy entryrwatson2002-11-0811-33/+44
| | | | | | | | | 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
* Remove harmless but irritating printf.phk2002-11-081-2/+0
|
* Always recalculate the SRM checksum if the label is at 64 bytes offset.phk2002-11-081-3/+13
| | | | Tested by: jhb
* - Update the SIMOS fp-stealing code to KSE-II and beyond.jhb2002-11-081-5/+9
| | | | - Wrap a variable only used in !SIMOS case in #ifndef SIMOS.
* Remove #ifdef DEBUG signal debugging code brought over from NetBSD with thejhb2002-11-081-32/+0
| | | | | original signal handling code. It doesn't compile and it seems the rest of the infrastructure was never brought over from NetBSD.
* Make xrpu(4) i386-only. Consumers of i386_btop() are not MI.jhb2002-11-082-3/+2
|
* Wrap a device_printf() that violates bus space abstractions to figure outjhb2002-11-081-0/+2
| | | | | if it's IO port resource is IO or memory mapped for the sake of a printf using i386-specific values in #ifdef __i386__.
* Use %z to print a size_t value.jhb2002-11-082-2/+2
|
* Use %z to print size_t values.jhb2002-11-081-3/+3
|
* Cast a ptrdiff_t to an int to printf.jhb2002-11-081-1/+1
|
* Use %z to print a size_t value.jhb2002-11-081-1/+1
|
* Remove physmem from here, too, as it is defined in vm_init.c sincetmm2002-11-081-1/+0
| | | | | | r1.35 (forgotten in my last commit due to a botched patch). Pointy hat to: tmm
* Reviewed by: n_hibmamr2002-11-081-8/+16
| | | | | | MFC after: 2 weeks fix XPT_CALC_GEOMETRY to fill in some reasonable values. Inspired by aic/sbp.
* adjust critical section to only wrap around vm86_bioscall().davidxu2002-11-081-2/+2
|
* use critical_enter/exit to add a critical section around BIOS call,davidxu2002-11-081-5/+9
| | | | | | this unbreaks WITNESS. Pointed out by: jhb
* Move the definitions of the hw.physmem, hw.usermem and hw.availpagestmm2002-11-0710-228/+28
| | | | | | | | | | | 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.
* Better printf() formats.mux2002-11-071-8/+7
|
OpenPOWER on IntegriCloud