summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-04-24oops. unbreak build by removing the #include for amd8131reg.hThordur I. Bjornsson
2008-04-24move the register defines from amd8131reg.h into aapi.c,Thordur I. Bjornsson
seems silly to have a seperate .h file for 4 defines. nuke the NetBSD __KERNEL_RCSID macro while there, we have that rcsid at the top of the file... ok toby@, brad@
2008-04-24Introduce acpiasus(4), a driver for the ACPI based hotkeys found in manyJoel Sing
ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's asus(4) driver. On the ASUS EeePC this allows us to enable/disable wireless, change screen brightness and use the volume keys. ok jsg@, weingart@
2008-04-24Remove variables that are no longer used to specify the serial console.Joel Sing
ok dlg@
2008-04-24Unbreak IP30 serial console.Joel Sing
ok dlg@
2008-04-24allow amd64 to use serial ports other than com0 as the console. previouslyDavid Gwynne
it was stuck to com0 no matter what the boot loader told the kernel. this relies on the com diff jsing just committed.
2008-04-24Cleanup serial console handling and remove some of the MD code from com.c.Joel Sing
Specify the serial configuration from within the MD code, rather than passing things via macros. This will allow other platforms to more readily change the serial console configuration. Committing this so it actually gets tested. ok dlg@
2008-04-23Call sched_init_cpu() for all but boot processor. ok kettenis.Dale Rahn
2008-04-22Works better, but still needs debug on to work..Theo de Raadt
2008-04-21Work in progress at supporting the Mentor Graphics i2c core found inTheo de Raadt
the Fire pcie hostbridge. Fairly horrid device to deal with.
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
2008-04-20Try to reset the machine through the firmware to reboot.Mark Kettenis
2008-04-20Sync with hppa code.Mark Kettenis
2008-04-20Add missing function declaration.Mark Kettenis
2008-04-20Print bootpath in the canonical place.Mark Kettenis
2008-04-20Bring over astro(4) from hppa, to replace pluto(4).Mark Kettenis
2008-04-20Add proper bus_space_vaddr(9) impementation.Mark Kettenis
2008-04-20Catch up with cpu_switchto. Completely untested.Mark Kettenis
2008-04-20Catch up with dismantled libkern.Mark Kettenis
2008-04-20crank maxusersMark Kettenis
2008-04-20Sync console handling with hppa port:Mark Kettenis
Delay switching to the real serial console until we attach the serial device. The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too. Last bit isn't true yet; the code to support com @ ssio isn't there yet on hppa64.
2008-04-20Call cnpollc() before cngetc() upon halt.Mark Kettenis
ok miod@
2008-04-20Sync console handling with hppa port:Mark Kettenis
Delay switching to the real serial console until we attach the serial device. The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too. Last bit isn't true yet; the code to support com @ ssio isn't there yet on hppa64.
2008-04-20Remove the random() function from locore.s (which used sparcv7 instructions,Mark Kettenis
including mulscc to do multiplications) and switch to the generic random.c code.
2008-04-20Implement locking of sun4u TSB entries for MULTIPROCESSOR kernels.Mark Kettenis
Make sun4v code use the new TSB_TAG_LOCKED define.
2008-04-20rewrite the serial port handling to manipulate the hardware directlyDavid Gwynne
rather than relying on calls into the bios to work. this is a result of me getting pissed off with solaris and linux being able to cope the serial bios redirection on dracs, iloms, and ilos. trying to do the same thing with openbsds boot loader caused weird behaviour like machine hangs or no visible output. talking to the serial chips directly is more reliable. tested by many ok sthen@ deraadt@
2008-04-19Change ELF loader to use the LMA as the load address for theTobias Weingartner
various segments. Hopefully this will help remove various hacks in the boot loader in the future. This should have no effect on most architectures (as we tend to have LMA == VMA). ok drahn@, soft ok's various others.
2008-04-19add a driver flag to force the negotiation of SATA 1 transfersDamien Miller
(1.5Gb/s). Useful where faster speeds are unstable; ok dlg@
2008-04-18Now that i386 has a per-process astpending, we can garbage collect ipi_astMark Kettenis
and do an ipi_nop cross-call from signotify() instead. ok miod@
2008-04-18Halt CPUs upon reboot/halt.Mark Kettenis
ok krw@
2008-04-18if an iic operation fails to move all the data, return errorTheo de Raadt
ok kettenis
2008-04-18use arc4random_uniform() for random number requests that are not aDamien Miller
power of two. use arc4random_bytes() when requesting more than a word of PRNG output. ok deraadt@
2008-04-17Really try to schedule clock ticks at fixed intervals. Make sure hardclock()Mark Kettenis
gets called for every clock tick, even if we miss one.
2008-04-16Support the pcf8584 variant found on the u25/45.Mark Kettenis
2008-04-16Turns out getpropstring() returns an empty string if a property is missingMark Kettenis
instead of NULL. Makes rtc(4) really work on the u25. tested by mikeb@
2008-04-16Make sure tickcmpr_set() always writes a time in the future.Mark Kettenis
2008-04-15Add workaround for UltraSPARC-II errata, where writes to %tick_cmpr wouldMark Kettenis
sometimes fail, which would result in the periodic clock interrupts on a CPU stop. Spotted in a NetBSD commit message, loosely based on code in OpenSolaris.
2008-04-15Add support for the Texas Instruments bq4802 real-time clock found on theMark Kettenis
Ultra 25 and Ultra 45.
2008-04-15It turns out the mysterious chip with the heatsink glued on, found on mgxMiod Vallat
video boards, is a known entity, so add support for 2d acceleration with the help of the X code (which makes baby Jesus cry). The blitter is fast enough to make a cgsix feel as slow as a cgthree in comparison.
2008-04-15Fix braino in mgx_loadcmap() invocation.Miod Vallat
2008-04-15Oops, it's a bit too early for -Wvariable-decl on sparc.Miod Vallat
2008-04-14Introduce macros to switch to normal and alternate globals and switch toMark Kettenis
use the .section based mechanism to patch them up for sun4v.
2008-04-14typo in attachmentTheo de Raadt
2008-04-13Use %g7 to store a pointer `struct cpu_info', and use it whereever possible.Mark Kettenis
2008-04-13lear CPUF_RUNNING when halting a CPU. Fixes problems with powering dowmMark Kettenis
MP amd64 systems for quite a few people. ok deraadt@, krw@
2008-04-13garbage collect the cpus_running global variable;Thordur I. Bjornsson
pointed out by and ok drahn@, toby@;
2008-04-12Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).Miod Vallat
2008-04-12typosMiod Vallat
2008-04-12Introduce macros to get and set the MMU context ID in asm code and switch toMark Kettenis
use the .section based mechanism to patch them up for sun4v.
2008-04-12Get rid of acpi_s5 global variables; simply send SIGUSR2 instead of SUGUSR1Mark Kettenis
to tell init(8) to power down the machine. ok krw@