plan9fox/sys
mischief ca5cc6519d pc: clip rectangles before sending them to the hardware in flushmemscreen
the vmware svga video card emulated by qemu (qemu -vga vmware) complains and eventually causes a panic if the rectangles aren't clipped.

messages like the following can be observed from qemu before the kernel panics:
vmsvga_update_rect: update h was < 0 (-20000)
vmsvga_update_rect: update height too large y: 10000, h: 0
vmsvga_update_rect: update w was < 0 (-20000)
vmsvga_update_rect: update width too large x: 10000, w: 0

i could only reproduce this in qemu 2.0.50 on the master branch, when using the ui and had selected 'Zoom To Fit' from the View menu.
2014-06-09 00:22:11 -07:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: i believe any successful Plan 9 distro will need to provide some transparency in the change review process. -- Skip Tavakkolian 2014-06-06 00:58:36 -04:00
include thread.h: varargck argpos for threadsetname 2014-05-03 12:09:53 +02:00
lib add _nsec() syscall 53 for binary compatibility with labs distribution 2014-05-20 05:06:31 +02:00
man iostats: add -C flag to enable mount cache 2014-06-08 18:54:36 +02:00
src pc: clip rectangles before sending them to the hardware in flushmemscreen 2014-06-09 00:22:11 -07:00