summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-10-01more btoc -> atopMartin Reindl
2007-09-30Move intrpending array into 'struct cpu_info'.Mark Kettenis
2007-09-30On i386, only call amd64_errata() on amd64 processors (family 0xf),Gordon Willem Klok
tested by krw@. This diff by itself is insufficient to ensure that we are only running on an amd64: todd@'s machine is a mobile Athlon XP that has a cpuid family of 0xf but is not an amd64 processor so more must be done but this should prevent the vast majority of cases. ok tom@
2007-09-30Enable Broadcom wireless, bwi(4).Jonathan Gray
If people testing could send mail to mglocker and myself we'd appreciate it. ok mglocker@
2007-09-29At the requst of deraadt@, backpout the temporary hack for pcc.Otto Moerbeek
Paraphrasing, "make it clear this should be fixed in pcc asap".
2007-09-24Ooops, i386 entry was enabled by mistake. Disable it. Sorry.Marcus Glocker
2007-09-24Add bwi PCI and Cardbus GENERIC entries for i386 and amd64, but stillMarcus Glocker
disabled for now. From brad@
2007-09-22Add kernel locking.Mark Kettenis
2007-09-22cf_context_switch takes an u_int argument.Mark Kettenis
ok drahn@
2007-09-22M_ZERO -> bzero.Kenneth R Westerback
ok art@
2007-09-22replace even more ctob and btoc with ptoa and atop respectively plusMartin Reindl
uvm_extern.h where needed
2007-09-19On sparc & sparc64, change `mount -a` to recognise Linux ext2 partitionsMarc Aurele La France
by interpreting more fields out of a standard Sun disk label. ok krw@
2007-09-18arc4random_bytes() is the preferred interface for generating nonces;Damien Miller
"looks ok" markus@
2007-09-18As a temporary workaround, implement va_start not usingOtto Moerbeek
__builtin_next_arg for !GCC until pcc supports it. ok kjell@ miod@
2007-09-18Fix typo (`Advancded').Michael Knudsen
2007-09-18Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-09-17MALLOC/FREE -> malloc/free and M_ZERO changesCharles Longeau
ok krw@
2007-09-17Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-09-15realy -> really in comments. Most reported on tech@ by Jung.Kenneth R Westerback
2007-09-15[fF]uther -> [fF]urther in comments and man page. First one spotted onKenneth R Westerback
tech@ by Jung.
2007-09-15replace ctob and btoc with ptoa and atop respectivelyMartin Reindl
help and ok miod@ thib@
2007-09-13Don't bother bitching if APM does not exist. PleantyTobias Weingartner
enough systems today do not have apm. Also, the existance of apm is given on the probe line, absence means it ain't there.
2007-09-12port of i386 pctr code to amd64; Mike BelopuhovTheo de Raadt
2007-09-12s/atoin/ation/ typosCharles Longeau
ok ray@ cnst@ moritz@ sobrado@ millert@ mbalmer@
2007-09-11henric, tsk tsk, you missed stuff related to cryptosoftTheo de Raadt
2007-09-10Remove unused "extern" declaration.Henric Jungheim
ok tom@
2007-09-10Missing $OpenBSD$ tag.Mark Kettenis
2007-09-10IPI implementation. Bits and pieces from NetBSD, but the interface has beenMark Kettenis
changed to free up another 64-bit word in the interrupt transaction. This means we have two 64-bit words available for arguments, which means we probably don't need to pass arguments through structures.
2007-09-10Pass a real ipl level to add_nubus_intr(), and make sure the interruptMiod Vallat
handler is invoked with spl raised to the given level, otherwise all nubus interrupts are processed at level 2.
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@