Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-26 | Correctly report unconfigured child devices. | Miod Vallat | |
2008-12-26 | Do not attach if not the console, I expect the same problems as for p9100, | Miod Vallat | |
but I don't know what initialization sequence is needed on the p9000... | |||
2008-12-26 | When running on serial console, do not try to pick the prom font (this would | Miod Vallat | |
fail anyway since stdout is not a frame buffer), and force a complete ramdac initialization - access to several of the control registers spin otherwise. | |||
2008-12-25 | Return proper display types to the WSDISPLAYIO_GTYPE ioctl, instead of | Miod Vallat | |
deprecated WSDISPLAY_TYPE_SUN24; X11 knows about them since several releases already. | |||
2008-12-25 | Correctly display underlined spaces. | Miod Vallat | |
2008-12-24 | No need to invoke fbwscons_setcolormap() twice. | Miod Vallat | |
2008-12-24 | Get rid of all remaining magic numbers but 32. If you need to know why 32 | Miod Vallat | |
is magic on a 32-bit platform, maybe you shouldn't do kernel programming. | |||
2008-12-24 | Provide an accelerated putchar routine for fonts 16 bits wide or less (and | Miod Vallat | |
the code can do up to 32 bit without serious changes, but I'm lazy). | |||
2008-12-24 | Oops, logic botch in 1.34 would disable 24 bit mode on S24. | Miod Vallat | |
2008-12-24 | On cards which advertize complete rop support, use the stipple engine to | Miod Vallat | |
draw the inverted cursor. | |||
2008-12-24 | It turns out the 8-bit tcx flavour has undocumented low-res video modes (soon | Miod Vallat | |
to be in tcx.4), which require a font swap and thus clearing the screen at attach time if console. Add the necessary code for this. | |||
2008-12-24 | When switching between 8 bit and 24 bit modes on S24, use the blitter | Miod Vallat | |
whenever possible to speed things up. Also, do not map the control space anymore and access in through physical addresses, as done for the blitter and stipple spaces; saves another 4MB of KVM on S24. | |||
2008-12-24 | cleanup, work around issue with interrupt getting enabled too early. | Dale Rahn | |
2008-12-24 | Basic acceleration code for tcx: solid fills and some simple block copy cases. | Miod Vallat | |
Makes it noticeably faster, especially when scrolling on console. Tested on SS4 (tcx) and SS5 (S24) in 1152x900 and 1024x768 modes. | |||
2008-12-23 | No need to keep the 32 bit space mapped, since it is only used by userland | Miod Vallat | |
and through mmap; also shrink the softc of about 120 bytes by not keeping a copy of all prom regions when only two of them are needed. While there, map THC at the preferred address on S24 flavours, and do not reprogram the control bits on S24 at attach time (since the prom has already done this for us). Tested on ss4 and ss5+S24. | |||
2008-12-22 | We never actually rely on storing %fp in tf_global[0] for clockframes. So | Mark Kettenis | |
save ourselves an instruction and remove the pretty misleading comments. | |||
2008-12-22 | If we ever get an interrupt from userland with %otherwin set, we have a serious | Mark Kettenis | |
bug. Don't try to fix things up; it's doomed to fail anyhow. | |||
2008-12-22 | Get rid of many arbitrary differences between the i386 and amd64 mpbios code. | Mark Kettenis | |
Mostly KNF issues, some reorganisation of the code. ok dlg@, deraadt@, krw@ | |||
2008-12-22 | use the exact same policy for choosing apic on all 3 types of kernel. | Theo de Raadt | |
ok kettenis | |||
2008-12-21 | Proper cpu_unidle() function for MP kernels. ok art@ long ago | Miod Vallat | |
2008-12-21 | During early device probes, make sure to iounaccess() address ranges when | Miod Vallat | |
they are no longer necessary. No good reason to do so but correctness, and then leaving correct mappings after probe might hide bugs. | |||
2008-12-21 | add option COMPAT_35, needed by COMPAT_VAX1K | Miod Vallat | |
2008-12-21 | Make the "machine xir" ddb command work on machines with pyro(4). | Mark Kettenis | |
tested by deraadt@ | |||
2008-12-21 | just attach cpu0, not cpu*, ok kettenis | Theo de Raadt | |
2008-12-21 | Change the way we include mpbios code to be similar to what we do on i386. | Mark Kettenis | |
ok deraadt@ | |||
2008-12-19 | Add missing #ifdef DDB around prototyupe. | Mark Kettenis | |
2008-12-18 | Don't set the global bit PG_G for kernel pmap low memory mappings. | Kurt Miller | |
ok deraadt@ | |||
2008-12-18 | Don't set the global bit PG_G for kernel pmap low memory mappings. Use a | Kurt Miller | |
new function pmap_prealloc_lowmem_ptp() to setup kernel pmap ptp 0 without the PG_G bit set. This fixes the remaining reaper -> pmap_page_remove panics. With much diagnostic help from Art and Theo. ok deraadt@ | |||
2008-12-18 | use atomic operations to update ptes in pmap_unwire(). okay weingart@ | Kurt Miller | |
2008-12-16 | Make the "machine xir" ddb command work on machines with Tomatillo | Mark Kettenis | |
schizo(4) variants. | |||
2008-12-15 | Make the "machine xir" ddb command work on machines with uperf(4) on ebus(4). | Mark Kettenis | |
2008-12-15 | Let tty subsystem know when transmit is finished so ioctls do not hang. | Dale Rahn | |
2008-12-14 | Implement a "machine xir" ddb command, making it possible to send an | Mark Kettenis | |
External Initiated Reset (XIR) to processors. A XIR is non-maskable and will drop us at the PROM ok prompt. This makes it possible to diagnose problems where a CPU is spinning with interrupts disabled. For now, this is only supported on machines with bbc(4). | |||
2008-12-13 | Properly restore PSTATE_IE when returning from send_softint(). | Mark Kettenis | |
Fixes "ipi_send: couldn't send ipi" panics. | |||
2008-12-11 | Kill the $ARCH prefix for isa_dma_cookie. With this change, the i386 and | Owain Ainsworth | |
amd64 isa dma code is identical save for some formatting, and a slight difference in bus_dmamem_alloc. "Die x86_!" krw@. | |||
2008-12-11 | revert back to 1.4, since there's still some code that uses this; pointed | Martynas Venckus | |
out by theo | |||
2008-12-10 | When booting from a CD on i386/amd64, assume the root filesystem | Kenneth R Westerback | |
is on the CD rather than always asking for its location. Behaviour pointed out at OpenCON by Stephan Rickauer. Tested by Stephan. nick@ has no objections. ok deraadt@ | |||
2008-12-10 | both x86 platforms isa bus_dma implementations handle bus_dmamap_sync | Owain Ainsworth | |
incorrectly. The spec (manpage) states that using two PRE or two POST ops together is entirely valid, but mixing pre and post is invalid. The way this was handled before with a switch statement meant that only individual commands actually would be recognised, so move to just checking the commands indidually using "if (op & $command)". Additionally, add a DIAGNOSTIC check and panic for the mixing of pre and post operations (this is done on several other architectures already). tested by several people; thanks! ok dlg@, kettenis@, "the diff made sense" deraadt. | |||
2008-12-09 | sparc does not have extended precision, therefore remove unused | Martynas Venckus | |
definitions. ok millert@. tested by jsg@ | |||
2008-12-08 | some sscom and interrupt cleanup, closer to usable userland. | Dale Rahn | |
2008-12-07 | Make acpiprt(4) check whether the current interrupt routing is "possible" and | Mark Kettenis | |
pick a new one from the list of possible routings if it isn't or if a pin is currently not routed. Delay re-routing interrupts until we establish a handler for it. This prevents us from messing with unused interrupt pins which may have fatal consequences (some machines spontaniously reboot). The heuristics for picking an interrupt from the list of possibe ones probably needs some tweaking still, but this makes several NVIDIA-based boards work much better than before. tested by many, ok marco@ | |||
2008-12-06 | Revert this to, due to the ppc intr backout. -moj ok @kettenis | Mats O Jansson | |
2008-12-06 | revert all changes related to the mpsafe intr handler. i screwed up the commit | Ted Unangst | |
and even then it didn't work. we have higher standards than this. | |||
2008-12-06 | not commited, i'm a retard | Ted Unangst | |
2008-12-06 | the not MP version didn't compile, mglocker found | Ted Unangst | |
2008-12-06 | cvs wouldn't let me check this in before | Ted Unangst | |
2008-12-06 | some more trouble where i failed to account for oga's diff | Ted Unangst | |
2008-12-06 | mpsafe intr_establish that doesn't get biglock, so that we may dream of the ↵ | Ted Unangst | |
day when this is useful. mostly macro magic that does nothing. only actually useful on amd64 for now, compliments of art. | |||
2008-12-04 | *sigh* unbreak the tree. | Owain Ainsworth | |
Some old diff snuck into this change. | |||
2008-12-04 | Revert ppc intr stuff. Make socppc compile again. -moj | Mats O Jansson | |