summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2002-03-14Improved altivec support for powerpc/macppc.Dale Rahn
Fix bug where altivec context was not freed on process exit. Fix bug where vscr was not correctly saved/restored. replace asm statement was macros which expand to the same asm code or to .long XXX which evaluates to the same instruction since in-tree gas does not support altivec. Enable ALTIVEC support by default on macppc, still conditional for other powerpc ports.
2002-03-14Don't put a space between a function name and its args in the prototype.Todd C. Miller
2002-03-14Don't put a tab between a function and its argumentsTodd C. Miller
2002-03-14remove ambiguity in version,ostype,osversion,osrelease and their constanity, ↵Michael Shalayeff
they are and declarre 'em accordingly also removing private externies of those
2002-03-14Remove a bunch of #if 0 codeJason Wright
2002-03-14Make the sbus ipl handling more like psycho. Some devices (Aurora 210sj, eg)Jason Wright
use Sbus level 5 for interrupts which means spltty() is not blocked correctly because the sbus interrupt handling uses the implied spl of the interrupt instead of the level passed to it.
2002-03-14From NetBSD: driver for lpt at ebusJason Wright
2002-03-14version[] is externed in the systm.h and give it some constMichael Shalayeff
2002-03-14allow lpt at apioJason Wright
2002-03-14add apio* at sbus? and lpt* at apio?Jason Wright
2002-03-14Driver for the Aurora Technologies 210SJ parallel portJason Wright
2002-03-14Do not include headers twice. Pointed out by Dries Schellekens.Dale Rahn
2002-03-14invalid argv causes efault, not einval; form daniel@lucq.orgMichael Shalayeff
2002-03-14protect from overflows and null derefs in cpu probing; from ↵Michael Shalayeff
wd@ics.nara-wu.ac.jp via pr#2457
2002-03-14Conditionalize com at asio correctlyJason Wright
2002-03-14Prototype pmap_unwire() only if it's not already defined. ok drahn@.Daniel Hartmeier
2002-03-14this mod has nothing to do w/ ptrace option addition, did not even compileMichael Shalayeff
2002-03-14initialized data cannot be common, dunno how it compiled beforeMichael Shalayeff
2002-03-14do not proto pmap(de)activate if one was definedMichael Shalayeff
2002-03-14Don't prototype pciide_machdep_compat_intr_establish() andTodd C. Miller
pciide_machdep_compat_intr_disestablish() if they are macros.
2002-03-14Use getpropstringA instead of getpropstring to fetch magma_prom propertyJason Wright
to avoid clobbering sa->sa_name (similiar fix as sparc)
2002-03-14Properly conditionalize uvm history dumpJason Wright
2002-03-14Fix ugliness caused by __P removing regexpTodd C. Miller
2002-03-14use getprop, not getpropstring to fetch 'magma_prom' property...Jason Wright
ra->ra_name is needed and is the result of getpropstring
2002-03-14add asio* at sbus? and com* at asio?Jason Wright
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14generate std ANSI protos, not __P onesTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14compare pointers with NULL not 0Jason Wright
2002-03-14Reload the palette only during the vert retrace interruptJason Wright
2002-03-14Don't prototype pmap_copy() if it is a macroTodd C. Miller
2002-03-14Remove PTRACE support out of the ramdisks/miniroots.Miod Vallat
2002-03-14Regen after syscall changes (option PTRACE)Miod Vallat
2002-03-14Turn the ptrace(2) syscall into a kernel compile option, option PTRACE inMiod Vallat
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks.
2002-03-14Whoops. missing simple_unlock.Artur Grabowski
From thorpej@netbsd.org
2002-03-14Fix *some* problems with new ahc driver that were surfaced withKenneth R Westerback
the recent changes to scsiconf.c. a) Restore marking of appropriate devices as tagged b) Fix an off-by-one error that sprayed bits around c) Use correct field (quirks) when setting SDEV_NOTAGS bit d) Use TAG_ENB define instead of MSG_SIMPLE_Q_TAG when manipulating hscb->control. Both were defined to the same value, but TAG_ENB is the define used to extract the bit later on. This leaves problems, most often seen as faults when accessing a CD drive and disk drive on the same bus. ok smurph@
2002-03-13Fetch mac address from local-mac-address property, and use myetheraddr() onlyJason Wright
if it fails. (The right thing to do is have myetheraddr() do this, but that will come later).
2002-03-13Try fetching the mac address from the local-mac-address property, and ifJason Wright
it fails, fall back to myetheraddr()
2002-03-13Complete rewrite of the powerpc pmap handling, Instead of keepingDale Rahn
the spill list for each PTEG, the V->P translations are stored in trees for each pmap. All valid kernel mappings are preallocated in 1-1 memory so that tlb spill/loads for kernel accesses can be looked up while physical, user mappings are not guaranteed to be 1-1 mapped, thus the kernel must go virtual to look up user mappings. While this is more expensive, the tree search is much lower cost than the long linked list search. Also on each pmap_remove() it was necessary to search the linked lists for each possible mapping, now it just looks up the entry in the tree. This change gives a 25-36% speedup in 'make build' time. What was around 2:50 is now around 1:55 on a 733MHz G4. This change causes a likely existing bug to appear quite often, it deals with the segment register invalidation in kernel mode. Because of that problem, currently this change limits the physical memory used to 256MB. This limitation will be fixed soon, it is not an error in the pmap code. * Effort sponsored in part by the Defense Advanced Research Projects * Agency (DARPA) and Air Force Research Laboratory, Air Force * Materiel Command, USAF, under agreement number F30602-01-2-0537.
2002-03-13On sparc, PAGE_SIZE and friends might not be a compile-time constant.Miod Vallat
Instead of using a homegrown set of variables in this case, rely on uvmexp fields once uvm has been initialized. This requires a few #include <uvm/uvm_extern.h> here and there in the kernel as well. Idea from art@, changes by me.
2002-03-12rest of copy_on_fault proper handlingsMichael Shalayeff
2002-03-12Credentials now freed on re-use of dq structure.Constantine Sapuntzakis
2002-03-12sparc64's aren't likely to be CPU_ISSUN4CJason Wright
2002-03-12Look up the TTE and only do the streaming cache dance if the mapping is ↵Jason Wright
marked as streaming.
2002-03-12don't need to call IFQ_SET_READY() twice; this driver was alreadyFederico G. Schwindt
ALTQify'ed.
2002-03-12extraneous 'or'; from Sven Kirmess <sven.kirmess@gmx.net>Michael Shalayeff
2002-03-12swiss german and french keymaps; from pckbd by Mathias Schmocker ↵Michael Shalayeff
<smat@polaris.smat.ch>
2002-03-12Change the PT_IO interfaces like discussed onArtur Grabowski
the bsd-api-discuss list.
2002-03-12Emulate ptrace(PT_STEP in software.Artur Grabowski
More or less directly from FreeBSD.
2002-03-12In the PT_STEP case, first set the new pc, then arrangeArtur Grabowski
for the single-step. This can slightly break the error handling when setting the sstep fails, but allows us to emulate single stepping in software on arch that don't have support for that in hardware.