The NetBSD Project

CVS log for src/sys/dev/wscons/wsdisplay_vcons.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.68 / (download) - annotate - [select for diffs], Fri Feb 9 22:08:37 2024 UTC (2 weeks, 5 days ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

fix spelling mistakes, mainly in comments and log messages.

Revision 1.64.4.1 / (download) - annotate - [select for diffs], Wed Jul 5 16:09:50 2023 UTC (7 months, 3 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.64: +24 -12 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Pull up following revision(s) (requested by abs in ticket #224):

	sys/dev/wscons/wsdisplay_vconsvar.h: revision 1.34
	sys/dev/wscons/wsdisplay_glyphcachevar.h: revision 1.6
	sys/arch/sparc/dev/cgfourteen.c: revision 1.94
	sys/arch/sparc/dev/cgfourteen.c: revision 1.95
	sys/dev/sbus/mgx.c: revision 1.21
	sys/dev/sbus/mgx.c: revision 1.22
	sys/dev/sbus/mgx.c: revision 1.23
	sys/dev/wscons/wsdisplay_vcons.c: revision 1.65
	sys/dev/wscons/wsdisplay_vcons.c: revision 1.66
	sys/dev/wscons/wsdisplay_glyphcache.c: revision 1.12
	sys/arch/sparc/dev/sxvar.h: revision 1.5
	sys/arch/sparc/dev/sx.c: revision 1.6
	sys/arch/sparc/dev/sx.c: revision 1.7

make vcons_putchar_buffer() return a flag indicating if anything actually
changed, skip the actual drawing op if nothing did

add flags for drivers to requesr R2L bit/byte-ordered fonts, default to
L2R, chack them in vcons_load_font() instead of just trusting that we'd get
what we need

initialize the diagnostic register with the value suggested by the SunOS
header. This sets a bunch of undocumented bits and yields a 10% speed increase
when rendering antialiased text.

use macros compatible with xf86-video-suncg14 to issue SX instructions
much more readable, alignment weirdness is handled automatically and code is
interchangable

allow drivers to specify horizontal alignment of glyph cache cells
for things like SX which have alignment restrictions

add counter to periodically drain the instruction queue in order to avoid
stalling the MBus during long SX operations

adapted from xf86-video-suncg14
- use sx_wait() to avoid stalling the MBus
- request 32bit alignment for glyphcache cells

wait for the engine to go idle before issuing rectfill commands
we get occasional overlap with blit commands if we just wait for fifo slots
needs further investigation, it is possible that not all writes to drawing
engine registers are pipelined and of course we don't have docs

following a hunch...
- cache DEC and FG registers, only write them if the value actually changes
- wait for the engine to go idle before writing DEC
- wait for FIFO slots on everything else
with this we avoid waiting if possible and still avoid overlapping blit and
fill commands

Revision 1.67 / (download) - annotate - [select for diffs], Wed Feb 15 13:19:13 2023 UTC (12 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.66: +12 -8 lines
Diff to previous 1.66 (colored)

dev/wscons/wsdisplay_vcons.c: Sprinkle KNF.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Feb 14 08:22:02 2023 UTC (12 months, 2 weeks ago) by macallan
Branch: MAIN
Changes since 1.65: +10 -3 lines
Diff to previous 1.65 (colored)

add flags for drivers to requesr R2L bit/byte-ordered fonts, default to
L2R, chack them in vcons_load_font() instead of just trusting that we'd get
what we need

Revision 1.65 / (download) - annotate - [select for diffs], Tue Feb 14 08:14:02 2023 UTC (12 months, 2 weeks ago) by macallan
Branch: MAIN
Changes since 1.64: +16 -11 lines
Diff to previous 1.64 (colored)

make vcons_putchar_buffer() return a flag indicating if anything actually
changed, skip the actual drawing op if nothing did

Revision 1.64 / (download) - annotate - [select for diffs], Mon Jul 18 11:09:22 2022 UTC (19 months, 1 week ago) by martin
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.63: +4 -3 lines
Diff to previous 1.63 (colored)

Make it compile w/o warnings for !VCONS_DRAW_INTR

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jul 17 20:23:17 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.62: +201 -128 lines
Diff to previous 1.62 (colored)

wsdisplay(4): Make most of struct vcons_data private.

More importantly, make sizeof(struct vcons_data) independent of
whether VCONS_DRAW_INTR &c. is defined.

Allocate the private space with kmem rather than in the caller.

This still doesn't have very good separation between interface
parameters and internal state, but it's better than before, and is
necessary to make genfb usable in modules.

In arm_simplefb.c, this removes use of the use_intr member.  That
assignment became redundant with the introduction of vcons_earlyinit,
so there's no need to replace it by anything.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jul 17 11:43:39 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.61: +6 -6 lines
Diff to previous 1.61 (colored)

wsdisplay(4): KNF: return foo, not return (foo)

No functional change intended.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jul 17 11:43:11 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.60: +6 -4 lines
Diff to previous 1.60 (colored)

wsdisplay(4): KASSERT(a && b) -> KASSERT(a); KASSERT(b)

Better diagnostics this way.  No other functional change.  Omit
needless #ifdef DIAGNOSTIC while here; the compiler can optimize the
dead code away.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jul 17 11:31:47 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.59: +4 -8 lines
Diff to previous 1.59 (colored)

wsdisplay(4): Use DPRINTF; reduce #ifdefs.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Jul 17 11:31:07 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.58: +4 -2 lines
Diff to previous 1.58 (colored)

wsdisplay(4): Insert memory barriers for scr_dirty synchronization.

Otherwise vcons_update_screen in vcons_softintr might attempt to draw
stale data from the buffers on the screen.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Jul 17 11:30:27 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.57: +17 -21 lines
Diff to previous 1.57 (colored)

wsdisplay(4): Factor out scr_dirty setting.

Reduces #ifdefs.  No functional change intended.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jul 17 11:20:04 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.56: +20 -21 lines
Diff to previous 1.56 (colored)

wsdisplay(4): Factor out use_intr tests.

Nix a lot of #ifdefs this way.  Compiler can take care of dead code
if appropriate.  No functional change intended.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jul 17 10:28:09 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.55: +11 -57 lines
Diff to previous 1.55 (colored)

wsdisplay(4): Factor out WSDISPLAY_SCROLLSUPPORT logic.

Should find a way to avoid the #ifdefs in the .h file, but this makes
the code a good deal more legible and easier to maitain, at least.
No functional change intended.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Jul 17 10:27:45 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.54: +51 -51 lines
Diff to previous 1.54 (colored)

wsdisplay(4): Nix trailing whitespace.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jul 16 10:57:59 2022 UTC (19 months, 2 weeks ago) by mlelstv
Branch: MAIN
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored)

modify screen before updating cache.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:31 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.51: +30 -12 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync w/ HEAD.

Revision 1.51.6.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:19 2021 UTC (2 years, 8 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.51: +30 -12 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

sync with head

Revision 1.53 / (download) - annotate - [select for diffs], Sun May 16 08:46:38 2021 UTC (2 years, 9 months ago) by mlelstv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.52: +28 -7 lines
Diff to previous 1.52 (colored)

Try to guess attributes better.

Revision 1.52 / (download) - annotate - [select for diffs], Sun May 16 08:44:26 2021 UTC (2 years, 9 months ago) by mlelstv
Branch: MAIN
Changes since 1.51: +2 -5 lines
Diff to previous 1.51 (colored)

No need to check cell count.

Revision 1.40.8.3 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:51 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.40.8.2: +91 -19 lines
Diff to previous 1.40.8.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jan 28 17:40:00 2021 UTC (3 years, 1 month ago) by macallan
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

fix logic botch from previous - if we're asked to draw the cursor somewhere
else and it's still visible we need to clear it

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jan 26 16:24:17 2021 UTC (3 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.49: +40 -51 lines
Diff to previous 1.49 (colored)

- refactor vcons_cursor_noread() a bit so it works the same way as the other
  _noread() methods instead of duplicating half of vcons_cursor()
- skip clearing the cursor only if we use all _noread() methods
- clear RI_CURSOR in all copy*_noread() methods as well if we overwrite the
  cursor

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jan 25 02:11:41 2021 UTC (3 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.48: +6 -3 lines
Diff to previous 1.48 (colored)

clear the RI_CURSOR flag when we overwrite the cursor so we can skip clearing
it when asked to do it later on
saves a bunch of framebuffer writes

Revision 1.48 / (download) - annotate - [select for diffs], Thu Jan 21 21:45:42 2021 UTC (3 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.47: +69 -6 lines
Diff to previous 1.47 (colored)

introduce a putchar() based implementation of cursor() in order to avoid
framebuffer reads
quite a speedup on arm64 / genfb

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jan 17 19:03:32 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.46: +37 -26 lines
Diff to previous 1.46 (colored)

Revert previous and introduce vcons_earlyinit, which is like vcons_init
except it does not setup a vcons_intr thread.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jan 17 16:51:12 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.45: +18 -12 lines
Diff to previous 1.45 (colored)

The change from config_interrupts to a kthread for VCONS_DRAW_INTR init
unfortunately makes it easier to trigger a race that results in characters
not being erased properly at boot. Work around the original issue a
different way by creating a fake device_t and defer initialization until
we are sure that config_interrupt threads are done. This is not ideal and
the race is still present but fixing this properly would require a rewrite
to make this code MP-safe.

Revision 1.40.8.2 / (download) - annotate - [select for diffs], Sun Jan 3 16:35:02 2021 UTC (3 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.40.8.1: +57 -37 lines
Diff to previous 1.40.8.1 (colored) to branchpoint 1.40 (colored)

Sync w/ HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 2 03:00:56 2021 UTC (3 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

be more careful when optimizing stretches of blanks into erasecols()
now testpat's output is redrawn properly

Revision 1.44 / (download) - annotate - [select for diffs], Mon Dec 28 00:14:18 2020 UTC (3 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.43: +55 -35 lines
Diff to previous 1.43 (colored)

provide (bug)compatibility with vga in WSDISPLAYIO_{PUT|GET}WSCHAR
if row == 0 treat col as linear index into the text / attribute buffer,
transform into proper coordinates as needed for putchar()

with this wsmoused works as expected

Revision 1.43 / (download) - annotate - [select for diffs], Wed Dec 23 05:50:51 2020 UTC (3 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

fix tpyo
spotted by RVP, thanks!

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:09 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Sync w/ HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Nov 21 11:26:55 2020 UTC (3 years, 3 months ago) by mlelstv
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

Fix previous and tag the right callout...

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 21 11:23:22 2020 UTC (3 years, 3 months ago) by mlelstv
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Run callout without kernel lock, the softint itself is still protected.

Revision 1.38.10.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:52 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.38.10.1: +18 -3 lines
Diff to previous 1.38.10.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Thu Aug 15 12:21:27 2019 UTC (4 years, 6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.39: +18 -3 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

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.40 / (download) - annotate - [select for diffs], Wed Jul 31 14:29:54 2019 UTC (4 years, 7 months ago) by rin
Branch: 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
Branch point for: thorpej-futex
Changes since 1.39: +18 -3 lines
Diff to previous 1.39 (colored)

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

Revision 1.38.10.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:36 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.38: +12 -8 lines
Diff to previous 1.38 (colored)

Sync with HEAD

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:02 2018 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.38: +12 -8 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.39 / (download) - annotate - [select for diffs], Sat Dec 1 00:28:45 2018 UTC (5 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.38: +12 -8 lines
Diff to previous 1.38 (colored)

 Don't abuse config_interrupts()'s first argument. Use kthread instead of
config_interrupt(). OK'd by jmcneill and macallan.

Revision 1.27.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:37 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.27.6.2: +213 -73 lines
Diff to previous 1.27.6.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

update from HEAD

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:31 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33.2.2: +197 -70 lines
Diff to previous 1.33.2.2 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jun 2 19:33:51 2017 UTC (6 years, 8 months ago) by macallan
Branch: 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-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
Changes since 1.37: +9 -4 lines
Diff to previous 1.37 (colored)

- add a cookie to show_screen_cb()
- call show_screen_cb() when loading a font into a visible screen, so this can
  be used to track parameters by drivers that use the glyph cache

Revision 1.37 / (download) - annotate - [select for diffs], Fri May 19 19:22:33 2017 UTC (6 years, 9 months ago) by macallan
Branch: MAIN
Changes since 1.36: +186 -65 lines
Diff to previous 1.36 (colored)

add support for loading fonts in vcons and subsequently resizing screens
- drivers can use this by setting VCONS_LOADFONT and WSSCREEN_RESIZE
- each vcons screen can now have its own font and geometry
- while there, add support for xterm's ESC[18t to report the text buffer's
  size

With this tou can:
wsfontload -N foo  /usr/share/wscons/fonts/flori.816
wsconsctl -dw font=foo
currently this is limited to drivers that don't use the glyph cache, like genfb

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Tue May 2 03:19:20 2017 UTC (6 years, 10 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.35: +6 -5 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD - tag prg-localcount2-base1

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 26 21:03:52 2017 UTC (6 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1
Changes since 1.35: +6 -5 lines
Diff to previous 1.35 (colored)

properly optimize drawing stretches of blanks that are interrupted only by
a change in background colour or flags

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:00 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33.2.1: +16 -7 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.35 / (download) - annotate - [select for diffs], Sun Nov 8 16:49:20 2015 UTC (8 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.34: +16 -7 lines
Diff to previous 1.34 (colored)

PR/50413: Vicente Chaves: Check the allocattr return and return an error.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:01 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33: +8 -6 lines
Diff to previous 1.33 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 19 13:22:42 2015 UTC (8 years, 7 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.33: +8 -6 lines
Diff to previous 1.33 (colored)

use optimized refresh with VCONS_DRAW_INTR even when in polling mode.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Tue Nov 11 12:50:48 2014 UTC (9 years, 3 months ago) by martin
Branch: 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
Changes since 1.32: +6 -4 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #212):
	sys/dev/wscons/wsdisplay_vcons.c: revision 1.33
allocate char and attr buffers with M_ZERO

Revision 1.33 / (download) - annotate - [select for diffs], Mon Nov 10 20:52:47 2014 UTC (9 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.32: +6 -4 lines
Diff to previous 1.32 (colored)

allocate char and attr buffers with M_ZERO

Revision 1.27.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:52 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.27.6.1: +46 -8 lines
Diff to previous 1.27.6.1 (colored) to branchpoint 1.27 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:37 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.26.4.1: +99 -15 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:48 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.28: +48 -10 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:42 2014 UTC (9 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Thu Jan 30 17:18:51 2014 UTC (10 years, 1 month ago) by riastradh
Branch: riastradh-drm2
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Make wsdisplay_vcons likelier to be modularizable too.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 21 00:36:11 2014 UTC (10 years, 1 month ago) by mlelstv
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

fix build

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 21 00:10:46 2014 UTC (10 years, 1 month ago) by mlelstv
Branch: MAIN
Changes since 1.29: +47 -9 lines
Diff to previous 1.29 (colored)

keep track of VCONS_DRAW_INTR screen cache also in erasecols/rows and
copycols/rows methods.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 15 16:12:00 2013 UTC (10 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.28: +2 -4 lines
Diff to previous 1.28 (colored)

Remove unused variable

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:22 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.27: +53 -7 lines
Diff to previous 1.27 (colored)

resync from head

Revision 1.28 / (download) - annotate - [select for diffs], Tue May 28 11:04:04 2013 UTC (10 years, 9 months ago) by macallan
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base
Branch point for: rmind-smpnet, riastradh-drm2
Changes since 1.27: +53 -7 lines
Diff to previous 1.27 (colored)

in vcons_redraw_screen():
- if RI_FULLCLEAR is set and we use it to clear the screen, don't draw any
  whitespaces with the default background colour
- draw stretches of whitespaces with the same background colour using erasecols

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:11 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.26: +27 -12 lines
Diff to previous 1.26 (colored)

sync with head

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:15 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.26: +27 -12 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

merge to -current.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 4 08:25:03 2012 UTC (12 years, 1 month ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, 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-1, 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, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.26: +27 -12 lines
Diff to previous 1.26 (colored)

bump character buffers and cache to 32bit per character so flags we store
in the upper bits don't get lost
now autogenerated line drawing characters work with VCONS_DRAW_INTR and don't
get lost when switching screens

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:46 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.18: +363 -84 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

Revision 1.16.22.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:57 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.16.22.1: +201 -409 lines
Diff to previous 1.16.22.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Wed May 25 06:13:29 2011 UTC (12 years, 9 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.25: +5 -397 lines
Diff to previous 1.25 (colored)

remove VCONS_DRAW_ASYNC
it was always experimental, VCONS_DRAW_INTR is much simpler and Just Works.

Revision 1.25 / (download) - annotate - [select for diffs], Wed May 25 06:01:38 2011 UTC (12 years, 9 months ago) by macallan
Branch: MAIN
Changes since 1.24: +204 -20 lines
Diff to previous 1.24 (colored)

add a cache so when we update the screen we only redraw the character cells
that actually changed since last time. This gives a noticeable speedup on
slower hardware with dumb framebuffers.
For now this works with VCONS_DRAW_INTR and VCONS_DONT_READ only.

Revision 1.16.22.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:54:19 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.16: +615 -54 lines
Diff to previous 1.16 (colored)

sync with head

Revision 1.18.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:30 2011 UTC (12 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.18.4.2: +20 -2 lines
Diff to previous 1.18.4.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 18 13:56:11 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.23: +20 -2 lines
Diff to previous 1.23 (colored)

add vcons_hard_switch, for switching w/o callouts (eg. entering ddb)

Revision 1.18.4.2 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:16 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.18.4.1: +52 -18 lines
Diff to previous 1.18.4.1 (colored) to branchpoint 1.18 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 9 13:19:18 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.22: +34 -3 lines
Diff to previous 1.22 (colored)

add vcons_{enable,disable}_polling and genfb_{enable,disable}_polling
functions, to switch between intr and polling modes when VCONS_DRAW_INTR
is defined

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 8 23:06:25 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.21: +20 -17 lines
Diff to previous 1.21 (colored)

VCONS_DRAW_INTR changes:
- use softint instead of workqueue for drawing
- track scr_dirty with atomic_ops

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:57 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.18: +504 -69 lines
Diff to previous 1.18 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 8 13:40:35 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.20: +54 -31 lines
Diff to previous 1.20 (colored)

abuse config_interrupts to make sure we don't switch to 'intr' mode until
interrupts are enabled

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 8 12:45:04 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.19: +93 -2 lines
Diff to previous 1.19 (colored)

add support for command buffering in vcons. still a WIP, same limitations
as async drawing (no ddb, needs interrupts). you can try it with options
VCONS_DRAW_INTR. as with async, there are still occasional glitches.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 25 20:28:21 2011 UTC (13 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.18: +391 -70 lines
Diff to previous 1.18 (colored)

Add support for asynchronous drawing in vcons.
This is not finished but good enough for others to play with, enable with
options VCONS_DRAW_ASYNC
With this all drawing operations will be posted to a ring buffer instead
of being run directly, and run by a kernel thread. This avoids having to wait
for drawing operations to finish with the kernel lock held ( to a degree at
least ) and scrolling a (slow) framebuffer console should not disrupt other
operations anymore.
Problems:
- we need to switch back to synchronous operations when panicing or entering
  ddb, also re-enable async drawing when leaving ddb
- there are still occasional glitches
tested on an SS20 with cg14 and cg6 for dumb and accelerated cases

Revision 1.16.20.1 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:21 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.16: +78 -4 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD (-D20101022).

Revision 1.15.20.2 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:28 2010 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.20.1: +78 -4 lines
Diff to previous 1.15.20.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 21 03:33:14 2010 UTC (13 years, 5 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.17: +9 -5 lines
Diff to previous 1.17 (colored)

add separate flags for putchar() based copycols() and copyrows() methods
for hw that can accelerate one but not the other, like Sun's Creator series
VCONS_DONT_READ does the same as before

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 18 16:46:51 2010 UTC (13 years, 6 months ago) by macallan
Branch: MAIN
Changes since 1.16: +74 -4 lines
Diff to previous 1.16 (colored)

Add copycols() and copyrows() methods which, instead of calling the underlying
driver methods, call the driver's putchar() method to redraw the affected
areas.
For unaccelerated framebuffers where reads are expensive and we can't spare
any memory for a shadow framebuffer. Enabled by setting VCONS_DONT_READ in
scr_flags

Revision 1.15.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:57 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.15: +2 -9 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.15.18.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:58 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.15: +2 -9 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.15.20.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:17 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15: +2 -9 lines
Diff to previous 1.15 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:01 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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-premerge-20091211, 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, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.15: +2 -9 lines
Diff to previous 1.15 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:30:51 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.14: +8 -8 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with HEAD

Revision 1.7.6.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:34:50 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.6.4: +8 -8 lines
Diff to previous 1.7.6.4 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.13.4.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:07 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.13.4.1: +8 -8 lines
Diff to previous 1.13.4.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:55 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.14: +8 -8 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:10:00 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.10.2.2: +8 -8 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Thu Oct 18 08:33:09 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.14: +8 -8 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 17 22:13:56 2007 UTC (16 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.14: +8 -8 lines
Diff to previous 1.14 (colored)

Use callout_setfunc/callout_schedule and don't cast function pointers.

Revision 1.7.6.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:39:33 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.6.3: +273 -25 lines
Diff to previous 1.7.6.3 (colored) to branchpoint 1.7 (colored)

sync with head.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:46 2007 UTC (16 years, 6 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:03 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.10.2.1: +270 -22 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

Sync with HEAD.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:51 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.11: +270 -22 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:15 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.13: +266 -22 lines
Diff to previous 1.13 (colored)

Sync with HEAD.

Revision 1.14.8.2 / (download) - annotate - [select for diffs], Mon Aug 6 03:11:33 2007 UTC (16 years, 6 months ago) by macallan
Branch: matt-mips64
Changes since 1.14.8.1: +945 -0 lines
Diff to previous 1.14.8.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

add scrollback support

Revision 1.14.8.1, Mon Aug 6 03:11:32 2007 UTC (16 years, 6 months ago) by macallan
Branch: matt-mips64
Changes since 1.14: +0 -945 lines
FILE REMOVED

file wsdisplay_vcons.c was added on branch matt-mips64 on 2007-08-06 03:11:33 +0000

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 6 03:11:32 2007 UTC (16 years, 6 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, vmlocking-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, bouyer-xenamd64
Changes since 1.13: +266 -22 lines
Diff to previous 1.13 (colored)

add scrollback support

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Jul 30 12:40:49 2007 UTC (16 years, 7 months ago) by liamjfoy
Branch: 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
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

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.13 / (download) - annotate - [select for diffs], Sat Jul 28 22:35:56 2007 UTC (16 years, 7 months ago) by rumble
Branch: MAIN
CVS Tags: hpcarm-cleanup
Branch point for: jmcneill-pm
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Set the 'ri' pointer before use.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 28 20:28:57 2007 UTC (16 years, 7 months ago) by mjf
Branch: MAIN
Changes since 1.11: +6 -2 lines
Diff to previous 1.11 (colored)

Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:08:57 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 9 21:01:26 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sun Jul 1 21:49:04 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Adapt to callout API change.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:57:49 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:51 2007 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.7.6.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:51 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.6.2: +5 -4 lines
Diff to previous 1.7.6.2 (colored) to branchpoint 1.7 (colored)

sync with head.

Revision 1.7.14.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:28 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.7.14.1: +6 -6 lines
Diff to previous 1.7.14.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:57 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:31 2006 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, wrstuden-fixsa, netbsd-4
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

__unused removal on arguments; approved by core.

Revision 1.7.14.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:00 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.7: +6 -5 lines
Diff to previous 1.7 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:06 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.7: +6 -5 lines
Diff to previous 1.7 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.7.12.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:56:07 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.7.12.1: +696 -0 lines
Diff to previous 1.7.12.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.7.6.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:08:12 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.6.1: +696 -0 lines
Diff to previous 1.7.6.1 (colored) to branchpoint 1.7 (colored)

sync with head.

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:32 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.5: +53 -13 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:31 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5: +53 -13 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.7.12.1, Sun May 14 21:47:00 2006 UTC (17 years, 9 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.7: +0 -696 lines
FILE REMOVED

file wsdisplay_vcons.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:56:07 +0000

Revision 1.7.6.1, Sun May 14 21:47:00 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7: +0 -696 lines
FILE REMOVED

file wsdisplay_vcons.c was added on branch yamt-lazymbuf on 2006-06-21 15:08:12 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 14 21:47:00 2006 UTC (17 years, 9 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, yamt-lazymbuf, rpaulo-netinet-merge-pcb, newlock2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

integrate kauth.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:44 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.6.2.1: +696 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with head.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:26:39 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.5: +53 -13 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.6.2.1, Sat Apr 15 17:48:24 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.6: +0 -696 lines
FILE REMOVED

file wsdisplay_vcons.c was added on branch simonb-timecounters on 2006-04-22 11:39:44 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 15 17:48:24 2006 UTC (17 years, 10 months ago) by jmmv
Branch: MAIN
CVS Tags: elad-kernelauth-base
Branch point for: simonb-timecounters
Changes since 1.5: +53 -13 lines
Diff to previous 1.5 (colored)

Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@.  These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@.  No objections in tech-kern@.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:41 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.3.2.2: +10 -10 lines
Diff to previous 1.3.2.2 (colored) next main 1.4 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 19 03:51:03 2006 UTC (18 years ago) by macallan
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.4: +9 -9 lines
Diff to previous 1.4 (colored)

add a flag to completely disable drawing on a screen

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 18 18:56:05 2006 UTC (18 years ago) by jmcneill
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Bunch of changes to wscons in preparation for splash screen support:
 * Add WSDISPLAY_TYPE_VESA for vesafb. While here, fix a typo in a comment.
 * Add WSDISPLAYIO_SSPLASH and WSDISPLAYIO_SPROGRESS ioctls. The former
   toggles the splash screen on and off, and the latter updates the progress
   animation.
 * Prevent more than one hw driver from claiming to be the console.
 * In vcons, keep two pointers to the screen's vcons_data. This lets us
   override the original (ie with null emulops during boot), and restore
   them later on.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:12 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.3.2.1: +656 -0 lines
Diff to previous 1.3.2.1 (colored)

sync with head.

Revision 1.3.2.1, Tue Feb 14 16:02:00 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.3: +0 -656 lines
FILE REMOVED

file wsdisplay_vcons.c was added on branch yamt-uio_vmspace on 2006-02-18 15:39:12 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 14 16:02:00 2006 UTC (18 years ago) by macallan
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

bzero() -> memset()

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 14 14:15:59 2006 UTC (18 years ago) by macallan
Branch: MAIN
Changes since 1.1: +18 -6 lines
Diff to previous 1.1 (colored)

do some extra initialization and zeroing, fixes odd problems on x86

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 12 20:55:35 2006 UTC (18 years ago) by macallan
Branch: MAIN

framework for generic virtual consoles

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>