summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-03-19Move i386 to timecounters. This is more or less the same code as amd64.Artur Grabowski
The "lapic" timer is ripped out since it wasn't actually a lapic timer, but a hacked up tsc timer with some synchronization for MP. There is no tsc timer right now since they are very unreliable on MP systems, systems with apm, and systems that change the cpu clock. Which basically means every modern machine out there. We're running with the i8259 timer now. deraadt@ ok
2007-03-19typo fixes; didickman@gmailTheo de Raadt
2007-03-19Add a new device that provides a framework for IO manipulation. A very basicMarco Peereboom
implementation of a RAID 1 is included in this but it does not deal with failures yet. Disabled in GENERIC. Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@
2007-03-18put support for alphaservers 1200 and 4100 on ramdisk kernelsMartin Reindl
ok deraadt@
2007-03-18typoTheo de Raadt
2007-03-18Enable pxammc and sdmmc in RAMDISK, too.Uwe Stuehler
2007-03-18Support the PXA27x SD/SDIO/MMC controller on ZaurusUwe Stuehler
We use the suggested workaround for the problem E40 in the PXA27x errata sheet. Unfortunately this limits the bus speed to 9.75Mhz.
2007-03-18Add an interface to scoop(4) to control CF and SD card powerUwe Stuehler
2007-03-18do not steal page table pages on page allocation failure -- it can be dealt ↵Michael Shalayeff
w/ in a more simple way as other archs do; art@ ok
2007-03-17For arm pre-v6 (ie all supported machines) it is necessary to disableDale Rahn
interrupts to be able to have an atomic update of a variable without a mutex.
2007-03-17Implement proper atomic.h for powerpc. With help from art@ and drahn@.Mark Kettenis
ok drahn@
2007-03-17Make lcsplx() call spllower() instead of duplicating its code.Mark Kettenis
ok miod@
2007-03-17Do not start lines printed by the kernel with '<' so that syslog won't getMiod Vallat
confused.
2007-03-17Only invoke printstar() in get_pte() if option DEBUG.Miod Vallat
2007-03-17Indentation repairs, no code change.Miod Vallat
2007-03-17add proper atomic_{set,clear}bits_int implementationMartin Reindl
prodded by art@ ok art@
2007-03-17wpi(4) works fine on amd64 according toJonathan Gray
Stefan Sperling <stsp@stsp.in-berlin.de> so enable it
2007-03-17we do not want uts(4) enabled until we have proper calibrationRobert Nagy
support, so revert my previous commit
2007-03-16enable uts(4)Robert Nagy
2007-03-16add DEC_KN300 support from NetBSD;Robert Nagy
This code makes it possible to run on some of the AlphaServers, namely AlphaServer 4100 and 1200. add mcbus(4) and mcpcia(4) to provide support for the system bus and the MCPCIA-to-PCI bus adapter that can be found in these systems allow the pci_swiz_bus code to handle variable extent names to be able to handle more than one mcpcia(4) "just commit it" deraadt@
2007-03-16Timecounters for sparc64. The cleanest and easiest timecounterArtur Grabowski
implementation this far. Uses the %tick register (as microtime was using before). kettenis@ ok
2007-03-15UltraSPARC-IV cpus appear a bit different in OpenFirmware than older cpus.Mark Kettenis
Make sure we fetch the right properties such that we don't crash later in the pci bus walking code when we divide by a zero cache line size.
2007-03-15Make sure we find the OpenFirmware node for UltraSPARC-IV cpus.Mark Kettenis
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
it's a good idea to use atomic.h operations on it. This mechanic change updates all bit operations on p_flag to atomic_{set,clear}bits_int. Only exception is that P_OWEUPC is set by MI code before calling need_proftick and it's automatically cleared by ADDUPC. There's no reason for MD handling of that flag since everyone handles it the same way. kettenis@ ok
2007-03-14Make SMU sensors and fan control work on PowerMac8,1.Mark Kettenis
tested by Alastair Poole.
2007-03-13Nuke __HAVE_OLD_DISKLABEL code, this was never defined anyway.Miod Vallat
2007-03-13Add <machine/fpu.h> for upcoming userland changes.Miod Vallat
2007-03-13Drop the second and third arguments to adb_op_sync, for they are not used;Miod Vallat
while there, remove explicit global variable initializations to zero, and appease the gods by removing the most ludicrous spurious casts. No functional change (except for code shrinkage).
2007-03-13Be more strict during probe, consider failures to get device descriptionMiod Vallat
and device status code fatal, and do not attach in these cases.
2007-03-13When about to run X11 in 32 bpp mode, advertize correctly that we areMiod Vallat
really using 24 bpp pixels on 32 bit boundaries.
2007-03-13Reset psl to spl0 in cpu_fork(), so that kthreads start at spl0 and notMiod Vallat
splhigh(); from NetBSD
2007-03-13Move UKC later in the boot process, so that it can use malloc().Miod Vallat
2007-03-13It is safe to run tlb_exception() at the pre-fault ipl.Miod Vallat
2007-03-13Add two more SFSR bits found on UltraSPARC-III cpus.Mark Kettenis
2007-03-13Dangling includeMiod Vallat
2007-03-13tlb shootdown in pmap_change_attrs was shooting the wrong va.Artur Grabowski
"yes man" mickey@ (I think that meant 'ok').
2007-03-13Implement proper atomic.h for sparc64.Artur Grabowski
ok kettenis@
2007-03-07For unsupported (yet) Expert3D style frame buffers, attach pcons and attachMiod Vallat
a really dumb wsdisplay to pcons, so that wskbd/wsmouse input drivers can be used for input, and prom for output. This is a band-aid for the release, so that people with such frame buffers do not need to unplug them or switch to serial console to install OpenBSD. Probably not the best way to do this, but this one has a minimal footprint and no tentacles in wscons. ok deraadt@
2007-03-06Implement WSDISPLAYIO_GETSUPPORTEDDEPTH; makes X actually work if you followMark Kettenis
the instructions in /usr/X11R6/README.
2007-03-06Three more Expert3D-like frame buffers we shouldn't attach to yet.Miod Vallat
2007-03-05Add pmap_prefer() for SH4, from NetBSD; ok drahn@Miod Vallat
2007-03-05Prevent a NULL pointer dereference in __pmap_kptp_lookup(); from NetBSDMiod Vallat
2007-03-05Lower the ipl to what it was at the time of the trap in general_exception,Miod Vallat
instead of remaining at splhigh; from NetBSD ok drahn@
2007-03-05Work around a virtual aliasing conflict issue. Basically allow multipleDale Rahn
readers but only one writer on a physical page. Not the most optimal, but has been tested. ok miod@
2007-03-05Add mmap for upa(4). Makes the X wsfb(4) driver actually work instead ofMark Kettenis
crashing the machine on UltraSPARC-III machines with creator(4) framebuffers. ok jason@, tsi@
2007-03-05proper check for [non]user returns to syscall gate page; found by miod@Michael Shalayeff
2007-03-04Oops, bring back pmap_collect1() and the check for pmap_kernel() inMiod Vallat
pmap_collect() as we do an explicit pmap_collect(pmap_kernel()) in dire memory situations.
2007-03-04Limit knowledge of splfoo() return values, and use mac68k_machine.via1_iplMiod Vallat
instead of hardcoded 1; this gets us rid of unnecessary polls on machines running with A/UX interrupts.
2007-03-04Invoke adb_cuda_autopoll() and leave polling mode after all initializationMiod Vallat
commands are set; also add a delay between adb_intr_cuda() and adb_soft_intr() while polling, as this seems to be necessary on some models; ok gwk@ drahn@
2007-03-03Kernel crash dumps and associated libkvm bits for landisk.Miod Vallat