summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-17Make it optional for kvm_getprocs() (and related sysctl) to returnPaul Irofti
thread information. Add a KERN_PROC_SHOW_THREADS flag that has to be set in order to get the thread info and make it off by default. This creates backwards compatibility for applications that relied on a given size/number of items to be returned. Modify ps(1) and top(1) accordingly. Okay guenther@.
2012-04-17Drivers for the SGI Indigo serial keyboard and mouse (not PS/2 devices).Miod Vallat
From NetBSD.
2012-04-17uvmspace_exec: Remove disfunctional "optimization".Ariane van der Steldt
The optimization goes through great lengths to use less optimized code paths in place of the simple path, where the latter is actually faster. ok tedu, guenther
2012-04-17Enable multi-threaded debugging on sparc64.Mark Kettenis
2012-04-17Don't try to cache the CPU's FS.base, as userland can make it a lie byPhilip Guenthe
setting %fs, resulting in it not getting restored properly later ok mikeb@ deraadt@
2012-04-17Driver for the ``Entry'' LG1 frame buffer found on low-range Indigo systemsMiod Vallat
only. Ported from NetBSD, not tested due to lack of hardware, hopefully it will be working as intended (fingers crossed)
2012-04-17panel@hpc: driver for the power button on IP22/IP24, and the volume buttonsMiod Vallat
where applicable (i.e. Indy only).
2012-04-17Infrastructure to allow an interrupt handler to request its interrupt to beMiod Vallat
temporarily disabled (and then reenabled later). Will be necessary for the next driver commit.
2012-04-17Remove "#define _POSIX_THREADS" line before include <pthread.h>.Miod Vallat
The latter contains "#define _POSIX_THREADS 1" which makes gcc 2.95 complain.
2012-04-17typoTheo de Raadt
2012-04-17Do not disable the stack protector by default anymore.Miod Vallat
2012-04-17Explicitely request -fno-stack-protector on sh when building the unwinder,Miod Vallat
for unwind-dw2.c fails to build otherwise.
2012-04-17this error message was impossible to understand without the source code.Marc Espie
be slightly more verbose and really explain what's going on. okay millert@
2012-04-17Add sgi_cpuspeed() setting HW_CPUSPEED sysctl node. Tested on SGI Fuel.Landry Breuil
ok miod@
2012-04-17Add type numbers for upcoming sgi work, forgotten during newport(4) import.Miod Vallat
2012-04-17Output interrupts are raised when the uart is ready for output, whichAlexandre Ratchov
obviously can occur after the transfer complete. In this case, don't print a warning (if MIDI_DEBUG defined) and don't attempt to stop the transfer twice.
2012-04-16Drivers for the Indy and Indigo 2 PS/2 keyboard ports, and the ``Newport''Miod Vallat
(NG1, XL, XGE) frame buffer. Adapted from NetBSD; newport extended to support underline and fonts wider than 8 pixels, such as the default 12x22 Gallant font. Framebuffer depth computation seems to be wrong on Indy models, to be investigated later (but doesn't prevent text console from working).
2012-04-16Improve the way frame buffers are probed to reduce (and hopefully avoid)Miod Vallat
false positives. Do not look for framebuffers past GIO EXP1, there shouldn't be anything there. Add the console code machinery to attach a glass console on IP22, when the appropriate drivers will exist. On multihead systems, get console framebuffer address (well, sort of) from a completely undocumented interface (knowledge taken from Linux, confirmed to work on a dual-head Indigo 2 here). While there, get frame buffer names from ARCBios whenever possible, to be used in dmesg eventually.
2012-04-16Move proc0 and trap handler setup before consinit(), but still wait for theMiod Vallat
initial setup to be complete before switching to our trap handlers. However, change guarded_{read,write}_* to clear BEV in the coprocessor 0 status register, and restore it afterwards, to use our fault handlers within these functions. This makes these functions usable from consinit().
2012-04-16Move OpenGL {logic,raster}ops defines to a separate file, to avoid duplicatingMiod Vallat
these among frame buffer drivers. No functional change.
2012-04-16Fix struct arc_param_blk_* layout to not embed pointers, as this messes theMiod Vallat
layout in 64-bit mode. Found the hard way, of course.
2012-04-16Don't attempt to mmap 0-length bss.Miod Vallat
2012-04-16add missing header needed by str* and mem* functionsCharles Longeau
ok gilles@
2012-04-16supplementary code for SamplesMarc Espie
2012-04-16use explicit pattern to avoid huge results from pkg_locate we willMarc Espie
then have to trim.
2012-04-16display truely unknown stuff firstMarc Espie
2012-04-16new glue: figure out how to install pkglocatedb on our own (if notMarc Espie
already there), and use it to locate unknown objects in the file system.
2012-04-15syncMiod Vallat
2012-04-15Create a new resolver for each thread. It will be done differentlyEric Faurot
eventually, but it's enough for now to make the blocking API fully thread-safe without locking.
2012-04-15calling getnameinfo here is a bad idea. use inet_ntop.Eric Faurot
2012-04-15Use the proper symbol name for __guard in the workaround for theMiod Vallat
unable to find a register to spill in class 'R0_REGS' ICE when compiling PIC code. Similar to the MI targhooks.c change.
2012-04-15Overhaul hpc child device attachments:Miod Vallat
- break each hpc1/hpc3 child lists into two lists, one for the onboard devices, and one for the expansion devices. - do not try to attach Indy-only devices (pckbc, haltwo) on Challenge S. - do not duplicate entries for expansion devices, only with different interrupt numbers depending on the system, but instead use a single entry with -1 as the interrupt level, and have the attachment glue figure out which interrupt vector applies, depending upon the system. - on expansion hpc1 (or 1.5) boards, do a minimal bus check to decide whether or not the hardware we are attaching is there, since we currently don't know how to tell E++ (sq only) and GIO32 SCSI (wdsc only) boards apart. This hopefully will get rid of misleading `device not configured' messages.
2012-04-15Define symbolic constants for the interrupt controller pin assignments onMiod Vallat
IP20, IP22 and IP24, and provide the necessary macros to compute interrupt vectors numbers (from the int.c point of view) from given sources.
2012-04-15Declare most imc bus_space(9) methods in a visible header; this will be usedMiod Vallat
to make the hpc3 bus_space_tag (similar to the imc one except for the bus_space_barrier method) a global, compile-time known, object; which will in turn help getting glass console to work (pckbc will depend on this).
2012-04-15Provide an hpc_intr_establish() function for hpc subdevices, so they don'tMiod Vallat
need to have knowledge of the underlying interrupt controller. No functional change.
2012-04-15If the dma-usable area changes after autoconf, recompute the buffer count andMiod Vallat
invoke bufadjust() accordingly. Similar to what sysctl kern.bufcachepercent does.
2012-04-15Tell Indy and Challenge S apart.Miod Vallat
2012-04-15Add option EISAVERBOSE to IP22 kernelsMiod Vallat
2012-04-15Move the check for a <0 number of process display_lines to a better place.lum
This makes: This terminal can only display -N processes. a thing of the past.
2012-04-15tweak previous;Jason McIntyre
2012-04-15Call this mandoc 1.12.1.Ingo Schwarze
I refrained from merging one patch that i dislike and one that requires additional review, but we are now definitely much closer to 1.12.1 than to 1.12.0.
2012-04-15Clean up code a bit by pushing warnings into a WARNING macro; from kristaps@.Ingo Schwarze
This also backs out the realpath(3) changes for now; according to Kristaps, they caused regressions.
2012-04-15when using aliases, the *real* delivery user is not set on expand nodesGilles Chehade
which prevents filters / filenames from working from /etc/mail/aliases. in aliases_get() during the rb tree iteration, copy the username to the expand node. diff from Christopher Zimmermann, thankkkks and sorry for the delay
2012-04-15* Use NULL instead of 0 for pointersCharles Longeau
* Replace loop with memcpy() in function get_literal() * Style tweak: "for(" -> "for (" From Michael W. Bombardieri ok nicm@ millert@
2012-04-15Remove dead assignments and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok gilles@
2012-04-15Simplify by not pre-filtering the result vector for satisfied matches:Ingo Schwarze
we can do this in the frontend; from kristaps@.
2012-04-15Handle multi-line NAME sections in man(7); from kristaps@.Ingo Schwarze
2012-04-15Two bugfixes regarding the -width and -offset macro arguments:Ingo Schwarze
1) They consume the next argument even if it starts with a dash. 2) When -width is the last argument on the line such that the actual width argument is missing, downgrade from a fatal to a non-fatal error, just like for -offset. The formatting still doesn't agree with groff, but at least we don't die any longer. Item 2 was observed and that part of the patch coded by kristaps@, who found lots of instances of this particular formatting error in Mac OSX manuals.
2012-04-15fix a leakJonathan Gray
ok krw@
2012-04-15fix some leaksJonathan Gray
ok krw@