summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Finish the removal of the bst/bsh confusion.imp2003-10-191-10/+10
|
* Remove debug printf().mux2003-10-191-1/+0
|
* Implement partially /proc/<pid>/maps.cognet2003-10-191-5/+96
| | | | | | It looks enough to make SImics run. Reviewed by: des
* MFi386: revision 1.577.nyan2003-10-192-18/+34
|
* Fix LINT build by correcting a missed change.bms2003-10-191-1/+1
|
* Disable irqs before entering the power-off state. This is not knownnjl2003-10-191-0/+1
| | | | | to fix any problems but is similar to how Linux implements this function.
* Tidy up loose ends in the idle process. Call the MI cpu_idle() functionpeter2003-10-191-37/+5
| | | | | | | | for all platforms now. XXX alpha/sparc64/powerpc should fill in the function. Submitted by: bde
* Add a stub cpu_idle() function for sparc64, alpha, powerpc. This is apeter2003-10-194-0/+24
| | | | MI declared function so it should be everywhere.
* Use npxdrop in cpu_thread_exit to save some cycles.davidxu2003-10-191-1/+3
| | | | | Clear FPU pcb flags for new upcall thread, these flags needn't be inherited, the new thread should start from clean FPU status.
* Don't confuse tags and handles.imp2003-10-191-2/+2
|
* - Synchronize access to a vm page's valid field using the containingalc2003-10-191-43/+45
| | | | | vm object's lock. - Reduce the scope of the vm page queues lock in two places.
* Add the cpu_idle_hook() function pointer so that other idlers can benjl2003-10-184-20/+46
| | | | | hooked at runtime. Make C1 sleep (e.g., HLT) be the default. This prepares the way for further ACPI sleep states.
* - Synchronize access to the page's valid field inalc2003-10-181-1/+2
| | | | vnode_pager_generic_getpages() using the containing object's lock.
* - Increase the object lock's scope in vm_contig_launder() so that accessalc2003-10-184-17/+18
| | | | | | | | | to the object's type field and the call to vm_pageout_flush() are synchronized. - The above change allows for the eliminaton of the last parameter to vm_pageout_flush(). - Synchronize access to the page's valid field in vm_pageout_flush() using the containing object's lock.
* Fix a typo. The module has the EISA front-end commented out, therefore thebms2003-10-181-1/+1
| | | | | | | error may not have been picked up right away. Reviewed by: mdodd Submitted by: Stuart Walsh
* Initialize b_iooffset before calling VOP_[SPEC]STRATEGYphk2003-10-181-0/+3
|
* Initialize b_iooffset before calling strategyphk2003-10-182-0/+2
|
* Corrections to revision 1.305alc2003-10-181-22/+36
| | | | | | | | - Specifying VM_MAP_WIRE_HOLESOK should not assume that the start address is the beginning of the map. Instead, move to the first entry after the start address. - The implementation of VM_MAP_WIRE_HOLESOK was incomplete. This caused the failure of mlockall(2) in some circumstances.
* Retire b_pblkno which was an alias for a bio field which is forphk2003-10-181-1/+0
| | | | device drivers only.
* Don't report b_pblkno, it is going away.phk2003-10-181-2/+2
|
* Do not initialize bp->b_pblkno, it is going away.phk2003-10-181-1/+0
|
* Retire bio_blkno entirely.phk2003-10-183-3/+1
| | | | | | bio_offset is the field drivers should use. bio_pblkno remains as a convenient place to store the number of the device drivers.
* Eliminate use bio_blkno.phk2003-10-184-72/+38
|
* rtfree() must be called in lock context.ume2003-10-181-0/+1
| | | | Reported by: jhay
* Discontinue bio_blkno usage.phk2003-10-182-6/+1
|
* Discontinue bio_blkno, use bio_offset instead.phk2003-10-183-40/+12
|
* Eliminate reporting of bio_blkno.phk2003-10-181-2/+2
|
* Report bio_pblkbo instead of bio_blkno.phk2003-10-181-3/+3
|
* Use bio_offset instead of bio_blknophk2003-10-183-11/+10
|
* No need to initialize bio_pblkno from bio_blkno, disksort uses bio_offset.phk2003-10-181-1/+0
|
* Make bioq_disksort() sort on the bio_offset field instead of bio_pblkno.phk2003-10-182-10/+10
|
* Transition to using bus_space macros rather than the inb/outb/etc.imp2003-10-185-126/+142
| | | | | | | | | | | | Use EP_{READ,WRITE}{,_MULTI}_{1,2,4} instead. I've had several people submit patches like this over the years of varying qualities, markm being the last. The names were chosen in consulation with mdodd on irc. I've tested this with only PCMCIA cards: 3CCE589EC and 3CCSH572BT. I've not tried with my more extensive ISA, EISA and cbus collection. Reviewed by: mdodd
* DuH!phk2003-10-1820-22/+24
| | | | | bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in the file)
* I think rwatson got the sign wrong here...phk2003-10-181-2/+2
|
* Don't initialize unused bio_blkno field.phk2003-10-181-1/+0
|
* Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()phk2003-10-183-0/+3
|
* Initialize bp->b_offset before calling VOP_STRATEGY().phk2003-10-182-8/+1
| | | | Remove KASSERTS and panics with B_PHYS checks which no longer apply.
* Initialize bp->b_offset before calling VOP_STRATEGY()phk2003-10-181-0/+2
|
* Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY().phk2003-10-182-1/+3
| | | | Remove stale comment about B_PHYS.
* Initialize b_offset before calling VOP_SPECSTRATEGY()phk2003-10-182-0/+2
|
* Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()phk2003-10-186-0/+6
|
* Initialize b_offset before calling VOP_STRATEGY/VOP_SPECSTRATEGY.phk2003-10-186-3/+3
| | | | | Remove various comments of KASSERTS and comments about B_PHYS which does not apply anymore.
* Initialize bp->b_offset and remove comment about B_PHYS.phk2003-10-181-2/+3
|
* There is no need to muck about with the B_PHYS flag here. We never evenphk2003-10-181-8/+0
| | | | get close to DEV_STRATEGY() which is the only place it is relevant.
* We do not get B_PHYS buffers here anymore. /dev/drum is long gone.phk2003-10-181-24/+2
|
* Convert some if(bla) panic("foo") to KASSERTS to improve grep-ability.phk2003-10-183-8/+4
|
* Mark as __unused some arguments that are, erm, unused.markm2003-10-181-2/+5
|
* The size and contents of the DEV_STRATEGY() macro has progressed tophk2003-10-184-36/+21
| | | | | | | | | | | | | | | | the point where it being a macro is no longer sensible, and it will only be more so in days to come. BIO_STRATEGY() is now only used from DEV_STRATEGY() and should not be used directly anymore. Put the contents of both in the new function dev_strategy() and make DEV_STRATEGY() call that function. In addition, this allows us to make the rather magic bufdonebio() helper function static. This alse saves hunderedandsome bytes of code in a typical kernel.
* Rearrange the deck-chairs while we wait for scottl to GEOMify RF.phk2003-10-181-1/+1
|
* Add SBP-II target mode driver.simokawa2003-10-184-0/+1568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Though this is still incomplete and has some missing features such as exclusive login and event notification, it may be enough for someone who wants to play with it. This driver is supposed to work with firewire(4), targ(4) of CAM(4) and scsi_target(8) which can be found in /usr/share/example/scsi_target. This driver doesn't require sbp(4) which implements initiator mode. Sample configuration: Kernel: (you can use modules as well) device firewire device scbus device targ device sbp_targ After reboot: # mdconfig -a -t malloc -s 10m md0 # scsi_target 0:0:0 /dev/md0 (Assuming sbp_targ0 on scbus0) You should find the 10MB HDD on FreeBSD/MacOS X/WinXP or whatever connected to the target using FireWire. Manpage is not finished yet.
OpenPOWER on IntegriCloud