Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-03-17 | For arm pre-v6 (ie all supported machines) it is necessary to disable | Dale Rahn | |
interrupts to be able to have an atomic update of a variable without a mutex. | |||
2007-03-17 | Implement proper atomic.h for powerpc. With help from art@ and drahn@. | Mark Kettenis | |
ok drahn@ | |||
2007-03-17 | Make lcsplx() call spllower() instead of duplicating its code. | Mark Kettenis | |
ok miod@ | |||
2007-03-17 | Do not start lines printed by the kernel with '<' so that syslog won't get | Miod Vallat | |
confused. | |||
2007-03-17 | Only invoke printstar() in get_pte() if option DEBUG. | Miod Vallat | |
2007-03-17 | Indentation repairs, no code change. | Miod Vallat | |
2007-03-17 | add proper atomic_{set,clear}bits_int implementation | Martin Reindl | |
prodded by art@ ok art@ | |||
2007-03-17 | wpi(4) works fine on amd64 according to | Jonathan Gray | |
Stefan Sperling <stsp@stsp.in-berlin.de> so enable it | |||
2007-03-17 | we do not want uts(4) enabled until we have proper calibration | Robert Nagy | |
support, so revert my previous commit | |||
2007-03-16 | enable uts(4) | Robert Nagy | |
2007-03-16 | add 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-16 | Timecounters for sparc64. The cleanest and easiest timecounter | Artur Grabowski | |
implementation this far. Uses the %tick register (as microtime was using before). kettenis@ ok | |||
2007-03-15 | UltraSPARC-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-15 | Make sure we find the OpenFirmware node for UltraSPARC-IV cpus. | Mark Kettenis | |
2007-03-15 | Since p_flag is often manipulated in interrupts and without biglock | Artur 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-14 | Make SMU sensors and fan control work on PowerMac8,1. | Mark Kettenis | |
tested by Alastair Poole. | |||
2007-03-13 | Nuke __HAVE_OLD_DISKLABEL code, this was never defined anyway. | Miod Vallat | |
2007-03-13 | Add <machine/fpu.h> for upcoming userland changes. | Miod Vallat | |
2007-03-13 | Drop 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-13 | Be more strict during probe, consider failures to get device description | Miod Vallat | |
and device status code fatal, and do not attach in these cases. | |||
2007-03-13 | When about to run X11 in 32 bpp mode, advertize correctly that we are | Miod Vallat | |
really using 24 bpp pixels on 32 bit boundaries. | |||
2007-03-13 | Reset psl to spl0 in cpu_fork(), so that kthreads start at spl0 and not | Miod Vallat | |
splhigh(); from NetBSD | |||
2007-03-13 | Move UKC later in the boot process, so that it can use malloc(). | Miod Vallat | |
2007-03-13 | It is safe to run tlb_exception() at the pre-fault ipl. | Miod Vallat | |
2007-03-13 | Add two more SFSR bits found on UltraSPARC-III cpus. | Mark Kettenis | |
2007-03-13 | Dangling include | Miod Vallat | |
2007-03-13 | tlb shootdown in pmap_change_attrs was shooting the wrong va. | Artur Grabowski | |
"yes man" mickey@ (I think that meant 'ok'). | |||
2007-03-13 | Implement proper atomic.h for sparc64. | Artur Grabowski | |
ok kettenis@ | |||
2007-03-07 | For unsupported (yet) Expert3D style frame buffers, attach pcons and attach | Miod 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-06 | Implement WSDISPLAYIO_GETSUPPORTEDDEPTH; makes X actually work if you follow | Mark Kettenis | |
the instructions in /usr/X11R6/README. | |||
2007-03-06 | Three more Expert3D-like frame buffers we shouldn't attach to yet. | Miod Vallat | |
2007-03-05 | Add pmap_prefer() for SH4, from NetBSD; ok drahn@ | Miod Vallat | |
2007-03-05 | Prevent a NULL pointer dereference in __pmap_kptp_lookup(); from NetBSD | Miod Vallat | |
2007-03-05 | Lower 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-05 | Work around a virtual aliasing conflict issue. Basically allow multiple | Dale Rahn | |
readers but only one writer on a physical page. Not the most optimal, but has been tested. ok miod@ | |||
2007-03-05 | Add mmap for upa(4). Makes the X wsfb(4) driver actually work instead of | Mark Kettenis | |
crashing the machine on UltraSPARC-III machines with creator(4) framebuffers. ok jason@, tsi@ | |||
2007-03-05 | proper check for [non]user returns to syscall gate page; found by miod@ | Michael Shalayeff | |
2007-03-04 | Oops, bring back pmap_collect1() and the check for pmap_kernel() in | Miod Vallat | |
pmap_collect() as we do an explicit pmap_collect(pmap_kernel()) in dire memory situations. | |||
2007-03-04 | Limit knowledge of splfoo() return values, and use mac68k_machine.via1_ipl | Miod Vallat | |
instead of hardcoded 1; this gets us rid of unnecessary polls on machines running with A/UX interrupts. | |||
2007-03-04 | Invoke adb_cuda_autopoll() and leave polling mode after all initialization | Miod 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-03 | Kernel crash dumps and associated libkvm bits for landisk. | Miod Vallat | |
2007-03-03 | Fix a logic error in dumpconf() | Miod Vallat | |
2007-03-02 | Move landisk to hardware floating point. At the moment the FPU context is | Miod Vallat | |
always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build | |||
2007-03-01 | typo | Miod Vallat | |
2007-03-01 | On the first generation iMac G5 (PowerMac8,1) the fans node is called | Mark Kettenis | |
rpm-fans. | |||
2007-03-01 | If the kauai is not found in openfirmware, abort the config. ok deraadt | Dale Rahn | |
2007-03-01 | Don't attach sensors and iic(4) if we didn't find any fans. | Mark Kettenis | |
Tickling the SMU when we don't set the fans running is bad since this prevents the fans to spin up automatically causing the machine to overheat. | |||
2007-03-01 | proper softint treatment (that get missed otherwise); found and tested by ↵ | Michael Shalayeff | |
mpf@ on pppoe; drahn@ ok | |||
2007-02-28 | some older machines have small banks, and the kernel is too big! | Theo de Raadt | |
remove one very rarely used driver; tested by mglocker miod will look at this later ;) | |||
2007-02-28 | Add Smart Battery Monitor device driver. Provided by | Alexander Yurchenko | |
Aaron Linville <aaron@linville.org> in PR 5398. |