Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/rasops



Module Name:    src
Committed By:   tsutsui
Date:           Mon Dec  2 14:05:51 UTC 2013

Modified Files:
        src/sys/dev/rasops: README rasops_bitops.h rasops_masks.c
            rasops_masks.h

Log Message:
Fix 1 bpp rasops copycols() op:

 - fix inverted shift direction in MBL() and MBR() macro in BE case
   (used by GETBITS() and PUTBITS() in copycols() function in rasops_bitops.h)
 - make all bitmask values unsigned and use proper uint32_t types for
   bitmap variables (to avoid arithmetic right shift)
 - fix various botches in right-to-left copy op (logic is taken from hp300)

Tested on bwtwo(4) on NetBSD/sparc.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/rasops/README
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/rasops/rasops_bitops.h
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/rasops/rasops_masks.c
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/rasops/rasops_masks.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index