summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-01-03Try to prevent red stating the machine on a misaligned user space stack byMark Kettenis
SIGKILLing the process. ok miod@, henric@
2006-01-03work in progress on the Apple Sudden Motion Sensor found in recentXavier Santolaria
PowerBooks and iBooks, driver is commented out for now; with prodding, help and ok from kettenis@, ok deraadt@.
2006-01-02Check db_console before entering ddb.Miod Vallat
2006-01-02Faster signal trampoline code for m88k: instead of pushing everything onMiod Vallat
the stack a la m68k, put handler arguments in register, transfer control to the handler directly, but have it return in the sigcode. While there, remove wrong comments about the sigcode being on top of the user stack.
2006-01-02Remove orphaned cpu_exec_aout_makecmds() since we don't _KERN_DO_AOUT.Miod Vallat
2006-01-02No need to check for P_INMEM in process_set_pc() and process_sstep(), as theseMiod Vallat
function are only invoked between PHOLD and PRELE.
2006-01-02Merge enablertclock() in cpu_initclocks(), kill unused disablertclock(), andMiod Vallat
remove a wrong comment aboute startrtclock() being invoked twice.
2006-01-02Kill enablertclock.Miod Vallat
2006-01-02remove last traces of __BROKEN_INDIRECT_CONFIG.Brad Smith
Thanks to aanriot@ and Michael Knudsen for checking that alpha/i386/macppc kernels still compile.
2006-01-02do i2c initialization using ofw data instead of scanning; ok kettenisTheo de Raadt
this may require some changes for non-pmu controllers later, which may do the ofw tables slightly differently
2006-01-02Correctly set the %di register on PXENV calls. This should helpTom Cosgrove
older PXE clients get a bit further. Prompted by Rolf Sommerhalder's comments on misc@. ok krw@ (thanks) "no objection" mbalmer@ "go for it" fgsch@ "fine" deraadt@
2006-01-01proto not neededTheo de Raadt
2006-01-01switch from macppc-specific maciic(4) driver to the generic iic(4),Theo de Raadt
after teaching it to use a function pointer to get back to the OFW scan.. this will also help the sparc64 later; ok kettenis
2006-01-01Adjust for renamed VIA VT8233 PCI ID's.Mark Kettenis
ok brad@, deraadt@
2006-01-01Enable A/UX style interrupt routing on non-AV Centrises and Quadras, gives usMiod Vallat
smarter spl levels and the clock drift is reduced; adapted from NetBSD.
2006-01-01Service clock interrupts at the computed splclock(), not spl2(); from NetBSD.Miod Vallat
2006-01-01Let cons_init() and cons_init_bell() initialize the whole consdev structure,Miod Vallat
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails.
2006-01-01Don't need to include machine/types.h here. OK and tested by miod@Todd C. Miller
2006-01-01Don't need to include machine/types.h here. OK and tested by miod@Todd C. Miller
2005-12-31Make PT_SETFPREGS work even if the process didn't use the fpu yet.Mark Kettenis
ok miod@
2005-12-31Search for the devices to attach to mainbus, not hardcoded. ok miod@Dale Rahn
2005-12-31Nuke unused cdev_wscons_init() macro.Miod Vallat
2005-12-31Kill a pcvt leftover.Miod Vallat
2005-12-31whitespace cleanup.Dale Rahn
2005-12-31Split the d_type field of cdevsw entries into d_type and d_flags for clarity.Miod Vallat
Discussed with and ok deraadt@ millert@
2005-12-31This port does not use dev/cninit.c.Miod Vallat
2005-12-31amdiic enable. if problems or worries, we shut things off before a releaseTheo de Raadt
2005-12-31if you don't enable amdiic, when will people test it?Theo de Raadt
2005-12-31Rework (once again) the console code, in order to match the PROM's logic better.Miod Vallat
When not running on serial console, the PROM will pick the ``internal'' graphics device, and if it does not exist, the DIO device with the lowest select code, and will resort to SGC devices if no internal or DIO device was found. However, the current logic would search for a certain frame buffer type first, then for its best hardware location, following the order they are listed in conf.c. By replacing gazillions of almost-exactly-duplicated frame buffer code with one single instance, which is device type-agnostic, we can match the PROM (and the bootblocks) logic again. Plus this saves a few KB of code!
2005-12-31Sync with recent kernel changes: recognize more models, use the same logicMiod Vallat
to pick apci as a console on 425e. Crank version.
2005-12-31Add AMD-8111 SMBus controller driver.Alexander Yurchenko
ok deraadt@
2005-12-30add asbtm iic sensor; ok kettenis@Damien Miller
2005-12-30Remove unused COMPAT_NETBSD32 block and get rid of register{32,64}_tTodd C. Miller
which are now unused. Tested and OK miod@
2005-12-30Kill conforced, and have console devices use CN_FORCED priority instead.Miod Vallat
This means we are no longer aborting the console scans even if the final console has been found, but on the other hand makes some logic simpler; plus it will be necessary for upcoming scode vs device loop order reversal. No user-visible change.
2005-12-30When a driver claims console, let it set conscode to itself, instead ofMiod Vallat
letting the bus walkers do this for it. This is necessary since apci does not use the bus walkers, now that we do not force console probes to stop when apci claims console.
2005-12-30Introduce symbolic constants for the magic conscode values.Miod Vallat
No functional change.
2005-12-30Now that errno.h and sys/errno.h are separate header files there is noTodd C. Miller
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@
2005-12-30Make PT_SETFPREGS work even if the process didn't use the fpu yet.Mark Kettenis
ok miod@
2005-12-29W^X for G5Mark Kettenis
ok drahn@, totally groovy deraadt@
2005-12-29ichiic for intel amd64 machines; spotted by reykTheo de Raadt
2005-12-29add admcts(4)Theo de Raadt
2005-12-29Add a bunch of i2c sensors.Mark Kettenis
ok deraadt@
2005-12-29Add viapm(4).Mark Kettenis
ok deraadt@
2005-12-29right spotTheo de Raadt
2005-12-29add admcts(4)Theo de Raadt
2005-12-29Add viapm(4).Mark Kettenis
2005-12-29remove bad newline for the secondary PCI bus with the 82450KX/GX chipsetBrad Smith
which was introduced in rev 1.11. thanks to marco@ for pointing out the issue, testing and ok'ing the diff.
2005-12-29Fix isadma0 at isa0 at mainbus0Mark Kettenis
ok deraadt@
2005-12-28Remove dead cruft.Miod Vallat
2005-12-28...thus no need to override conscode if we are configured as console, so thatMiod Vallat
kernels with hardcoded CONSCODE value can run as advertized regardless of the service switch position.