The NetBSD Project

CVS log for src/sys/dev/rasops/rasops.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / rasops

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.128.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:22:32 2026 UTC (11 days, 6 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +100 -10 lines
Sync with HEAD

Revision 1.131: download - view: text, markup, annotated - select for diffs
Mon Sep 28 12:37:33 2026 UTC (6 weeks, 6 days ago) by rkujawa
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +31 -2 lines
A bunch of fixes to wscons accumulated over last few months.

Glyph cache:
- Handle situation when it can not hold a single bucket -
fixes garbage after loading a font that does not fit in VRAM.
- Make sure that glpyhcache_wipe() clears the whole map -
fixes wrong glyphs after a font change when cache is small.
- Return GC_NOPE when cache has no buckets - fixes NULL deref
when someone tries to draw before initializing the cache.
- Don't allow glyphcache_try() to steal when only one bucket
exists - fixes corruption for second color on small caches.

vcons:
- When loading font only call show_screen_cb for visible
screen - fixes corrpution of visible screen when loading font
for another screen.
- Make underlined blanks go through putchar() instead of
erasecols() - fixes loss of underlined spaces on screen
redraw.
- Translate WSDISPLAY_CHAR_* flags into WSATTR_* - fixes
WSDISPLAYIO_PUTWSCHAR discarding colors (wsmoused now works
on vcons screens).
- Store flags when doing vcons_getwschar(), decode attr
through rasops helper - fixes WSDISPLAYIO_GETWSCHAR returning
non-initialized flags and bad colors (another wsmoused fix).
- The above fixes also ensure there's no potential heap
overwrite/out of bound read during mentioned ioctls.

rasops:
- The new rasops_unpack_attr_args() helper, reverse of
allocattr().

Revision 1.130: download - view: text, markup, annotated - select for diffs
Thu Jan 1 02:19:01 2026 UTC (10 months, 2 weeks ago) by tnn
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -4 lines
rasops_allocattr_mono: fix regression from WSSCREEN_256COL

0xff was never a valid colormap index, but worked by accident
since the previous ATTR_FG implementation clamped the value.
Now it results in black text on black background.
Use named WSCOL_* constants instead.

Revision 1.128.12.1: download - view: text, markup, annotated - select for diffs
Fri Nov 14 13:12:27 2025 UTC (12 months ago) by martin
Branches: netbsd-11
CVS tags: netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +69 -8 lines
Pull up following revision(s) (requested by nia in ticket #81):

	sys/dev/rasops/rasops.h: revision 1.52
	sys/dev/wscons/wsemul_vt100_subr.c: revision 1.35
	sys/dev/rasops/rasops_putchar.h: revision 1.9
	sys/dev/rasops/rasops.c: revision 1.129
	sys/dev/wscons/wsdisplayvar.h: revision 1.58

wscons(4): Add support for 256 colours to VT100 emulation

Also implemented are CSI 90-97 and CSI 100-107 to set the bright
versions of the regular eight colours directly.
wscons already has full support of 8/16/24/32-bit displays (and
can take advantage of them for antialiased fonts), but increasingly
command-line applications are built to take advantage of colours beyond
the standard 8 provided by the ANSI escape codes. These extensions are
not generally standardized, but xterm serves as a de-facto standard.
Patch from Crystal Kolipe, adjusted slightly to work on 16-bit and
24-bit displays by me.

PR kern/59544

Revision 1.129: download - view: text, markup, annotated - select for diffs
Sun Nov 2 22:16:24 2025 UTC (12 months, 1 week ago) by nia
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +69 -8 lines
wscons(4): Add support for 256 colours to VT100 emulation

Also implemented are CSI 90-97 and CSI 100-107 to set the bright
versions of the regular eight colours directly.

wscons already has full support of 8/16/24/32-bit displays (and
can take advantage of them for antialiased fonts), but increasingly
command-line applications are built to take advantage of colours beyond
the standard 8 provided by the ANSI escape codes. These extensions are
not generally standardized, but xterm serves as a de-facto standard.

Patch from Crystal Kolipe, adjusted slightly to work on 16-bit and
24-bit displays by me.

PR kern/59544

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun May 15 16:43:39 2022 UTC (4 years, 6 months ago) by uwe
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-11-base, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: perseant-exfatfs, netbsd-11
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +13 -2 lines
rasops: fix automagic box chars for stride > 1 on little endian

This makes DEC line drawing (acsc) work correctly for "iso" fonts of
large sizes, e.g. spleen16x32 on x86.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Sun May 15 16:12:52 2022 UTC (4 years, 6 months ago) by uwe
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +5 -5 lines
rasops_mapchar: cosmetics, same object code.

Don't hide the important function call inside an if condition.  Don't
reuse a variable, changing what it means in the middle of an
expression.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Sun May 15 10:29:20 2022 UTC (4 years, 6 months ago) by uwe
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -3 lines
rasops: make autogenerated box drawing chars actually used

Fix mapchar to use PICK_FONT() to match what putchar does.  Otherwise
putchar will never get to see the glyph codes for the autogenerated
box drawing chars.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Fri Dec 24 18:12:58 2021 UTC (4 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +4 -2 lines
wsfb: Prefer wide fonts when EDID data is available.

To give us a better chance of picking a readable font, prefer fonts that
will render at least 3mm wide instead of picking the font that will be
closest to that size.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Oct 4 12:26:29 2021 UTC (5 years, 1 month ago) by rin
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +6 -5 lines
rasops_reconfig: Do not abort even if font stride is not supported by
rasops_make_box_chars_*() functions; Stop using ri_optfont instead.

XXX
Add rasops_make_box_chars_24().

Revision 1.123: download - view: text, markup, annotated - select for diffs
Thu Jul 2 07:49:44 2020 UTC (6 years, 4 months ago) by rin
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +3 -3 lines
Remove pointless cast; dp is already uint32_t *.
No functional changes intended.

Revision 1.77.10.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:47 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.77.10.1: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.10.1: +661 -761 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 15 12:21:27 2019 UTC (7 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +446 -496 lines
Pull up following revision(s) (requested by rin in ticket #56):

	sys/dev/rasops/rasops.c: revision 1.120
	sys/dev/rasops/rasops.h: revision 1.40
	sys/dev/rasops/rasops.c: revision 1.121
	sys/dev/rasops/rasops.h: revision 1.41
	sys/dev/rasops/rasops.c: revision 1.122
	sys/dev/rasops/rasops.h: revision 1.42
	sys/dev/rasops/rasops.h: revision 1.43
	sys/dev/rasops/rasops.h: revision 1.44
	sys/dev/rasops/rasops.h: revision 1.45
	sys/dev/rasops/rasops.h: revision 1.46
	sys/dev/rasops/rasops.h: revision 1.47
	sys/dev/rasops/rasops.h: revision 1.48
	sys/dev/rasops/rasops32.c: revision 1.40
	sys/dev/rasops/rasops32.c: revision 1.41
	sys/dev/rasops/rasops32.c: revision 1.42
	sys/dev/rasops/rasops32.c: revision 1.43
	sys/dev/rasops/rasops32.c: revision 1.44
	sys/dev/rasops/rasops32.c: revision 1.45
	sys/dev/rasops/rasops32.c: revision 1.46
	sys/dev/rasops/rasops1-4_putchar.h: revision 1.1
	sys/dev/rasops/rasops1-4_putchar.h: revision 1.2
	sys/dev/rasops/rasops1-4_putchar.h: revision 1.3
	sys/dev/rasops/rasops1_putchar_width.h: revision 1.3
	sys/dev/rasops/rasops1_putchar_width.h: revision 1.4
	sys/dev/rasops/rasops1_putchar_width.h: revision 1.5
	sys/dev/rasops/rasops1_putchar_width.h: revision 1.6
	sys/dev/rasops/README: revision 1.7
	sys/dev/rasops/rasops_putchar_aa.h: revision 1.5
	sys/dev/rasops/rasops_putchar_aa.h: revision 1.6
	sys/dev/rasops/rasops8.c: revision 1.45
	sys/dev/rasops/rasops8.c: revision 1.46
	sys/dev/rasops/rasops8.c: revision 1.47
	sys/dev/rasops/rasops24.c: revision 1.40
	sys/dev/rasops/rasops8.c: revision 1.48
	sys/dev/rasops/rasops24.c: revision 1.41
	sys/dev/rasops/rasops8.c: revision 1.49
	sys/dev/rasops/rasops24.c: revision 1.42
	sys/dev/rasops/rasops24.c: revision 1.43
	sys/dev/rasops/rasops24.c: revision 1.44
	sys/dev/rasops/rasops_masks.c: revision 1.10
	doc/CHANGES: revision 1.2566
	sys/dev/rasops/rasops24.c: revision 1.45
	doc/CHANGES: revision 1.2567
	sys/dev/rasops/rasops24.c: revision 1.46
	sys/dev/rasops/rasops24.c: revision 1.47
	sys/dev/rasops/rasops24.c: revision 1.48
	sys/dev/rasops/rasops24.c: revision 1.49
	sys/dev/rasops/rasops_bitops.h: revision 1.19
	sys/dev/rasops/rasops_putchar_aa.h: file removal
	sys/dev/wscons/wsdisplay_vcons.c: revision 1.40
	sys/dev/rasops/rasops8.c: revision 1.50
	sys/dev/rasops/rasops8.c: revision 1.51
	sys/dev/rasops/rasops24.c: revision 1.50
	sys/arch/luna68k/dev/omrasops.c: revision 1.21
	sys/dev/rasops/rasops_bitops.h: revision 1.20
	sys/dev/wsfb/genfb.c: revision 1.68
	sys/dev/rasops/rasops_bitops.h: revision 1.21
	sys/dev/wsfb/genfb.c: revision 1.69
	sys/dev/rasops/rasops_putchar_width.h: revision 1.10
	sys/dev/rasops/rasops_bitops.h: revision 1.22
	sys/dev/rasops/rasops_putchar_width.h: revision 1.11
	sys/dev/rasops/rasops_bitops.h: revision 1.23
	sys/dev/rasops/rasops_putchar_width.h: revision 1.12
	sys/dev/rasops/rasops_bitops.h: revision 1.24
	sys/dev/rasops/rasops_putchar_width.h: revision 1.13
	sys/dev/rasops/rasops_bitops.h: revision 1.25
	sys/dev/rasops/rasops_putchar_width.h: revision 1.14
	sys/dev/rasops/rasops_putchar_width.h: revision 1.15
	sys/dev/rasops/rasops1.c: revision 1.32
	sys/dev/rasops/rasops1.c: revision 1.33
	sys/dev/rasops/rasops1.c: revision 1.34
	sys/dev/rasops/rasops1.c: revision 1.35
	sys/dev/rasops/rasops1.c: revision 1.36
	sys/dev/rasops/rasops1.c: revision 1.37
	sys/dev/rasops/rasops4.c: revision 1.21
	sys/dev/rasops/rasops4.c: revision 1.22
	sys/dev/rasops/rasops4.c: revision 1.23
	sys/dev/rasops/rasops4.c: revision 1.24
	sys/dev/rasops/rasops4.c: revision 1.25
	sys/dev/rasops/rasops4.c: revision 1.26
	sys/dev/rasops/rasops4.c: revision 1.27
	sys/dev/rasops/rasops4.c: revision 1.28
	sys/dev/wsfb/genfb.c: revision 1.70
	sys/dev/rasops/rasops2.c: revision 1.27
	sys/dev/rasops/rasops2.c: revision 1.28
	share/man/man9/rasops.9: revision 1.18
	sys/dev/rasops/rasops.c: revision 1.102
	sys/dev/rasops/rasops2.c: revision 1.29
	share/man/man9/rasops.9: revision 1.19
	sys/dev/rasops/rasops.c: revision 1.103
	sys/dev/rasops/rasops.c: revision 1.104
	sys/dev/rasops/rasops.c: revision 1.105
	sys/dev/rasops/rasops.c: revision 1.106
	sys/dev/rasops/rasops.c: revision 1.107
	sys/dev/rasops/rasops_putchar.h: revision 1.6
	sys/dev/rasops/rasops.c: revision 1.108
	sys/dev/rasops/rasops_putchar.h: revision 1.7
	sys/dev/rasops/rasops.c: revision 1.109
	sys/dev/rasops/rasops_putchar.h: revision 1.8
	sys/dev/rasops/rasops2.c: revision 1.30
	sys/dev/rasops/rasops2.c: revision 1.31
	sys/dev/rasops/rasops15.c: revision 1.32
	sys/dev/rasops/rasops2.c: revision 1.32
	sys/dev/rasops/rasops15.c: revision 1.33
	sys/dev/rasops/rasops2.c: revision 1.33
	sys/dev/rasops/rasops15.c: revision 1.34
	sys/dev/rasops/rasops15.c: revision 1.35
	sys/dev/rasops/rasops15.c: revision 1.36
	sys/dev/rasops/rasops.c: revision 1.110
	sys/dev/rasops/rasops15.c: revision 1.37
	sys/dev/rasops/rasops.c: revision 1.111
	sys/dev/rasops/rasops15.c: revision 1.38
	sys/dev/rasops/rasops.c: revision 1.112
	sys/dev/rasops/rasops15.c: revision 1.39
	sys/dev/rasops/rasops.c: revision 1.113
	sys/dev/rasops/rasops.c: revision 1.114
	sys/dev/rasops/rasops.c: revision 1.115
	sys/dev/rasops/rasops_masks.h: revision 1.9
	sys/dev/rasops/rasops.c: revision 1.116
	sys/dev/rasops/rasops.c: revision 1.117
	sys/dev/rasops/rasops.c: revision 1.118
	sys/dev/rasops/rasops.c: revision 1.119
	sys/dev/rasops/rasops.h: revision 1.39

Misc clean-up's:
- protect private stuff in rasops.h by _RASOPS_PRIVATE
- staticify rasops_copycols() and rasops_isgray[]
- G/C unused extern int cold
Switch to per-device stamp, and retire stamp_mutex.

Provide buffer capable of single-row pixels in order to make things simpler.

Factor out copy-paste. No functional changes.
When font is switched, not only putchar, but also other ri_ops can be
changed by backend driver, e.g., see rasops1.c:
https://nxr.netbsd.org/xref/src/sys/dev/rasops/rasops1.c#58
4 is 1 << 2, not 1 << 3...

Fix erasecols and do_cursor for font width >= 32 bits.
Also, some cosmetic clean-up's.

Oops, for rasops_copycols(), we cannot use memmove even if src == dst.
On the other hand, memmove is safe for rasops_copyrows().
Fix unaligned writes to buffer, that are introduced in 1.105:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops.c#rev1.105

Support font width 32 on monochrome screen.

Remove duplicate substitution. Style. No functional changes.

Correct copy count. This affects ``left-to-right'' copy for region
including word boundary.

Fix a bug in shadow fb support for copycols on 1, 2, and 4bpp screen,
which was introduced in 1.18:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops_bitops.h#rev1.18

Add general putchar functions for 2 and 4bpp.
Note that 1bpp continues to use its local version in rasops1.c,
which is much faster and simpler.

Cosmetic changes. No functional changes.

Reflect reality.

Notify size of shadow framebuffer if enabled.

Fix unaligned word write's to buffer, introduced in rev 1.42:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops24.c#rev1.42

Real fix for 24-bpp color:
- When centering screen, locate effective base address of framebuffer to
  both word and 24-bit color boundary.
- Consistently convert ri_devcmap to ``big endian'' if not RI_BSWAP.

Also, fix possible bug for 15/16-bpp with RI_BSWAP (not tested).

Protect rasops_copy{rows,cols}() by _RASOPS_PRIVATE.

Use _KERNEL_OPT.

Simplify calculation for 12-byte alignment.
No functional changes.

Fix black color-attribution for depths 2 and 4.

Depth 2 is monochrome.
IMO, it is impossible to support ANSI colors on 2-bpp display; fore-
and background can be same value even if they are different colors
logically.

Fix a critical bug for rasops_copyrows() introduced in rev. 1.90:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops.c#rev1.90
When src < dst, we have to copy backward.

Simplify rasops_do_cursor():
- Use static masks similar to that used in rasops_bitops.h,
  rather than generating them on the fly.
- Use pointer for proper type to avoid unnecessary casts.

Use "hp" instead of "hrp" consistently with other files.
No functional changes.

Stop allocating ri_buf and ri_stamp dynamically. As commented in
rasops.h, it is not safe to use kmem_alloc(9) in rasops_init();
rasops routines can be used for early putchar, which means that
UVM is not fully initialized.

Should fix a problem reported by macallan:
http://mail-index.netbsd.org/tech-kern/2019/08/02/msg025327.html

Instead of using ri_buf, inline function rasops_memcpy32() is
introduced to fill 32bit data efficiently.

Instead of using ri_stamp (per device stamp), stamp_ri is
introduced to distinguish for which device stamp is calculated.

Oops, revert an unintentional change for now.

If RI_CLEAR is set, do not forget to clear real framebuffer.

Modify struct rasops_info again (ride 9.99.4 bump).
- remove ri_buf and friends.
- remove ri_stamp and frieds.
- introduce ri_ul, which will be used for scaling underline with font.

Also add hack for ri_ul; adjust its size to obsoleted member, ri_delta,
which was only used rasops routines internally. Now, size and offsets of
all members of struct rasops_info become same with netbsd-9, -8, and -7,
again. So we can safelly pull up fixes to any release branches!

Scaling dimensions of underline by font height.

Currently,
- offset of underline is fixed to 1-row from bottom of characters, and
- height of underline is fixed to 1.
Both are good for standard 8x16 fonts. However, it is too thin for
larger fonts, especially when used on display of high resolution.
Also, 1-row offset of underline is ugly for small fonts, e.g.,
spleen5x8.
Therefore, adjust offset and height as,
- no changes for standard 16-height fonts.
- scaling by font height for larger fonts.
- set offset to zero for fonts of height smaller than 16.

Merge rasops_putchar_aa.h into rasops_putchar.h.

Support scaling underline dimensions by font height.

Separate general putchar for 1-4bpp from rasops_bitops:
- Support anti-aliasing for 2bpp, which works perfectly!
- Support scaling underline dimensions with font height.

We support anti-aliasing for depth 2.
Use switch appropriately.
- Stop showing struct rasops_info; readers can read the header itself.
- Correct description for optimized font widths.
- Remove strange blank line.

Try to improve formatting and naration.

Make rasops_erase{rows,cols}() public again; hp300/diofb uses them.
Pointed out by martin.

When legacy Apple 4-bpp color palette is used, make green dark so that
kernel messages are printed nicely on white background.

Fix color range overflow; we cannot make bright colors more brighter.

Correctly check whether character is in font in rasops_mapchar().
Also, make sure that in putchar functions for completeness.

Fix bug introduced in rev. 1.69:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/wsfb/genfb.c#rev1.69
is_bgr should be initialized to false. Otherwise, color becomes strange
for depths 24 and 32 unless backend explicitly set "is_bgr" property.

Set 4-bpp devcmap in a similar manner to non-RGB case of 8-bpp.
No functional changes since this is not in use (4-bpp is monochrome).

Misc style clean up's.
- Introduce and use proper macros.
- Use not ambiguous variable names.
- Unify similar functions as possible as I can.
- G/C unused headers.
- Use #include <dev/rasops/foo.h> instead of "foo.h"

No particular functional changes intended.

My work for rasops(9) was finished (hopefully).

I will send pull-up request for netbsd-9, if there are no new failures
reported within few days.

Fix format in order not to confuse changes2html script.
Minor improvements of wording for my entry.

When using stamp, drop attributions other than back and foreground
colors so that stamp is not updated unnecessarily.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sat Aug 10 01:24:17 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +290 -291 lines
Misc style clean up's.
- Introduce and use proper macros.
- Use not ambiguous variable names.
- Unify similar functions as possible as I can.
- G/C unused headers.
- Use #include <dev/rasops/foo.h> instead of "foo.h"
No particular functional changes intended.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sat Aug 10 01:20:47 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +6 -6 lines
Set 4-bpp devcmap in a similar manner to non-RGB case of 8-bpp.
No functional changes since this is not in use (4-bpp is monochrome).

Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Aug 9 12:05:51 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -10 lines
Correctly check whether character is in font in rasops_mapchar().
Also, make sure that in putchar functions for completeness.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Aug 9 11:42:03 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3 lines
Fix color range overflow; we cannot make bright colors more brighter.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Fri Aug 9 11:08:20 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +4 -4 lines
When legacy Apple 4-bpp color palette is used, make green dark so that
kernel messages are printed nicely on white background.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Wed Aug 7 12:27:49 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +8 -3 lines
Scaling dimensions of underline by font height.

Currently,
- offset of underline is fixed to 1-row from bottom of characters, and
- height of underline is fixed to 1.

Both are good for standard 8x16 fonts. However, it is too thin for
larger fonts, especially when used on display of high resolution.

Also, 1-row offset of underline is ugly for small fonts, e.g.,
spleen5x8.

Therefore, adjust offset and height as,
- no changes for standard 16-height fonts.
- scaling by font height for larger fonts.
- set offset to zero for fonts of height smaller than 16.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Aug 7 11:57:40 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +8 -4 lines
If RI_CLEAR is set, do not forget to clear real framebuffer.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Wed Aug 7 11:47:33 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +10 -54 lines
Stop allocating ri_buf and ri_stamp dynamically. As commented in
rasops.h, it is not safe to use kmem_alloc(9) in rasops_init();
rasops routines can be used for early putchar, which means that
UVM is not fully initialized.

Should fix a problem reported by macallan:
http://mail-index.netbsd.org/tech-kern/2019/08/02/msg025327.html

Instead of using ri_buf, inline function rasops_memcpy32() is
introduced to fill 32bit data efficiently.

Instead of using ri_stamp (per device stamp), stamp_ri is
introduced to distinguish for which device stamp is calculated.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Aug 7 11:08:44 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +24 -18 lines
Simplify rasops_do_cursor():

- Use static masks similar to that used in rasops_bitops.h,
  rather than generating them on the fly.
- Use pointer for proper type to avoid unnecessary casts.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Aug 7 11:03:14 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +18 -8 lines
Fix a critical bug for rasops_copyrows() introduced in rev. 1.90:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops.c#rev1.90

When src < dst, we have to copy backward.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Wed Aug 7 10:59:51 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +5 -5 lines
Depth 2 is monochrome.

IMO, it is impossible to support ANSI colors on 2-bpp display; fore-
and background can be same value even if they are different colors
logically.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Wed Aug 7 10:55:51 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -3 lines
Fix black color-attribution for depths 2 and 4.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Wed Aug 7 10:53:41 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +4 -4 lines
Simplify calculation for 12-byte alignment.
No functional changes.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Aug 7 10:51:57 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +6 -3 lines
Use _KERNEL_OPT.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Fri Aug 2 23:24:37 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +58 -35 lines
Real fix for 24-bpp color:
- When centering screen, locate effective base address of framebuffer to
  both word and 24-bit color boundary.
- Consistently convert ri_devcmap to ``big endian'' if not RI_BSWAP.

Also, fix possible bug for 15/16-bpp with RI_BSWAP (not tested).

Revision 1.107: download - view: text, markup, annotated - select for diffs
Fri Aug 2 04:22:04 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +6 -26 lines
Fix unaligned writes to buffer, that are introduced in 1.105:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops.c#rev1.105

Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Aug 2 04:18:15 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +5 -5 lines
Oops, for rasops_copycols(), we cannot use memmove even if src == dst.
On the other hand, memmove is safe for rasops_copyrows().

Revision 1.105: download - view: text, markup, annotated - select for diffs
Wed Jul 31 04:45:44 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +47 -86 lines
Provide buffer capable of single-row pixels in order to make things simpler.

XXX
Bump kernel version for rasops_info later.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Jul 31 02:09:02 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +2 -9 lines
G/C ri_delta.

XXX
Bump kernel version after other changes for struct rasops_info.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Jul 31 02:04:14 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +21 -3 lines
Switch to per-device stamp, and retire stamp_mutex.

XXX
Bump kernel version after other changes for struct rasops_info.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Jul 31 00:14:25 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +9 -10 lines
Misc clean-up's:
- protect private stuff in rasops.h by _RASOPS_PRIVATE
- staticify rasops_copycols() and rasops_isgray[]
- G/C unused extern int cold

Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jul 30 15:29:40 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +52 -95 lines
Try to improve performance when shadow framebuffer is present;
Use block copy from shadow fb to real fb, instead of repeating
the same operations to two fb's.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Jul 30 14:41:10 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +8 -8 lines
In rasops_copy{rows,cols}(), if src == dst, we have nothing to do.
Otherwise, we can use memcpy safely instead of memmove.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Tue Jul 30 14:33:04 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +7 -6 lines
Fix catastrophe when ri_emustride != ri_stride in rasops_copyrows().

Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Jul 30 12:20:24 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +6 -6 lines
Treat highlighted and reversed text in the same manner to xterm.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Jul 29 16:17:29 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +14 -4 lines
Hmmm, color was still strange for 24bpp on little endian machine,
only when font width is 12.

We need to use different devcmap for that case, if we wish to share
codes for other depths/font widths as possible as we can.

XXX
What should we do for big endian? I have no big endian machines with
24bpp framebuffer...

Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Jul 29 14:43:14 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +8 -3 lines
Fix color on 24bpp screen for little endian.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Jul 29 01:04:20 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -4 lines
Fix missing underlines on mono screen.
Style.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Jul 28 12:06:10 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +7 -7 lines
Cast attr to uint32_t before right shift to avoid undefined behavior.

Also, misc style/cosmetic changes for clarity.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Jul 28 10:24:08 2019 UTC (7 years, 3 months ago) by martin
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -3 lines
Free kmem_alloc'd memory with kmem_free

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Jul 26 11:16:19 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +13 -4 lines
Put back byte-wise copy to stop using memcpy, which
does not work for device memory on some platforms.

Pointed out by Jared, many thanks!

Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Jul 26 10:48:45 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +72 -3 lines
Add genfb(4) driver for mac68k grfbus.
1, 2, 4, 8, 15, and 32 color-depths are supported.

ANSI colors on console are functional for depth >= 4.

Graphic applications based on wsfb API should work, provided
they can correctly handle fbi_fboffset and your color depth.

wsfb driver of Xorg 1.20 and mlterm-fb (framebuffer version of
x11/mlterm) work fine for depth == 1 || depth >= 8.

For depth == 8 (256 colors), graphic applications require
colormap callback, which is currently supported for some
internal graphic adapters, and only Civic (found on Quadra
AV series) was tested. Register definition and its usage are
taken from Linux. You can easily support other adapters if
Linux supports that.

Have fun, and any problem reports are welcomed!

Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Jul 26 05:24:04 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +32 -128 lines
Replace manually unrolled loops with memcpy/memmove or simple loops.
Modern compilers are smart enough; there's no measurable changes in
performance even on MC68040 with optimization level -Os.

Also, convert loop of byte-wise copy into memset.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Jul 26 05:15:47 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +120 -134 lines
Misc creen up for rasops.c:

- sort headers
- return error value instead of panic
- use uintptr_t for cast pointer to integer
- use macros appropriately
- use __func__
- some consistency check ifndef DEBUG
- try to avoid undefined behaviors related to shift
- convert malloc/free to kmem_alloc/kmem_free
- convert MIN to uimin
- style

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Jul 25 02:26:32 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +43 -40 lines
Misc cleen up:
- Make 32bit mask unsigned
- DPRINTF --> __nothing ifndef DEBUG_RASOPS
- "#ifdef DIAGNOSTIC if (x) panic(); #endif" --> KASSERT(!x);
- KNF

No functional changes intended.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Jul 25 00:55:13 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -4 lines
For kUBSan, avoid undefined behaviors even if harmless.
No functional changes intended.

Requested by uwe.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jul 24 19:33:35 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -32 lines
Oops, revert unintentional changes.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Jul 24 19:31:12 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +38 -9 lines
Well, masks do not have to be updated every time in loop.
Calculate them in advance even if it may be bogus.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Jul 24 18:49:37 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +38 -60 lines
Simplify logic and tiny clean-up.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Jul 24 18:40:01 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +8 -7 lines
Avoid shift-count overflow to fix strange cursor behaviors on amd64
when font width is odd.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Jul 24 18:33:49 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +65 -63 lines
Use unsigned integers for binary data storage.
No functional changes intended.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Jul 24 18:03:30 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +19 -19 lines
Style:
- u_char --> uint8_t
- u_int*_t --> uint*_t

No functional changes.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Jul 21 16:19:45 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +29 -5 lines
Fix cursor movement for ri_xscale = 1, e.g., fontwidth = 8 and bpp = 1.

Revision 1.77.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:31 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +28 -43 lines
Sync with HEAD

Revision 1.77.8.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:01 2018 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +28 -43 lines
Sync with HEAD, resolve a few conflicts

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Dec 4 09:27:59 2018 UTC (7 years, 11 months ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +10 -10 lines
rasops reused wscons attribute bits for internal control.
- make upper 4 attribute bits available for such use
- use wscons flag names instead of literal constants.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Nov 29 23:44:50 2018 UTC (7 years, 11 months ago) by macallan
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +20 -35 lines
rasops_do_cursor():
- simplify & sanitize the unaligned case
- use only 32bit accesses
... no longer crash with odd sized fonts in 8bit

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:31 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +36 -66 lines
update from HEAD

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:26 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +17 -13 lines
Sync with HEAD

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:11 2017 UTC (9 years, 5 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -5 lines
remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Fri May 19 00:22:57 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +6 -4 lines
Resolve conflicts from previous merge (all resulting from $NetBSD
keywork expansion)

Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri May 12 00:41:25 2017 UTC (9 years, 6 months ago) by macallan
Branches: MAIN
CVS tags: prg-localcount2-base3
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +6 -4 lines
rasops_reconfig(): don't clear flags we won't set here

Revision 1.73.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:23 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.73.2.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.2.1: +8 -7 lines
Sync with HEAD

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Apr 22 15:05:02 2017 UTC (9 years, 6 months ago) by macallan
Branches: MAIN
CVS tags: prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426
Branch point for: prg-localcount2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +8 -7 lines
add RI_PREFER_ALPHA flag, for drivers that can draw such fonts by hardware

Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:52 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +5 -3 lines
Sync with HEAD

Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:38 2017 UTC (9 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -3 lines
Sync with HEAD

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Feb 23 12:16:30 2017 UTC (9 years, 8 months ago) by nonaka
Branches: MAIN
CVS tags: pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -3 lines
reset ri->ri_hwbits too if RI_CFGDONE is set.

prevent ri->ri_hwbits from moving to center every time rasops_reconfig() is
called when RI_CENTER is set.

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:12 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +15 -54 lines
Sync with HEAD

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Apr 18 11:23:58 2015 UTC (11 years, 7 months ago) by mlelstv
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +15 -54 lines
add "best match" algorithm to wsfont and use this instead of a private
function in rasops.

Revision 1.70.6.1: download - view: text, markup, annotated - select for diffs
Mon Nov 3 15:13:30 2014 UTC (12 years ago) by msaitoh
Branches: netbsd-6-0
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +9 -4 lines
Pull up following revision(s) (requested by riastradh in ticket #1117):
	sys/dev/rasops/rasops.c: revision 1.72
	sys/dev/vme/if_ie_vme.c: revision 1.31
	sys/dev/qbus/if_qe.c: revision 1.73
	sys/altq/altq_jobs.c: revision 1.7
	sys/net/if_gre.c: revision 1.160
	sys/dev/ic/oosiop.c: revision 1.14
- Fix error branches in altq_jobs.c to avoid leaks, noted by maxv@.
- Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
  While here, avoid a sketchy pointer cast that probably falls afoul of
  strict aliasing rules. Compile-tested only, with hppa.
- Don't leak f on failurein rasops.c.  Noted by maxv@.
  Compile-tested only, with zaurus.
- Avoid leak in error branch in if_qe.c, noted by maxv@, compile-tested for
  vax.
- Sizeof struct ievme, not sizeof size_t in if_ie_vme.c.
  Noted by maxv@, compile-tested for sparc.
- Don't leak in gre_clone_create error branch.
  Noted by maxv@, compile-tested for amd64.

Revision 1.70.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 3 15:10:38 2014 UTC (12 years ago) by msaitoh
Branches: netbsd-6-1
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +9 -4 lines
Pull up following revision(s) (requested by riastradh in ticket #1117):
	sys/dev/rasops/rasops.c: revision 1.72
	sys/dev/vme/if_ie_vme.c: revision 1.31
	sys/dev/qbus/if_qe.c: revision 1.73
	sys/altq/altq_jobs.c: revision 1.7
	sys/net/if_gre.c: revision 1.160
	sys/dev/ic/oosiop.c: revision 1.14
- Fix error branches in altq_jobs.c to avoid leaks, noted by maxv@.
- Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
  While here, avoid a sketchy pointer cast that probably falls afoul of
  strict aliasing rules. Compile-tested only, with hppa.
- Don't leak f on failurein rasops.c.  Noted by maxv@.
  Compile-tested only, with zaurus.
- Avoid leak in error branch in if_qe.c, noted by maxv@, compile-tested for
  vax.
- Sizeof struct ievme, not sizeof size_t in if_ie_vme.c.
  Noted by maxv@, compile-tested for sparc.
- Don't leak in gre_clone_create error branch.
  Noted by maxv@, compile-tested for amd64.

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 3 15:08:44 2014 UTC (12 years ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +9 -4 lines
Pull up following revision(s) (requested by riastradh in ticket #1117):
	sys/dev/rasops/rasops.c: revision 1.72
	sys/dev/vme/if_ie_vme.c: revision 1.31
	sys/dev/qbus/if_qe.c: revision 1.73
	sys/altq/altq_jobs.c: revision 1.7
	sys/net/if_gre.c: revision 1.160
	sys/dev/ic/oosiop.c: revision 1.14
- Fix error branches in altq_jobs.c to avoid leaks, noted by maxv@.
- Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
  While here, avoid a sketchy pointer cast that probably falls afoul of
  strict aliasing rules. Compile-tested only, with hppa.
- Don't leak f on failurein rasops.c.  Noted by maxv@.
  Compile-tested only, with zaurus.
- Avoid leak in error branch in if_qe.c, noted by maxv@, compile-tested for
  vax.
- Sizeof struct ievme, not sizeof size_t in if_ie_vme.c.
  Noted by maxv@, compile-tested for sparc.
- Don't leak in gre_clone_create error branch.
  Noted by maxv@, compile-tested for amd64.

Revision 1.71.14.1: download - view: text, markup, annotated - select for diffs
Fri Aug 22 10:15:22 2014 UTC (12 years, 2 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +9 -4 lines
Pull up following revision(s) (requested by riastradh in ticket #44):
sys/altq/altq_jobs.c				1.7
	Fix error branches to avoid leaks, noted by maxv@.
sys/dev/ic/oosiop.c				1.14
	Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
	While here, avoid a sketchy pointer cast that probably falls afoul
	of strict aliasing rules.
sys/dev/qbus/if_qe.c				1.73
	Avoid leak in error branch, noted by maxv@, compile-tested for vax.
sys/dev/rasops/rasops.c				1.72
	Don't leak f on failure.  Noted by maxv@.
sys/dev/vme/if_ie_vme.c				1.31
	Sizeof struct ievme, not sizeof size_t.
	Noted by maxv@, compile-tested for sparc.
sys/net/if_gre.c				1.160
	Don't leak in gre_clone_create error branch.
	Noted by maxv@, compile-tested for amd64.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Aug 18 03:59:27 2014 UTC (12 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +9 -4 lines
Don't leak f on failure.  Noted by maxv@.

Compile-tested only, with zaurus.

Revision 1.66.8.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:04 2012 UTC (14 years, 5 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.66.8.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.8.1: +46 -2 lines
sync with head.

Revision 1.66.12.2: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:04:59 2012 UTC (14 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.66.12.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.12.1: +46 -2 lines
sync to latest -current.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Apr 19 06:57:39 2012 UTC (14 years, 7 months ago) by macallan
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +46 -2 lines
add another convenience function:
rasops_get_cmap() which returns either the ANSI map or an R3G3B2 map,
depending on the rasops_info handed to it so drivers don't have to
duplicate this particular code snippet

Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:01 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +165 -28 lines
sync with head

Revision 1.66.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:57 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +165 -28 lines
merge to -current.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Jan 11 15:52:32 2012 UTC (14 years, 10 months ago) by macallan
Branches: MAIN
CVS tags: yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6-1, netbsd-6-0, netbsd-6
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +88 -19 lines
make rasops_init()'s font selection code a bit less boneheaded by:
- actually trying to pick a font which gets as close as possible to the
  requested terminal size
- accepting 0,0 as 'use system default' which can be changed by
   options RASOPS_DEFAULT_WIDTH=100
   options RASOPS_DEFAULT_HEIGHT=30
  default is 80x25
- putting alpha and bitmap fonts in the same list and making wsfont_find()
  aware of wether we support alpha fonts or not
- if supported, prefer alpha fonts over otherwise equally suitable bitmap
  fonts

Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Jan 4 20:17:05 2012 UTC (14 years, 10 months ago) by macallan
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -3 lines
rasops8 expects the colour value replicated in every byte in devcmap[], so
fix that for r3g3b2

Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Dec 28 08:36:46 2011 UTC (14 years, 10 months ago) by macallan
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +8 -5 lines
add a new flag for ri_flg to allow drivers to request an r3g3b2 devcmap
in 8 bit colour. Drivers are still responsible to generate an appropriate
colour map for the actual hardware.
For use with alpha blending which needs some sort of 'true' colour.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Dec 22 04:52:45 2011 UTC (14 years, 10 months ago) by macallan
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +79 -17 lines
support anti-aliased fonts ( as in, pre-rendered alpha maps ), for now only
in rasops32 although adding support in 15, 16 and 24 would be trivial.
Enabled only if the driver explicitly requests it by setting the
RI_ENABLE_ALPHA flag.

Revision 1.61.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:54:03 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.61.4.2: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.4.2: +3 -3 lines
sync with head

Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:37 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.1: +192 -29 lines
Sync with HEAD.

Revision 1.57.14.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:09 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.57.14.3: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.14.3: +356 -57 lines
sync with head.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Jul 21 12:12:58 2010 UTC (16 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
Fix typo in comment.

Revision 1.61.4.2: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:40 2010 UTC (16 years, 4 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.61.4.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.4.1: +4 -3 lines
sync with head

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Jun 13 01:55:24 2010 UTC (16 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -3 lines
Put underline properly (not upperline) on CCW screen.
Tested on hpcarm WS003SH.

Revision 1.61.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:41 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +354 -56 lines
sync with head

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu May 6 04:30:18 2010 UTC (16 years, 6 months ago) by macallan
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +14 -8 lines
Introduce a new flag for rasops_info to keep rasops_reconfig() from trying
to allocate memory. Use this when calling rasops_reconfig() before it is safe
to call kmem_alloc().

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue May 4 04:57:34 2010 UTC (16 years, 6 months ago) by macallan
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +185 -29 lines
autogenerate box drawing characters for fonts that don't have them, put them
into an alternate font pointed at by the recently added mappings in wsfont,
adapt all putchar() methods except the rotated ones to use them
XXX no attempt has been made to make this work with rotation

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:47 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +165 -29 lines
Sync with HEAD.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Apr 17 13:36:22 2010 UTC (16 years, 7 months ago) by nonaka
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +165 -29 lines
Added Sharp W-ZERO3 series support.

Revision 1.57.14.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:01 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.57.14.2: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.14.2: +10 -4 lines
sync with head

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jan 21 05:32:18 2010 UTC (16 years, 9 months ago) by macallan
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +10 -4 lines
make RI_CENTER and RI_FULLCLEAR work with a shadow framebuffer

Revision 1.58.14.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:16 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +19 -58 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.57.14.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:16 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.57.14.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.14.1: +19 -58 lines
sync with head.

Revision 1.58.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:27 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +19 -58 lines
Sync with HEAD.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:22 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +16 -50 lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:20 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -10 lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.57.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:49 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -9 lines
Sync with HEAD.

Revision 1.57.12.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:41 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -9 lines
sync with head.

Revision 1.57.14.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:01 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -9 lines
sync with head.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:56 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.48.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:32 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48.2.4: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.4: +16 -9 lines
sync with head

Revision 1.56.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:26 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +16 -9 lines
sync with HEAD

Revision 1.56.14.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:47:21 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +16 -9 lines
Sync with head.

Revision 1.56.16.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:39:58 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +16 -9 lines
sync with head.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:28:14 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +16 -9 lines
Merge jmcneill-pm branch.

Revision 1.48.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:38:24 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48.2.3: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.3: +14 -2 lines
sync with head.

Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:04:43 2007 UTC (19 years, 2 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +6 -2 lines
Sync w/ NetBSD-4-RC_1

Revision 1.55.6.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:37:43 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +14 -2 lines
Sync with HEAD.

Revision 1.55.14.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:41 2007 UTC (19 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +14 -2 lines
Sync with HEAD.

Revision 1.44.12.1: download - view: text, markup, annotated - select for diffs
Sun Aug 12 19:53:18 2007 UTC (19 years, 3 months ago) by bouyer
Branches: netbsd-2-1
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +6 -2 lines
Pull up following revision(s) (requested by mjf in ticket #11348):
Pull up following revision(s) (requested by mjf in ticket #11348):
	sys/dev/ic/pcdisplay_subr.c: revision 1.33 via patch
	sys/dev/ic/vga_raster.c: revision 1.29 via patch
	sys/dev/ic/vga.c: revision 1.95 via patch
	sys/dev/rasops/rasops.c: revision 1.56 via patch
	sys/dev/isa/ega.c: revision 1.23 via patch
Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.
Set the 'ri' pointer before use.

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 12 19:52:28 2007 UTC (19 years, 3 months ago) by bouyer
Branches: netbsd-2-0
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +6 -2 lines
Pull up following revision(s) (requested by mjf in ticket #11348):
Pull up following revision(s) (requested by mjf in ticket #11348):
	sys/dev/ic/pcdisplay_subr.c: revision 1.33 via patch
	sys/dev/ic/vga_raster.c: revision 1.29 via patch
	sys/dev/ic/vga.c: revision 1.95 via patch
	sys/dev/rasops/rasops.c: revision 1.56 via patch
	sys/dev/isa/ega.c: revision 1.23 via patch
Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.
Set the 'ri' pointer before use.

Revision 1.44.6.1: download - view: text, markup, annotated - select for diffs
Sat Aug 11 14:56:59 2007 UTC (19 years, 3 months ago) by bouyer
Branches: netbsd-2
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +6 -2 lines
Pull up following revision(s) (requested by mjf in ticket #11348):
	sys/dev/ic/pcdisplay_subr.c: revision 1.33 via patch
	sys/dev/ic/vga_raster.c: revision 1.29 via patch
	sys/dev/ic/vga.c: revision 1.95 via patch
	sys/dev/rasops/rasops.c: revision 1.56 via patch
	sys/dev/isa/ega.c: revision 1.23 via patch
Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.
Set the 'ri' pointer before use.

Revision 1.46.2.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 6 11:41:50 2007 UTC (19 years, 3 months ago) by ghen
Branches: netbsd-3-1
Diff to: previous 1.46.2.1: preferred, colored; next MAIN 1.46.2.2: preferred, colored
Changes since revision 1.46.2.1: +6 -2 lines
Pull up following revision(s) (requested by mjf in ticket #1815):
	sys/dev/ic/pcdisplay_subr.c: revision 1.33 via patch
	sys/dev/ic/vga_raster.c: revision 1.29 via patch
	sys/dev/ic/vga.c: revision 1.95 via patch
	sys/dev/rasops/rasops.c: revision 1.56 via patch
	sys/dev/isa/ega.c: revision 1.23 via patch
Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.
Set the 'ri' pointer before use.

Revision 1.46.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 6 11:40:57 2007 UTC (19 years, 3 months ago) by ghen
Branches: netbsd-3-0
Diff to: previous 1.46.2.1: preferred, colored; next MAIN 1.46.2.2: preferred, colored
Changes since revision 1.46.2.1: +6 -2 lines
Pull up following revision(s) (requested by mjf in ticket #1815):
	sys/dev/ic/pcdisplay_subr.c: revision 1.33 via patch
	sys/dev/ic/vga_raster.c: revision 1.29 via patch
	sys/dev/ic/vga.c: revision 1.95 via patch
	sys/dev/rasops/rasops.c: revision 1.56 via patch
	sys/dev/isa/ega.c: revision 1.23 via patch
Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.
Set the 'ri' pointer before use.

Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 6 11:21:57 2007 UTC (19 years, 3 months ago) by ghen
Branches: netbsd-3
Diff to: previous 1.46.2.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.1: +6 -2 lines
Pull up following revision(s) (requested by mjf in ticket #1815):
	sys/dev/ic/pcdisplay_subr.c: revision 1.33 via patch
	sys/dev/ic/vga_raster.c: revision 1.29 via patch
	sys/dev/ic/vga.c: revision 1.95 via patch
	sys/dev/rasops/rasops.c: revision 1.56 via patch
	sys/dev/isa/ega.c: revision 1.23 via patch
Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.
Set the 'ri' pointer before use.

Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 22:17:23 2007 UTC (19 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +16 -9 lines
Pull in power management changes from private branch.

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 30 12:40:50 2007 UTC (19 years, 3 months ago) by liamjfoy
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +6 -2 lines
Pull up following revision(s) (requested by mjf in ticket #799):
	sys/dev/ic/pcdisplay_subr.c: revision 1.33
	sys/dev/wscons/wsdisplay_vcons.c: revision 1.12
	sys/dev/wscons/wsdisplay_vcons.c: revision 1.13
	sys/dev/ic/vga_raster.c: revision 1.29
	sys/dev/pci/chipsfb.c: revision 1.10
	sys/dev/ic/vga.c: revision 1.95
	sys/dev/rasops/rasops.c: revision 1.56
	sys/dev/isa/ega.c: revision 1.23
Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.
Set the 'ri' pointer before use.

Revision 1.56.18.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 20:28:58 2007 UTC (19 years, 3 months ago) by mjf
Branches: matt-mips64
Diff to: previous 1.56.18.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.18.1: +1358 -0 lines
Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.

Revision 1.56.18.1
Sat Jul 28 20:28:57 2007 UTC (19 years, 3 months ago) by mjf
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.56: +0 -1358 lines
file rasops.c was added on branch matt-mips64 on 2007-07-28 20:28:58 +0000

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Jul 28 20:28:57 2007 UTC (19 years, 3 months ago) by mjf
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, mjf-devfs, matt-mips64-base, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, matt-mips64, matt-armv6, jmcneill-pm
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +14 -2 lines
Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.

Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:39 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48.2.2: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.2: +236 -6 lines
sync with head.

Revision 1.52.14.2: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:03:52 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.52.14.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.14.1: +236 -6 lines
Sync with HEAD.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Feb 2 02:10:24 2007 UTC (19 years, 9 months ago) by ober
Branches: MAIN
CVS tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, nick-csl-alignment
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +236 -6 lines
Updates to allow Zaurus screen to rotate 90 degrees to a usable state with the keyboard. Patch from peter@ copied from OpenBSD. Feedback and OK from matt@

Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:30 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.1: +6 -10 lines
sync with head.

Revision 1.52.16.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:15 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.52.16.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.16.1: +4 -4 lines
sync with head.

Revision 1.52.14.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:48 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -10 lines
Sync with head.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:26 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -4 lines
__unused removal on arguments; approved by core.

Revision 1.52.16.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:47 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -10 lines
sync with head

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:56 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -10 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:54:25 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +163 -30 lines
sync with head

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:06:47 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +164 -31 lines
sync with head.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:28 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +163 -30 lines
Sync with head.

Revision 1.49.2.3: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:28 2006 UTC (20 years, 8 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.49.2.2: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.2: +24 -9 lines
sync with head.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Feb 27 12:19:29 2006 UTC (20 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +24 -9 lines
Fixup a performance problem in rasops_copyrows that I introduced during
the shadowfb merge.

Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:11 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.49.2.1: preferred, colored
Changes since revision 1.49.2.1: +156 -38 lines
sync with head.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Feb 18 13:57:33 2006 UTC (20 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +156 -38 lines
Add shadow framebuffer support.

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:52:20 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
sync with head.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jan 29 21:42:41 2006 UTC (20 years, 9 months ago) by dsl
Branches: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:43 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
merge ktrace-lwp.

Revision 1.43.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:07:47 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43.2.5: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.5: +11 -2 lines
Sync with HEAD. Here we go again...

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 3 15:11:54 2005 UTC (21 years, 5 months ago) by riz
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE
Branch point for: netbsd-3-1, netbsd-3-0
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +11 -2 lines
Pull up revisions 1.47-1.48 (requested by martin in ticket #366):
1.47:
made rasops_allocattr_color() respect WS_DEFAULT_FG and WS_DEFAULT_BG instead of using white on black

1.48:
fixed tab width and formatting

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon May 2 00:00:33 2005 UTC (21 years, 6 months ago) by macallan
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +12 -12 lines
fixed tab width and formatting

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun May 1 23:19:01 2005 UTC (21 years, 6 months ago) by macallan
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +13 -4 lines
made rasops_allocattr_color() respect WS_DEFAULT_FG and WS_DEFAULT_BG instead of using white on black

Revision 1.44.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:16 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +11 -11 lines
sync with -current

Revision 1.44.10.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:47 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.44.10.1: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.10.1: +4 -4 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.43.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:50:31 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43.2.4: preferred, colored
Changes since revision 1.43.2.4: +4 -4 lines
Sync with HEAD.

Hi Perry!

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:47 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4 lines
nuke trailing whitespace

Revision 1.44.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:50 2005 UTC (21 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +9 -9 lines
sync with head.

Revision 1.43.2.4: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:47:22 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43.2.3: preferred, colored
Changes since revision 1.43.2.3: +9 -9 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:47 2005 UTC (21 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +9 -9 lines
de-__P

Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:33:12 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43.2.2: preferred, colored
Changes since revision 1.43.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:51:16 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43.2.1: preferred, colored
Changes since revision 1.43.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:51:04 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +25 -3 lines
Sync with HEAD

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Nov 8 22:49:28 2003 UTC (23 years ago) by uwe
Branches: MAIN
CVS tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, netbsd-2-1, netbsd-2-0, netbsd-2, kent-audio2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +25 -3 lines
For the rasops-drawn cursor the fg/bg indices are bit inverted, so
provide complimentary colors in the upper 16 entries.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat May 3 18:32:42 2003 UTC (23 years, 6 months ago) by uwe
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -4 lines
In rasops_copycols change bcopy to memmove.  In that particular place
the src and dst are very likely to overlap, so using bcopy causes
garbage to be displayed

Revision 1.36.2.5: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:44:00 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.36.2.4: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.4: +2 -2 lines
Catch up to -current.

Revision 1.36.4.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:42:01 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.36.4.3: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.4.3: +4 -4 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:37:31 2002 UTC (24 years, 1 month ago) by provos
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -4 lines
remove trailing \n in panic().  approved perry.

Revision 1.36.4.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:46:11 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.36.4.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.2: +8 -8 lines
sync kqueue branch with HEAD

Revision 1.36.2.4: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:45:39 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.36.2.3: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.3: +6 -6 lines
Catch up to -current.

Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:35:53 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +8 -8 lines
catch up with -current.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jul 4 17:15:28 2002 UTC (24 years, 4 months ago) by junyoung
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -8 lines
Rename rasops_alloc_cattr and rasops_alloc_mattr to
rasops_allocattr_color and rasops_allocattr_mono, respectively.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jul 4 14:37:12 2002 UTC (24 years, 4 months ago) by junyoung
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4 lines
alloc_attr -> allocattr

Approved by Matthias Drochner.

Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:47:07 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.2: +9 -9 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.36.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:01:27 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.36.4.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.1: +9 -9 lines
Catch up with -current.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Mar 13 15:05:15 2002 UTC (24 years, 8 months ago) by ad
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +9 -9 lines
Reorganise the wsfont stuff slightly so that multiple display adapters
with different bit/byte order requirements can co-exist happily.

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:58:03 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -4 lines
Sync kqueue branch with -current.

Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:31:38 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +2 -3 lines
Catch up to -current.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:14 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -3 lines
don't need <sys/types.h> when including <sys/param.h>

Revision 1.36.6.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:46:14 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +3 -3 lines
Catch up with -current.

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:36:08 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Catch up to -current.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Sep 18 18:15:53 2001 UTC (25 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Give initiali[sz]e all the "i"s it deserves.

Revision 1.19.2.4: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:31:23 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19.2.3: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.3: +4 -3 lines
Sync with HEAD.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Feb 12 04:33:36 2001 UTC (25 years, 9 months ago) by nathanw
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3 lines
Correct the ri_xorigin calculation for the RI_CENTER case again.

Original calculation (bits += (ri_stride - ri_emustride) / 2) was
incorrect because stride may be wider than visible width.

Fix in 1.33 (bits += (ri_width - ri_emustride) / 2) was incorrect
because units do not match; "bits" and "ri_emustride" are in bytes,
but "width" is in pels. Works by accident for 8bpp displays.

Change to bits += ((ri_width * bpp / 8) - ri_emustride) / 2
to correctly account for visible width and bpp.

Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:16:17 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19.2.2: preferred, colored
Changes since revision 1.19.2.2: +17 -2 lines
Sync with HEAD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Feb 2 06:01:01 2001 UTC (25 years, 9 months ago) by marcus
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +12 -2 lines
Now does character remapping depending on font encoding.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Jan 21 13:50:59 2001 UTC (25 years, 10 months ago) by takemura
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -2 lines
Rasops supports 4bit depth.

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:25 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19.2.1: preferred, colored
Changes since revision 1.19.2.1: +3 -3 lines
Sync with HEAD

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Dec 19 09:52:53 2000 UTC (25 years, 11 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Fix an error in xoffset calculation.  Revealed in the case when
ri_width is less than ri_stride and screen is layouted RI_CENTERed.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:43:01 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +168 -175 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:08:01 2000 UTC (26 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +4 -4 lines
Sync w/ netbsd-1-5-base.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jun 13 13:36:53 2000 UTC (26 years, 5 months ago) by ad
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Use my proper name.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jun 12 23:45:45 2000 UTC (26 years, 5 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Let this build on LP64 if DEBUG is defined.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Apr 12 14:22:28 2000 UTC (26 years, 7 months ago) by pk
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +108 -108 lines
* Spell shift counts in decimal and masks in hex
* Optimize numerous array references
* Cleanup whitespace turds

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Apr 5 20:33:28 2000 UTC (26 years, 7 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -3 lines
Advance index into rasops_cmap for each color, not per triplet.
This makes highlighing and color possible on truecolor displays.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Apr 4 20:59:17 2000 UTC (26 years, 7 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Fix computation of ri_xorigin in RI_CENTER case; convery from bytes to
pixels, not from bytes to bytes^2/pixel.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Mar 14 04:23:14 2000 UTC (26 years, 8 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
Resolve LP64 issues.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jan 6 05:27:19 2000 UTC (26 years, 10 months ago) by shin
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
replace WSFONT_L2R by WSDISPLAY_FONTORDER_L2R to compile again.

Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:35:29 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +54 -64 lines
Pull up to last week's -current.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 16 13:27:24 1999 UTC (26 years, 11 months ago) by ad
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Dispatch another nit.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Dec 4 13:57:35 1999 UTC (26 years, 11 months ago) by drochner
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -6 lines
-use the right namespace for screen capabilities
-make attribute decomposing a bit more friendly if the caller doesn't
 care about underlines

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Dec 2 22:57:13 1999 UTC (26 years, 11 months ago) by drochner
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +32 -16 lines
-initialize the colormap completely at compile time, to allow drivers
 to use it early
-now we can declare it "const" (as "rasops_isgray[]", while we are here)
-don't use the fg/bg colors in ...alloc_attr() if the WSATTR_WSCOLORS
 flag was not given - use reasonable defaults instead
-add an opaque "ri_hw" member to "rasops_info", for driver use

Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:41:18 1999 UTC (27 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +19 -46 lines
Sync with -current

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Nov 6 01:01:20 1999 UTC (27 years ago) by enami
Branches: MAIN
CVS tags: fvdl-softdep-base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Possible typo.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Nov 5 10:16:11 1999 UTC (27 years ago) by ad
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -11 lines
In rasops_do_cursor(), don't pull the mask from ri_devcmap[], just use ~0.
Needed to make cursor DTRT on NetBSD/hpcmips - from takemura.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Oct 23 23:14:13 1999 UTC (27 years ago) by ad
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +12 -37 lines
- New option (RASOPS_SMALL) for the tight-fisted.
- Don't use int32_t/u_int32_t unless we must.
- Remove C++ single line comment delimeters that crept in.
- Remove defs pertaining to byte granularity 'ragged-edge' bitmasks.
- Move all declarations of per-depth initialization functions to rasops.h.
- Other minor cleanup.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Oct 4 22:52:13 1999 UTC (27 years, 1 month ago) by ad
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Use proper mask when RI_FORCEMONO is set and XORing cursor.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 17 00:22:07 1999 UTC (27 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +32 -51 lines
- Collapse forward and reverse cases in rasops_copyrows() into one
- Pull in opt_rasops.h so we know if clipping is enabled
- Some KNF

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Sep 17 00:09:34 1999 UTC (27 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +9 -13 lines
Clean up attribute allocation some more.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Aug 26 22:44:29 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Small consistency nit.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Aug 26 21:48:11 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
Make monochrome attribte allocation a bit more obvious.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Aug 25 08:45:25 1999 UTC (27 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -5 lines
When clearing the entire display, point to the start of the framebuffer,
not start of console output. Also, do not advance by ri_delta every row.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Aug 24 11:07:32 1999 UTC (27 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +48 -36 lines
- Change the semantics of rasops_init slightly
- Re-name rasops_setfont to rasops_reconfig
- Add some new run-time 'features'
- Bring all run-time 'features' under control of rasops_info::ri_flg
- Some cosmetic changes

Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 2 22:06:19 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.11.2.2: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.2: +11 -11 lines
Update from trunk.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jul 21 19:19:03 1999 UTC (27 years, 4 months ago) by ad
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +11 -11 lines
- Style nits
- Kill some of the dainbramage in variable-depth copycols()

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:19:00 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.11.2.1: preferred, colored
Changes since revision 1.11.2.1: +956 -0 lines
Sync w/ -current.

Revision 1.11.2.1
Tue Jun 15 22:34:45 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
FILE REMOVED
Changes since revision 1.11: +0 -956 lines
file rasops.c was added on branch chs-ubc2 on 1999-06-21 01:19:00 +0000

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jun 15 22:34:45 1999 UTC (27 years, 5 months ago) by ad
Branches: MAIN
Branch point for: chs-ubc2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -5 lines
- Don't even try to emulate WSATTR_HILIT on mono displays
- WSATTR_REVERSE is a capability of both mono/color

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jun 15 21:34:05 1999 UTC (27 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
Fix stupid alignment bug. The 'slop' stuff is due for replacement with masks
RSN per the README.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 18 21:51:59 1999 UTC (27 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +25 -16 lines
Assign ownership & copyright to TNF. There is probably a procedure for this
that I am unaware of. Also some KNF.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat May 15 12:56:46 1999 UTC (27 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +13 -4 lines
Add diagnostic measures to check for missing font.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat May 15 12:54:53 1999 UTC (27 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
wsfont cookies <= 0 are invalid, not just those < 0.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun May 9 17:50:27 1999 UTC (27 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +14 -14 lines
In rasops_erasecols(), try word aligned case before halfword aligned.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Apr 29 02:49:40 1999 UTC (27 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +11 -3 lines
Add cookie for wsfont to rasops_info.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Apr 26 04:27:47 1999 UTC (27 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +365 -39 lines
Innumerable fixes and improvements. README contains list of remaining bugs
that need to be squashed.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 13 03:02:40 1999 UTC (27 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +12 -4 lines
Code cleanup. Add ri_bswap member to 'struct rasops_info' to indicate that
framebuffer endianness differs from CPU (for 15,16,32-bit displays).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Apr 13 00:40:08 1999 UTC (27 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +17 -25 lines
Fixed licensing due to a foobar on my behalf.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Apr 13 00:17:58 1999 UTC (27 years, 7 months ago) by ad
Branches: MAIN
Initial import of 'rasops', the new raster operations set for wscons/rcons.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>