summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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)).
2002-02-08There are NFS servers where it's possible to modify a symbolic link. Remove ↵Constantine Sapuntzakis
aggressive optimization
2002-02-08Partial sync with FreeBSD, mostly bugfixes from Luigi Rizzo (ok jason@)Chris Cappuccio
-Remove m_devget on non-STRICT_ALIGNMENT architectures, supposedly a 50-70% performance increase for peak packet forwarding on the Soekris 486/133 on fbsd -Fix a bug in the driver -- under load, the receive unit could become idle and the driver would not detect the event, requiring userland to cycle the interface to bring it up again. The fix consists in adding SIS_IMR_RX_IDLE to the interrupt mask and add a command in sis_intr() to restart the receiver when this happens. -While at it, make the test of status bits more efficient -Slightly simplify the code to initialize the ring buffers -Add VLAN support (Accept Long Packets)
2002-02-08do not set any bits in pmap_enter, let the handlers take care of it;Michael Shalayeff
only need clear_va if changing the prot, since otherwise we are clear. flush the cache and tlb for the page being removed in kremove.
2002-02-08when doing the autoconf in verbose mode print the devpathMichael Shalayeff
2002-02-08Remove some commented out FILE_UNUSE (incorrect)Artur Grabowski
2002-02-07bridge_output() needs a forcibly aligned copy just like bridge_broadcast()Jason Wright
because of calls it makes to altq; thanks to art for testing and kjc for pointing that I forgot this case.
2002-02-07Quiet down an annoying message in altq_etherclassify.Artur Grabowski
2002-02-07fix copyright; chris@Jason Wright
2002-02-07Do a more complete initialization if the prom didn't do it for us.Jason Wright
2002-02-07remove debugging printfMichael Shalayeff
2002-02-07syncMichael Shalayeff
2002-02-07fix sigdebug cases; init sigcontext before it's used (;Michael Shalayeff
2002-02-07fix pid calculation and pmap_extract; from fredette@Michael Shalayeff
replase disabling ints w/ splhigh()
2002-02-07fix irq passing on matchMichael Shalayeff
2002-02-07import some register defns from sparcJason Wright
fully initialize and unblank framebuffer for non-console use bus_space_vaddr()
2002-02-07use bus_space_vaddrJason Wright
2002-02-06disable debugMichael Shalayeff
2002-02-06implement signal delivery; based on fredette@'s workMichael Shalayeff
2002-02-06add a todo remarkMichael Shalayeff
2002-02-06better flushing/purging of removed/changed mappings, hack around the pv/vp ↵Michael Shalayeff
desync
2002-02-06disable trapdebug, better handling of eirr tooMichael Shalayeff
2002-02-06remove dangling spacesMichael Shalayeff
2002-02-06prettyJason Wright
2002-02-06non console framebuffers, reset and initialize them correctlyJason Wright
2002-02-06correct monitor port matching.Federico G. Schwindt
2002-02-06emulate linux behaviour by passing ioctl's down to the underlying devicejasoni
> From NetBSD; ok art@
2002-02-05Remove dead code, simplify a panic message.Miod Vallat
2002-02-05I wonder how those two were not commited among the "volatile police" twoMiod Vallat
weeks ago.
2002-02-05- factorize insane amounts of codeMiod Vallat
- do not do some paranoid sanity checks unless #ifdef DIAGNOSTIC - remove some of the less-usefull, most screen-eating debug information - and fix a few typos in the process. This pmap is slowly starting to have a decent looking shape... Really.
2002-02-05Provide a definition for pmap_wired_count.Miod Vallat
2002-02-05Zero-ize ext even if it has a free method defined.Angelos D. Keromytis
2002-02-05Do range check on SO_LINGER, closes pr#2375. art@ okThomas Nordin
2002-02-05panic if a read-only mbuf is given to m_zero() --- from art@openbsd.orgAngelos D. Keromytis
2002-02-05Fix m_zero() yet again -- yesterday's fix wasn't sufficient.Angelos D. Keromytis
2002-02-05Allow mmap as a dumb framebuffer (from offset 0).Jason Wright
2002-02-05Allow mapping as a dumb framebuffer (from offset 0)... This allows us toJason Wright
get as far here as with vgafb.