summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-09-10Introduce a md pmap hook, pmap_remove_holes(), which is supposed to markMiod Vallat
the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces. On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway). Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later.
2007-09-09Make sure ptrace(2) cannot change any priviliged bits in the Machine StateMark Kettenis
Register. Fixes PR 5574. From Stefan Kempf. ok deraadt@
2007-09-09thmc vs tmhc screwupTheo de Raadt
2007-09-09/enet apparently maps to mc0; gwk okTheo de Raadt
2007-09-09Add a few missing bits to include/cpu.h required for MULTIPROCESSOR kernels.Mark Kettenis
2007-09-09Make fpproc per-cpu. This turns fpproc into a macro, so adjust fpu/fpu.cMark Kettenis
to avoid collisions.
2007-09-09Disable page zeroing in the idle loop, as it blasts the entire cache.Miod Vallat
Spotted by kettenis
2007-09-09Remove some more goo left over from sparc.Mark Kettenis
2007-09-09Make handled_intr_level per-cpu.Mark Kettenis
2007-09-09tmhc has only been seen on i386Theo de Raadt
2007-09-09uchcom(4) has been verified to work by djm@, so add it to allJonathan Gray
USB capable archs.
2007-09-08Add prom functions to start secondary CPUs.Mark Kettenis
2007-09-08Make the ast on sparc64 per-process instead of global. Necessary to makeMark Kettenis
signal delivery more reliable once we go smp (although the code for that is still missing). "in principle, this looks good" art@
2007-09-08use M_ZERO.Martin Reindl
input from kettenis@
2007-09-08use M_ZERO.Martin Reindl
2007-09-08Add adl(4). Make comments for i2c devices a bit more consistent while I'mMark Kettenis
there.
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
eyeballed and ok dlg@
2007-09-07Comment fix. It's 0x7F ELF, not 0xFF ELF.Tobias Weingartner
2007-09-07Remove some left-overs from the TSC based microtime. We don't needArtur Grabowski
to synchronize the tsc between CPUs anymore. While here, also remove the slow TLB IPI since it's been dead for a while. noticed by mickey toby@ ok
2007-09-07Modify the heuristic for detection of speedstep to recognize a compatibleGordon Willem Klok
mobile Intel Pentium 3 as found in Dell c610 fixes pr5565. ok beck, toby
2007-09-07Based upon a diff orignally submitted by devin smith, Do two things run theGordon Willem Klok
check that the maxfid and the highest reported acpi p_state frequency agree only after actually getting the acpi p_state. Secondly prefer the legacy powernow table over ACPI because machines of this vintage of are likely to have broken ACPI implementations. Tested by devin smith and tilo stritzky. ok beck@
2007-09-06new iwn(4) driver for Intel Wireless WiFi Link 4965AGN.Damien Bergamini
no support for 802.11n functions yet (need work in net80211(9) first). committed over my 4965AGN, with only 2 of 3 antennas plugged :-) needs a firmware that is not freely redistributable (see man page). ok deraadt@
2007-09-04Zap the simplelock goo and general cleanup of comments.Thordur I. Bjornsson
also, theres no need to check first if we're the kernel pmap and then if we're the curmap in two different if statements, pmap_is_curpmap() check's if we're the kernel pmap, so nuke those tests. ok art@
2007-09-04UltraSPARC CPUs always have an on-chip FPU. There really is no need to haveMark Kettenis
the code to detect the various FPUs of earlier SPARC V7 and V8 CPUs. ok deraadt@, miod@
2007-09-04driver for i2c lm93 sensor; very common on ipmi machines which have i2cTheo de Raadt
bmc's watching on the shared bus. if you disable ipmi, you might see it pop up (reminder why ipmi / i2c mixes are disabled: some ipmi's seem to violate the i2c bus locking protocol). tested by Alexander Lobodzinski
2007-09-04Reset the chip after internal memory exhaustion, makes the driver more solidMiod Vallat
with heavy NFS usage.
2007-09-03Fix a few interrupt dispatch/receive register definitions.Mark Kettenis
2007-09-03call savectx() in cpu_fork(), so that the new process can take signalsMiod Vallat
correctly in child_return()'s userret(); makes the sys/kern/signal/earlysig regression test pass. From a 2.5 years old diff I should have commited much earlier.
2007-09-03Remove the pv and pte stealing code. Neither art@ and I like it, theMiod Vallat
theoretical gain of it is close to zero, and our moms told us stealing is bad.
2007-09-03Typos from miod. 'specificed' -> 'specified' in some comments and man page.Kenneth R Westerback
2007-09-03Typos from miod. 'requiered' -> 'required' in some comments.Kenneth R Westerback
2007-09-03Typos from miod. 'functin' -> 'functin' in some comments.Kenneth R Westerback
2007-09-03Typos from miod. 'sfotware' -> 'software' in some comments.Kenneth R Westerback
2007-09-02Fix typos in comments: soruce -> sourceHans-Joerg Hoexer
2007-09-01replace the machine dependant bytes-to-clicks macro by the MI ptoa()Martin Reindl
version for i386 more architectures and ctob() replacement is being worked on prodded by and ok miod
2007-09-01Do not include <machine/rpb.h> unless necessary.Miod Vallat
2007-09-01In pmap_protect(), compute the bitmask to set in the ptes only once, insteadMiod Vallat
of every iteration.
2007-09-01Use db_format() instead of ddb-specific format specifiers; no functionalMiod Vallat
change inteded. ok ray@
2007-09-01Remove stale comments; prompted by millert.Marco Peereboom
2007-08-31Add vaddr.Marco Peereboom
ok miod
2007-08-31Add qli. Commented out for now.Marco Peereboom
2007-08-28Implement bus_space_vaddr().Mark Kettenis
ok marco@
2007-08-26Use ptoa((psize_t)...) and %lu to print memory size.Mark Kettenis
2007-08-25Real mutexes for sparc64. Some comments from henric@ and claudio@.Mark Kettenis
Tested by fkr@, claudio@, nick@.
2007-08-25Use ptoa((psize_t)...) and %lu to print memory sizes.Mark Kettenis
2007-08-25Print a bit more information in the safari interrupt handler. Get rid ofMark Kettenis
function names starting with an underscore while I'm there.
2007-08-25Fix printing of more than 2G of memory.Mark Kettenis
ok miod@
2007-08-25Real mutexes for sparc64. Some comments from henric@ and claudio@.Mark Kettenis
Tested by fkr@, claudio@, nick@.
2007-08-24Add missing bits for siop@gsc.Mark Kettenis
2007-08-23Add commented-out entry for siop@gsc, the onboard Fast-Wide SCSI on theMark Kettenis
735 and 755.