summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-26Trying this again. Mixing anoncvs with cvs is _not_ a good idea.Thordur I. Bjornsson
Reintroduce bufqs. A few changes since it was backed out after some good comments from dlg@. No need for a separate bufq.h, keep all of in buf.h; As requested by kittens and deraadt. Only sd(4) and wd(4) for now. The rest of the drivers will be converted soon, also other goodies like heuristics for sd(4) for selecting the bufq type and the death of disksort() are forthcoming. Tested on: i386, amd64, sparc64, macppc, loongson and alpha by myself and phessler. OK art@, beck@, kettenis@, oga@
2010-05-26rename intvec.s to locore.S, and add the guts of locore.C to machdep.cTheo de Raadt
ok miod ragge We cannot yet get at vax/subr.s via files.vax because rdsetroot doesn't like it when the "start" symbol isn't in the first page of the executable. subr.s will have to be merged into locore.S later on, when other problems with ENTRY() are solved (says Miod)
2010-05-26Reintroduce bufqs. A few changes since it was backed out after some goodThordur I. Bjornsson
comments from dlg@. No need for a separate bufq.h, keep all of in buf.h; As requested by kittens and deraadt. Only sd(4) and wd(4) for now. The rest of the drivers will be converted soon, also other goodies like heuristics for sd(4) for selecting the bufq type and the death of disksort() are forthcoming. Tested on: i386, amd64, sparc64, macppc, loongson and alpha by myself and phessler. OK art@, beck@, kettenis@, oga@
2010-05-26Fallout from the proc.h include cleanup: proc.h must be included beforePhilip Guenthe
user.h ok deraadt@
2010-05-26Bad tedu, no cookie.Owain Ainsworth
Don't set SDEAD on the process in exit1 untile we have grabbed the allproclk. allproclk is a rwlock and thus we may sleep to grab hold of it. This is a big of a bugger when we just set a flag that means we panic if we sleep. ok art@. turns Tom Murphy's fstat panic into a deadlock instead *sigh*, this is being looked into.
2010-05-26Switch amd64 and sparc64 over to gcc4; bump libc major to deal with the ABIMark Kettenis
corner cases that were fixed in gcc4, and changes in libgcc that we may have missed. ok kettenis@
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt
2010-05-26the addr field in read cap 16 is 8 bytes, not 4. pity, i had really bigDavid Gwynne
disks for a few minutes there.
2010-05-26make gcc4 lib sprintf/strcpy free.Marc Espie
activate proper C99 stuff. fix locale support when there's no locale. work common with kettenis@
2010-05-26oops - forgot to check for trailing whitespace;Jason McIntyre
2010-05-26reword the 'D' dump bit to make it clear that the malloc.out file needsThordur I. Bjornsson
to exist before exit for malloc to dump stats in it. tweaks from jmc@ ok otto@,jmc@
2010-05-26PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it isTheo de Raadt
implied.
2010-05-26sync manualsIngo Schwarze
2010-05-26When a word does not fully fit onto the output line, but it containsIngo Schwarze
at least one hyphen, we already had support for breaking the line a the last fitting hyphen. This patch improves this functionality by only breaking at hyphens in free-form text, and by not breaking at hyphens * at the beginning or end of a word or * immediately preceded or followed by another hyphen or * escaped by a preceding backslash. Before this patch, differences in break-at-hyphen support were one of the major sources of noise in automatic comparisons to mdoc(7) groff output. Now, the remaining differences are hard to find among the noise coming from other sources. Where there are still differences, what we do seems to be better than what groff does, see e.g. the chio(1) exchange and position commands for one of the now rare examples. idea and coding by kristaps@ Besides, this was the last substantial code difference left between bsd.lv and openbsd.org. We are now in full sync.
2010-05-25eh.S includes eh_common.S to make eh.o; fix this dependencyTheo de Raadt
2010-05-25no Pp before/after Sh/Ss;Jason McIntyre
2010-05-25Make sure that we really mark the FPU registers clean.Mark Kettenis
ok deraadt@
2010-05-25Don't die if the client has been detached when the job finishes, justNicholas Marriott
don't display the output.
2010-05-25Actively remove processes from the runqueues of a CPU when we stop it.Mark Kettenis
Also make sure not to take the scheduler lock once we have stopped a CPU such that we can safely take it away without having to worry about deadlock because it happened to own the scheduler lock. Fixes issues with suspen on SMP machines. ok mlarkin@, marco@, art@, deraadt@
2010-05-25Fix an out-of-date comment.Nicholas Marriott
2010-05-25use opendev(), as requested in 6373. document this using text borrowed fromTheo de Raadt
disklabel(8), and while at it, fix the usage code to not be utterly distasteful ok drahn
2010-05-25match usage to the manual page, and borrow the description of 'disk'Theo de Raadt
from disklabel(8), since it describes the effect of using opendev()
2010-05-25The logic in this function is a little tricky (though correct).Owain Ainsworth
Explain how an invaviant is satisfied and add an assertion to check (never hit that one). As a side benefit clang doesn't bitch about a possible NULL deref now.
2010-05-25Having just calculated which sequence number we wish to wait for (soOwain Ainsworth
that in the reading-only case we need only wait for all gpu writes to be done and flushed), don't then wait for the full seqno anyway. Found by Clang's static analyser where it flagged a dead store to the seqno variable.
2010-05-25Initialise "last" pointer in node class constructor, fixes crashes withNicholas Marriott
some man pages when built with gcc4. ok deraadt
2010-05-25The _arch and _mach variables now come from config(8), decreasing even furtherTheo de Raadt
the differences between these files. You will need a newer config(8) binary to be able to build kernels. ok kettenis miod
2010-05-25rename struct drm_i915_private to struct inteldrm_softc, to be more inOwain Ainsworth
line with everything in the tree. No functional change. I have wanted to do this for ages! More cleanup will be forthcoming.
2010-05-25Remove the DRI1 code paths from inteldrm as promised two weeks ago.Owain Ainsworth
We no longer support these paths, only memory managed mode is now allowed.
2010-05-25Fix previous. s/sfs->f_typename/bfs->fs_typename andThordur I. Bjornsson
add a missing ')'. i386 can now build kernels.
2010-05-25Use token paste operator to avoid nested __CONCAT() macros. This allowsJoel Sing
the code to compile without -traditional-cpp. ok kettenis@
2010-05-25Zero out svr4_statvfs and svr4_statvfs64 before using and copy theTodd C. Miller
correct number of bytes into f_fstr. OK kettenis@ deraadt@ nicm@
2010-05-25Hand-list the two-step assym.h -> .[Ss] -> .o dependencies. TheTheo de Raadt
result: kernels built without 'make depend'-provided information (ie. the .depend file) are more likely to have their *.[Ss] file compilations track changes to *.h files. The "*.o: assym.h" dependencies listed are gotten from reading the .depend output --- from the biggest kernel possible (ie. GENERIC.MP). When an architecture changes in a substantial way (new .[sS] files), the list should be updated in the prettiest way possible. This is not encouraging people to skip 'make depend'; other issues are not resolved and may be solved later with a change guenther is working on. You can still screwed really easily, so continue running make depend as config tells you. Idea from a discussion with drahn ok drahn, kettenis likes the idea too
2010-05-25got the arch wrongTheo de Raadt
2010-05-25Ugh. Remove name2id.c for real now.Claudio Jeker
2010-05-25Remove another leftover from ospfd. ldpd does not have a concept of ext_tagClaudio Jeker
and so there is no need to carry ext_tag and rtlabels around. "Yes! kill kill kill" michele@
2010-05-25Add ldp (port 646) to services. Needs both udp and tcp.Claudio Jeker
Sure deraadt@
2010-05-25libfrtbegin and libg2c are no longer in base;Jason McIntyre
confirmed by espie
2010-05-25Enable -fstack-protector by default.Robert Nagy
2010-05-25Implement the missing label map recv functions and cleanup the other recvClaudio Jeker
functions a bit to make them all look more similar. All but the label req abort message are now parsed and passed to the lde.
2010-05-25Add upcomming IMSG_LABEL_RELEASE, IMSG_LABEL_WITHDRAW and IMSG_LABEL_ABORT.Claudio Jeker
Add missing bits to struct map and restructure/simplify the lde.c imsg code.
2010-05-25Kill a bogus bzero() and introduce an empty lde_check_release().Claudio Jeker
That function will be needed soon.
2010-05-25I removed code in the last commit that is needed. Allocate rbuf now byClaudio Jeker
default or else we bomb on the first read access.
2010-05-25tweak previous;Jason McIntyre
2010-05-25- x11/qt2 is long gone.Jasper Lievisse Adriaanse
2010-05-25Mention the new fortran MODULE. Not yet documented.Antoine Jacoutot
"of course" espie@
2010-05-25complete any pending message when the device is stoppedAlexandre Ratchov
2010-05-25drop samples or insert silence in sun_revents(). Otherwise, inAlexandre Ratchov
full-duplex, we may detect a xrun in the play direction and discard the clock tick, this would cause sio_revents() to return POLLIN without the clock being advanced, causing apps relying on the clock for flow control to enter a busy loop.
2010-05-25no more f77;Jason McIntyre
2010-05-25enable support for ``extended'' .wav files since certain programsAlexandre Ratchov
use this format instead of the non-extended one (ex. audio/libao) spotted/suggested by naddy
2010-05-25${SRCS} is only used once, and fits onto the line where it is usedTheo de Raadt
idea that came out of discussion with drahn