summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2002-02-12Fix all users of getsock to use FREF/FRELE properly.Artur Grabowski
2002-02-12support 712's programmable power switch, no interrupt yetMichael Shalayeff
2002-02-12small repairs to hpmc and toc handlersMichael Shalayeff
2002-02-12Much to my annoyance, teach zskbd how to bark.Jason Wright
2002-02-12leftover form dekvtop (which did the block maps too)Michael Shalayeff
2002-02-11more cloned devicesMichael Shalayeff
2002-02-11irqs porperMichael Shalayeff
2002-02-11remove lpa support (used for kvtop), copy a piece of pcxl fault handler into ↵Michael Shalayeff
the dirty handler to avoid excessive branching
2002-02-11kvtop no moreMichael Shalayeff
2002-02-11extend the hackery to not use kvtopMichael Shalayeff
2002-02-11fpu_curpcb has pa in it, use accordingly, do not use kvtopMichael Shalayeff
2002-02-11do not use kvtopMichael Shalayeff
2002-02-11o add __weak_alias definition.Federico G. Schwindt
o empty definitions if !__GNUC__ miod@ testing and ok.
2002-02-11only change _STRING for weak_alias; sorry miod.Federico G. Schwindt
2002-02-11o add __weak_alias definition.Federico G. Schwindt
o _STRING -> __STRING o empty definitions if !__GNUC__ miod@ testing and ok.
2002-02-11disable fpu on csw, print fpu version on cpu line, if presentMichael Shalayeff
2002-02-11Merge pmap_bootstrap060() with pmap_bootstrap().Miod Vallat
Thanks to deraadt@ for testing on mvme177.
2002-02-11Remove unused function prototype, from Jason IshDaniel Hartmeier
2002-02-11Remove ancient comment regarding memcmp(), from Jason IshDaniel Hartmeier
2002-02-11oops. forgot to commit this.Artur Grabowski
2002-02-11Big fixup of fd passing. It now works, even on sparc64.Artur Grabowski
Some parts from NetBSD, but with big modifications.
2002-02-11In {send,recv}msg allow zero sized message. We can have control data.Artur Grabowski
2002-02-111<<39 is horribleTheo de Raadt
2002-02-10no; GPL_MATH_EMULATE is not "required"; nj.lee@plumtree.co.nzTheo de Raadt
2002-02-10spellingTheo de Raadt
2002-02-10theo doesn't like this codeNathan Binkert
2002-02-10sys/ioctl_compat.h is needed for COMPAT_LINUX, tooMarco S Hyman
2002-02-10Match the VT8366_ISA (chip VT8233) south bridge as ATA100Chris Cappuccio
2002-02-09spelling, brige->bridgeEric Jackson
2002-02-09these functions are no longer neededEric Jackson
2002-02-09Protect the whole sys_fnctl with one big FREF/FRELE pair.Artur Grabowski
2002-02-08com freq is 7372800, which "normal" * 4 and is discovered byMichael Shalayeff
Enrik Berkhan <Enrik.Berkhan@planb.de> .
2002-02-08regenMichael Shalayeff
2002-02-08a couple more hp prodsMichael Shalayeff
2002-02-08A mosquito escaped, sorry.Miod Vallat
2002-02-08Teach some magic to the kernel so that it can decode serial console settings.Miod Vallat
mickey@ said "commitski".
2002-02-08Require a FREFd file in dofilewrite{,v}.Artur Grabowski
2002-02-08require a FREFd fp in dofilereadv. Fix some comments.Artur Grabowski
2002-02-08Opps. unbreak.Artur Grabowski
2002-02-08Better tx interrupt handling; don't call bestart() from betint() unlessJason Wright
we're OACTIVE and cleared at least one slot
2002-02-08since we're checking, avoid an unnecessary writeJason Wright
2002-02-08simplify sys_pread a bit.Artur Grabowski
2002-02-08Better IFF_OACTIVE handling; don't bother calling qestart() unlessJason Wright
we were IFF_OACTIVE and we freed at least one slot.
2002-02-08simplify qec_put a bitJason Wright
2002-02-08Add a comment about an obscure behavior in dup2(2).Artur Grabowski
2002-02-08Add a slightly redundant arg to finishdup that's the struct file *Artur Grabowski
present on the 'old' descriptor. It's not really necessary because we can easily find it with 'fp = p->p_fd->fd_ofiles[old];', but this allows us to require that the fp is FREFed without violating all rules of good taste and all callers have to do fd_getfile on it anyway (to detect larval and closing files. FREF the fp in all callers.
2002-02-08do not rely on u_int being availabelMichael Shalayeff
2002-02-08vagfb_setcolor() needs to enter entries into the software copy of theJason Wright
palette so that it can be restored correctly.
2002-02-08No more need for ffree. Since it's hard to use it safely, remove it.Artur Grabowski
2002-02-08- Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't haveArtur Grabowski
the same semantics as NetBSD anyway, so it's good to avoid name collissions. - Always fdremove before freeing the file, not the other way around. - falloc FREFs the file. - have FILE_SET_MATURE FRELE the file (It feels like a good ortogonality to falloc FREFing the file). - Use closef as much as possible instead of ffree in error paths of falloc:ing functions. closef is much more careful with the fd and can deal with the fd being forcibly closed by dup2. Also try to avoid manually calling *fo_close when closef can do that for us (this makes some error paths mroe complicated (sys_socketpair and sys_pipe), but others become simpler (sys_open)).