Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-15 | Remove the MI implementation of mutexes and remove the __HAVE_MUTEX | Artur Grabowski | |
option. Every architecture implements mutexes now. | |||
2007-05-15 | kill __HAVE_DEVICE_REGISTER by requiring all architectures to have a | Theo de Raadt | |
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them) | |||
2007-05-10 | Don't zero out the cpu_info in cpu_attach. We've already set a field in | Artur Grabowski | |
it (curproc) and it's allocated from zeroed memory anyway. deraadt@ ok and test. | |||
2007-05-08 | Remove cross-compiling stuff that is neither correct nor should have been ↵ | Artur Grabowski | |
committed. | |||
2007-05-08 | Switch sparc to __HAVE_CPUINFO. | Artur Grabowski | |
miod@ tested (since I hacked it up blindly) and ok. | |||
2007-05-04 | make findblkmajor() and findblkname() MI; ok miod | Theo de Raadt | |
2007-05-04 | setroot() was a ugly mix of MI and MD code, with different bugs on different | Theo de Raadt | |
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..) | |||
2007-05-01 | Provide <machine/lock.h> on all platforms, so that MI code may #include it | Miod Vallat | |
unconditionnaly. | |||
2007-05-01 | RAMDISK kernels do not need DIAGNOSTIC | Theo de Raadt | |
2007-05-01 | expose two things needed for non-DIAGNOSTIC kernels | Theo de Raadt | |
2007-04-30 | check for exit string earlier | Theo de Raadt | |
2007-04-30 | support "exit" like sparc64 does; ok miod | Theo de Raadt | |
2007-04-29 | Replace expansions of DISKLABELDEV() with DISKLABELDEV(). Shorter, and | Kenneth R Westerback | |
more consistant. No change to code. ok miod@ | |||
2007-04-27 | Even floppies should use DISKLABELDEV() on the dev_t parameter to | Kenneth R Westerback | |
readdisklabel/writedisklabel. ok deraadt@ weingart@ conceptual ok drahn@ | |||
2007-04-27 | Disable interrupts around bit operations; ok deraadt@ | Miod Vallat | |
2007-04-10 | ``it's'' -> ``its'' when the grammar gods require this change. | Miod Vallat | |
2007-04-10 | slighly -> slightly | Miod Vallat | |
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-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-02-25 | Disable acceleration by default; set device flags to a nonzero value to | Miod Vallat | |
enable. | |||
2007-02-19 | only make this interface available to the kernel for now, discussed witha | Theo de Raadt | |
rt and such; tested and ok miod drahn | |||
2007-02-18 | Display the interrupt priority in dmesg, for frame buffers which register | Miod Vallat | |
interrupt handlers. | |||
2007-02-18 | Make it more apparent these boards have (crippled version of) vga-compatible | Miod Vallat | |
crtc. No functional change. | |||
2007-02-15 | Don't print the error strings returned by readdisklabel(). If you | Kenneth R Westerback | |
need the debug info uncomment the printf's you need. Crude but effective way to suppress 'no disklabel' errors that pop up at the most innconvenient times to frighten users. More elegant method, DPRINTF-like constructs or something, later. "Yay!" marco@ ok deraadt@ | |||
2007-02-06 | Add machine/atomic.h to all architectures and define two operations | Artur Grabowski | |
right now that are supposed to be atomic with respect to interrupts and SMP: atomic_setbits_int and atomic_clearbits_int. All architectures other than i386 and amd64 get dummy implementations since at first we'll be replacing operations that are done with "a |= bit" and "a &= ~bit" today. More proper implementations will follow kettenis@, miod@ ok | |||
2007-02-03 | Simple single-processor mutex implementation, simpler than the MI code by | Miod Vallat | |
use of MD spl code bowels. No functional change. | |||
2007-01-22 | Allow pmap_zeropage and pmap_copypage to work with cache enabled on | Miod Vallat | |
MicroSPARC-1, since cache is not write allocate; also provide a smarter routine to flush a small section of the data cache, but do not enable it since we almost never flush less than 2KB (which is the whole MS1 D cache size); adapted from NetBSD, tested on SPARCclassic. | |||
2006-12-27 | pnozz is initialized by the prom in 8bpp mode, so don't bring high-depth | Miod Vallat | |
rasops code; 3.5KB off RAMDISK kernels. | |||
2006-12-27 | Add code to change video mode (resolution and color depth) on the fly for | Miod Vallat | |
pnozz(4), when switching between emulation (i.e. text console) and mapped (i.e. X11) modes. Geometries different than 800x600 are only available on the external video port, with the internal panel blanked. Currently this mode is compiled in, until an interface allows the X server and the kernel to settle on which one to use. Due to the internal panel blanking requirements, all of this is only available if tctrl(4) is configured in, which is the case for GENERIC but not for installation media kernels (who runs X11 with installation media anyway?) Most of this has been written 18 months ago, it was just lacking a final touch... | |||
2006-12-24 | Define PROC_PC. Then, since profiling information is being reported in | Miod Vallat | |
statclock(), do not bother doing this in userret() anymore. As a result, userret() does not need its pc and ticks arguments, simplify. | |||
2006-12-24 | Check for want_resched when processing AST and nowhere else. But then, when | Miod Vallat | |
doing so, do not check for signals - userret() will do this. | |||
2006-12-13 | Remove the dma_eop callback in the ncr5380 driver md attachment, it was always | Miod Vallat | |
doing nothing and the mi code does not use it anymore anyway. No functional change. | |||
2006-12-10 | Delay two seconds after board reset before trying to probe scsi devices. | Miod Vallat | |
2006-12-10 | Allow ``flags 0'' to work to disable DMA for si(4) and sw(4) - it would get | Miod Vallat | |
ignored previously. | |||
2006-12-10 | Fix typo in intersil clock programming. | Miod Vallat | |
2006-12-09 | Do not make sun terminal emulation selected by the wsemul_sun frame buffer | Miod Vallat | |
attribute anymore; remove it and use option WSEMUL_SUN instead, which gets added to all sparc* kernels. While there, do not compile vt100 emulation on sparc* kernels, this saves 16+ KB of text. ok deraadt@ | |||
2006-12-03 | Change cgeight to run the console in the monochrome overlay plane (as cgtwelve | Miod Vallat | |
does), and only use the 24 bit color planes when running X. Not tested, but can't be worse than before - the code it replaces was busted anyway. | |||
2006-12-03 | In fb_setsize(), remove dead code in the SUN4 case. | Miod Vallat | |
2006-12-03 | Instead of invoking rasops_init with a wrong depth value to have some | Miod Vallat | |
values computed better, prefer invoking it with the real thing and recomputing what needs to be afterwards. No functional change, but this allows fb.c to assume a few things about its callers. | |||
2006-12-03 | Do the ri_devcmap reprogramming dance in fbwscons_init(), so that it applies | Miod Vallat | |
to non-console frame buffers as well. | |||
2006-12-03 | Initialize more fields of the proto disklabel before invoking readdisklabel(), | Miod Vallat | |
to pass its recent sanity checks. | |||
2006-12-03 | Enable all color planes on attach and wait for retrace to program the | Miod Vallat | |
colormap, this finally makes color work. | |||
2006-12-03 | Clean frame buffer attachment code: | Miod Vallat | |
- There is no need to check for buses config(8) will not let us attach to - Better P4 bus logic, which does not need to abuse device flags - Do not bother trying to print a meaningful device description when it is not connected to sbus. | |||
2006-12-03 | Revert r1.35 (ether_input to ether_input_mbuf conversion), this causes | Miod Vallat | |
unaligned accesses on some packets. | |||
2006-12-02 | Fix ri_devcmap[] to allow WSCOL_BLACK and WSCOL_WHITE to not have to be | Miod Vallat | |
different for sparc{,64} systems. | |||
2006-12-02 | Use ri_devcmap to get corrected color values, instead of directly using | Miod Vallat | |
WSCOL_xxxx values. | |||
2006-12-02 | Use the unpack_attr emulops instead of doing an inline rasops_unpack_attr. | Miod Vallat | |
2006-12-02 | zx needs rasops8 code for emulation modes, not rasops32. | Miod Vallat | |
2006-11-29 | Add an unpack_attr function to struct wsdisplay_emulops, to match the | Miod Vallat | |
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers. | |||
2006-11-29 | Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (except | Miod Vallat | |
for cpu_swapin() on hppa* which is kept). |