The NetBSD Project

CVS log for src/sys/arch/sparc/dev/cgfourteen.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.96 / (download) - annotate - [select for diffs], Wed Dec 20 05:33:18 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.95: +1 -2 lines
Diff to previous 1.95 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.93.4.1 / (download) - annotate - [select for diffs], Wed Jul 5 16:09:50 2023 UTC (9 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: 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
Changes since 1.93: +49 -42 lines
Diff to previous 1.93 (colored) next main 1.94 (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.95 / (download) - annotate - [select for diffs], Tue Jun 13 10:11:17 2023 UTC (10 months ago) by macallan
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.94: +6 -4 lines
Diff to previous 1.94 (colored)

- use sx_wait() to avoid stalling the MBus
- request 32bit alignment for glyphcache cells

Revision 1.94 / (download) - annotate - [select for diffs], Tue May 23 10:20:12 2023 UTC (10 months, 3 weeks ago) by macallan
Branch: MAIN
Changes since 1.93: +45 -40 lines
Diff to previous 1.93 (colored)

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

Revision 1.93 / (download) - annotate - [select for diffs], Wed May 25 21:01:04 2022 UTC (22 months, 2 weeks ago) by macallan
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.92: +53 -13 lines
Diff to previous 1.92 (colored)

be lazy about clearing the cursor since most likely we're going to overwrite
it anyway. Same logic as in cgsix.

Revision 1.92 / (download) - annotate - [select for diffs], Fri Dec 17 19:27:57 2021 UTC (2 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.91: +20 -9 lines
Diff to previous 1.91 (colored)

only write the mask register if we're actually changing it

Revision 1.91 / (download) - annotate - [select for diffs], Fri Dec 17 18:51:02 2021 UTC (2 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.90: +45 -31 lines
Diff to previous 1.90 (colored)

cg14_invert():
- use only 32bit accesses
- use byte mask / ROPs for partial writes

Revision 1.90 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:05 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored)

Merge thorpej-cfargs2.

Revision 1.89.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:57:06 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Adapt to CFARGS().

Revision 1.89 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:49 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.88.10.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:07 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.85.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:07 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.85.4.1: +1 -8 lines
Diff to previous 1.85.4.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.88 / (download) - annotate - [select for diffs], Sun Aug 11 06:04:16 2019 UTC (4 years, 8 months ago) by macallan
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, 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-cfargs
Changes since 1.87: +1 -8 lines
Diff to previous 1.87 (colored)

remove orphaned comment

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:46 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.85: +10 -21 lines
Diff to previous 1.85 (colored)

Sync with HEAD

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:23 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.85.2.1: +4 -15 lines
Diff to previous 1.85.2.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

Synch with HEAD

Revision 1.87 / (download) - annotate - [select for diffs], Thu Jan 17 23:05:15 2019 UTC (5 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.86: +4 -15 lines
Diff to previous 1.86 (colored)

don't crash when we're not the console

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:41 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.85: +7 -7 lines
Diff to previous 1.85 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.86 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:27 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.85: +7 -7 lines
Diff to previous 1.85 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.85 / (download) - annotate - [select for diffs], Thu Jan 25 14:45:58 2018 UTC (6 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, 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
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.84: +6 -2 lines
Diff to previous 1.84 (colored)

do boundary checks when writing cursor sprite colour registers

Revision 1.84 / (download) - annotate - [select for diffs], Fri Jan 12 23:38:24 2018 UTC (6 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.83: +10 -4 lines
Diff to previous 1.83 (colored)

enable font loading

Revision 1.83 / (download) - annotate - [select for diffs], Sat Jan 6 07:26:54 2018 UTC (6 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.82: +31 -9 lines
Diff to previous 1.82 (colored)

support underlines

Revision 1.67.6.5 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:43 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.67.6.4: +157 -140 lines
Diff to previous 1.67.6.4 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

update from HEAD

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:05 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.81: +11 -3 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with HEAD

Revision 1.79.4.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:35 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.79.4.2: +38 -30 lines
Diff to previous 1.79.4.2 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored)

Sync with HEAD

Revision 1.82 / (download) - annotate - [select for diffs], Fri Sep 16 22:39:35 2016 UTC (7 years, 6 months ago) by macallan
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, 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-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.81: +11 -3 lines
Diff to previous 1.81 (colored)

wipe glyph cache as needed when re-entering text mode
now the console is readable again when leaving X

Revision 1.79.4.2 / (download) - annotate - [select for diffs], Sat Jul 9 20:24:56 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.79.4.1: +2 -2 lines
Diff to previous 1.79.4.1 (colored) to branchpoint 1.79 (colored)

Sync with HEAD

Revision 1.81 / (download) - annotate - [select for diffs], Thu Jun 2 21:19:24 2016 UTC (7 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

use DEFATTR if we're not the console and can't init defattr.
should appease clang
TODO: we should really init the glyphcache whith the first screen

Revision 1.79.4.1 / (download) - annotate - [select for diffs], Sun May 29 08:44:18 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.79: +148 -139 lines
Diff to previous 1.79 (colored)

Sync with HEAD

Revision 1.80 / (download) - annotate - [select for diffs], Sat Apr 30 05:23:03 2016 UTC (7 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.79: +148 -139 lines
Diff to previous 1.79 (colored)

support anti-aliased fonts, glyphcache etc.

Revision 1.67.6.4 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:24 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.67.6.3: +41 -38 lines
Diff to previous 1.67.6.3 (colored) to branchpoint 1.67 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:08 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.77: +24 -22 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Rebase.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:34 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7
Branch point for: nick-nhusb
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (colored)

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.66.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:08 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.66.4.2: +616 -71 lines
Diff to previous 1.66.4.2 (colored) to branchpoint 1.66 (colored) next main 1.67 (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.75.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:25 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.75.2.1: +34 -24 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

sync with head

Revision 1.78 / (download) - annotate - [select for diffs], Wed Apr 23 16:54:21 2014 UTC (9 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.77: +23 -22 lines
Diff to previous 1.77 (colored)

rev. 27 SX needs memory referencing instructions written to 64bit aligned
addresses ( my rev. 25 just ignores the lower 3 bits )
so, we zero these bits now

Revision 1.77 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:25 2014 UTC (10 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.76: +12 -3 lines
Diff to previous 1.76 (colored)

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:22 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.75: +8 -16 lines
Diff to previous 1.75 (colored)

sync with head

Revision 1.76 / (download) - annotate - [select for diffs], Wed Aug 14 01:53:27 2013 UTC (10 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.75: +8 -16 lines
Diff to previous 1.75 (colored)

comments & whitespace police

Revision 1.67.6.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:12 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.67.6.2: +26 -5 lines
Diff to previous 1.67.6.2 (colored) to branchpoint 1.67 (colored)

resync from head

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jun 4 22:31:30 2013 UTC (10 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.74: +4 -5 lines
Diff to previous 1.74 (colored)

report actual VRAM size in fb_type.fb_size

Revision 1.74 / (download) - annotate - [select for diffs], Tue Jun 4 13:42:37 2013 UTC (10 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored)

actually map the whole SX IO space instead of just the first page over and
over again (doh)

Revision 1.73 / (download) - annotate - [select for diffs], Wed May 29 22:26:39 2013 UTC (10 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.72: +22 -1 lines
Diff to previous 1.72 (colored)

allow userland to map SX registers and IO space

Revision 1.67.6.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:57 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.67.6.1: +578 -56 lines
Diff to previous 1.67.6.1 (colored) to branchpoint 1.67 (colored)

resync with head

Revision 1.72 / (download) - annotate - [select for diffs], Tue Feb 12 22:24:47 2013 UTC (11 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: khorben-n900, agc-symver-base, agc-symver
Changes since 1.71: +21 -11 lines
Diff to previous 1.71 (colored)

break some more long lines

Revision 1.71 / (download) - annotate - [select for diffs], Thu Feb 7 16:14:30 2013 UTC (11 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.70: +136 -40 lines
Diff to previous 1.70 (colored)

- implement buttom-up copies in cg14_bitblt() so scrolling down works now
- use more registers when copying
- use hardware to draw the cursor
- use putchar() for horizontal scrolling since byte-wise overlapping copy
  ops wouldn't be any faster anyway

Revision 1.70 / (download) - annotate - [select for diffs], Wed Feb 6 04:10:54 2013 UTC (11 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.69: +473 -5 lines
Diff to previous 1.69 (colored)

use SX for basic hardware acceleration
not quite complete yet but good enough to be useful
missing things include:
- backwards blits
- ROP support
- the cursor is still drawn by software

Revision 1.69 / (download) - annotate - [select for diffs], Tue Feb 5 21:45:39 2013 UTC (11 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.68: +1 -53 lines
Diff to previous 1.68 (colored)

throw out RASTERCONSOLE goo

Revision 1.67.6.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:43 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.66.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:20 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.66.4.1: +3 -3 lines
Diff to previous 1.66.4.1 (colored) to branchpoint 1.66 (colored)

sync with head

Revision 1.68 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:11 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.66.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:54 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.66: +2 -3 lines
Diff to previous 1.66 (colored)

sync with head

Revision 1.66.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:12 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.66: +2 -3 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

merge to -current.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jan 11 15:54:44 2012 UTC (12 years, 3 months ago) by macallan
Branch: MAIN
CVS Tags: 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, 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
Branch point for: tls-maxphys
Changes since 1.66: +2 -3 lines
Diff to previous 1.66 (colored)

use rasops_init(0, 0)

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:45 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.65: +15 -14 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD.

Revision 1.62.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:25 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.62.4.2: +14 -13 lines
Diff to previous 1.62.4.2 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Wed Apr 13 23:31:25 2011 UTC (13 years ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-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.65: +15 -14 lines
Diff to previous 1.65 (colored)

use the same function whenever we change colour depth
also, when opening the fb device switch to 32bit and back to 8 on close, not
the other way around

Revision 1.62.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:01 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.62.4.1: +3 -12 lines
Diff to previous 1.62.4.1 (colored) to branchpoint 1.62 (colored)

sync with head

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:31 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.62.2.1: +2 -11 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Sync with HEAD (-D20101022).

Revision 1.52.20.6 / (download) - annotate - [select for diffs], Sat Oct 9 03:31:52 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.52.20.5: +3 -12 lines
Diff to previous 1.52.20.5 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Tue Aug 31 21:14:57 2010 UTC (13 years, 7 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.64: +3 -12 lines
Diff to previous 1.64 (colored)

remove shadow framebuffer support, use VCONS_DONT_READ instead

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:14 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.62: +65 -101 lines
Diff to previous 1.62 (colored)

Sync with HEAD.

Revision 1.52.20.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:44 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.52.20.4: +65 -101 lines
Diff to previous 1.52.20.4 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.62.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:26 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.62: +65 -101 lines
Diff to previous 1.62 (colored)

sync with head

Revision 1.64 / (download) - annotate - [select for diffs], Thu Jun 10 13:21:13 2010 UTC (13 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.63: +60 -62 lines
Diff to previous 1.63 (colored)

Add a couple more hw offset definitions, add an ioctl() to set colour depth
which works like Solaris and Linux, and finally make mmap() behave like an
actual CG14. This should be all we need to get Xorg's suncg14 driver going.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jun 8 06:30:41 2010 UTC (13 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.62: +6 -40 lines
Diff to previous 1.62 (colored)

get rid of the cg3/cg8 'emulation' kludge since we have the xf86-video-suncg14
driver now
this will probably need some work in cgfourteenmmap() to match what the
driver expects from a cg14

Revision 1.52.20.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:42 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.52.20.3: +2 -1 lines
Diff to previous 1.52.20.3 (colored) to branchpoint 1.52 (colored)

sync with head

Revision 1.62 / (download) - annotate - [select for diffs], Thu Aug 27 20:52:18 2009 UTC (14 years, 7 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored)

use vcons_replay_msgbuf()

Revision 1.52.20.3 / (download) - annotate - [select for diffs], Sat Jul 18 14:52:55 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.52.20.2: +2 -2 lines
Diff to previous 1.52.20.2 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jul 14 20:57:22 2009 UTC (14 years, 9 months ago) by apb
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Enclose the argument to #error in quotes, to protect an embedded single
quote.  Part of PR 41255 from Kurt Lidl.

Revision 1.52.20.2 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:08 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.52.20.1: +5 -4 lines
Diff to previous 1.52.20.1 (colored) to branchpoint 1.52 (colored)

sync with head

Revision 1.60 / (download) - annotate - [select for diffs], Tue May 26 03:31:12 2009 UTC (14 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5
Changes since 1.59: +4 -3 lines
Diff to previous 1.59 (colored)

use BUS_SPACE_MAP_LARGE to map the framebuffer

Revision 1.59 / (download) - annotate - [select for diffs], Sat May 16 16:55:24 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

KNF, same object code generated

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:36 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.56: +5 -4 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD.

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

Revision 1.52.20.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:54 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.52: +81 -55 lines
Diff to previous 1.52 (colored)

sync with head.

Revision 1.54.4.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:41 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.54.4.2: +5 -4 lines
Diff to previous 1.54.4.2 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Apr 16 16:57:21 2009 UTC (15 years ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

use sparc_bus_map_large() to map the framebuffer if we can't find a PROM
mapping - now we won't exhaust the IODEV range and thus prevent other graphics
devices from working.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Mar 18 17:06:46 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

bcopy -> memcpy

Revision 1.54.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:25 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.54.4.1: +16 -10 lines
Diff to previous 1.54.4.1 (colored) to branchpoint 1.54 (colored)

Sync with HEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Feb 5 16:04:00 2009 UTC (15 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.55: +16 -10 lines
Diff to previous 1.55 (colored)

Recycle OBP's framebuffer mapping if available instead of wasting KVA space
by creating our own.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:44 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.54: +39 -20 lines
Diff to previous 1.54 (colored)

Sync with HEAD.

Revision 1.52.16.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:30 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.52.16.2: +38 -19 lines
Diff to previous 1.52.16.2 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Dec 12 18:52:40 2008 UTC (15 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.54: +39 -20 lines
Diff to previous 1.54 (colored)

some cleanup, add shadowfb support

Revision 1.52.16.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:00 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.52.16.1: +4 -8 lines
Diff to previous 1.52.16.1 (colored) to branchpoint 1.52 (colored)

Sync with HEAD.

Revision 1.52.22.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:42 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.52: +27 -27 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:32:48 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.53: +5 -9 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with head.

Revision 1.52.18.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:12 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.52.18.1: +5 -9 lines
Diff to previous 1.52.18.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jun 13 13:10:18 2008 UTC (15 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, 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, 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, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.53: +5 -9 lines
Diff to previous 1.53 (colored)

use device_lookup_private to get softc

Revision 1.52.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:40 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.52: +27 -23 lines
Diff to previous 1.52 (colored)

Sync with HEAD.

Revision 1.52.18.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:46 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.52: +27 -23 lines
Diff to previous 1.52 (colored)

sync with head.

Revision 1.53 / (download) - annotate - [select for diffs], Sat May 17 00:45:38 2008 UTC (15 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl
Changes since 1.52: +27 -23 lines
Diff to previous 1.52 (colored)

struct device * -> device_t

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:22:19 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.51: +1 -1 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:11 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base2, 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, wrstuden-revivesa, mjf-devfs2
Changes since 1.51: +1 -1 lines
Diff to previous 1.51 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.48.10.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:10 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.48: +493 -18 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:47:40 2007 UTC (16 years, 7 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.50: +3 -1 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:29:55 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.39.2.2: +494 -19 lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

sync with head.

Revision 1.48.14.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:19:34 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.48.14.1: +3 -1 lines
Diff to previous 1.48.14.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:57 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.48: +493 -18 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Aug 19 09:18:45 2007 UTC (16 years, 7 months ago) by jdc
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.50: +3 -1 lines
Diff to previous 1.50 (colored)

Also print a new line if we are not the console.

Revision 1.48.14.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:43 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.48: +491 -18 lines
Diff to previous 1.48 (colored)

Sync with HEAD.

Revision 1.48.12.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:45 2007 UTC (16 years, 8 months ago) by matt
Branch: matt-mips64
Changes since 1.48: +491 -18 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jul 30 23:28:13 2007 UTC (16 years, 8 months ago) by macallan
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: jmcneill-pm
Changes since 1.49: +147 -2 lines
Diff to previous 1.49 (colored)

add hardware cursor support

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jul 30 18:20:09 2007 UTC (16 years, 8 months ago) by macallan
Branch: MAIN
CVS Tags: hpcarm-cleanup
Changes since 1.48: +345 -17 lines
Diff to previous 1.48 (colored)

add wsdisplay support for cg14
The console will run in 8bit but switch to 32bit in mapped mode so XFree86
with wsfb can run in 24bit colour.

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:27 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:43 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking, ppcoea-renovation, nick-csl-alignment, matt-mips64
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

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

Revision 1.46.8.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:59 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with head.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:58 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.39.2.1: +2 -2 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored)

sync with head.

Revision 1.46.10.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:35 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Nov 23 19:49:41 2006 UTC (17 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Always #undef CG14_MAP_REGS, since it opens a security hole (as the comment
says) and should be used only for debugging.

Okay mouse@, christos@.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:09 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:55:54 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.39: +209 -383 lines
Diff to previous 1.39 (colored)

sync with head.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:57 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with head.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:44 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head - hopefully this will work

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:29 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:09 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Mar 29 04:16:47 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Use device_cfdata().

Revision 1.45 / (download) - annotate - [select for diffs], Sat Mar 4 02:59:29 2006 UTC (18 years, 1 month ago) by uwe
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored)

s/u_intN_t/uintN_t/

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:37 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.41: +180 -324 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jan 19 15:09:57 2006 UTC (18 years, 2 months ago) by he
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

Wrap the definition of cg14_set_rcons_luts() in an #ifdef RASTERCONSOLE,
to allow the INSTALL kernel to build, as it's unused there.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jan 19 09:32:37 2006 UTC (18 years, 2 months ago) by he
Branch: MAIN
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored)

Make this compile again by ensuring that we don't cast away the volatile
qualifier.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jan 17 04:22:08 2006 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.41: +178 -324 lines
Diff to previous 1.41 (colored)

PR/32552: Antonio Bravo: cgfourteen 24-bit support
Original code from der Mouse, posted to the mailing lists by Jakob Menzi.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:05 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored)

merge ktrace-lwp.

Revision 1.34.2.6 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:26 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.34.2.5: +47 -77 lines
Diff to previous 1.34.2.5 (colored) next main 1.35 (colored)

Sync with head.

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:02 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.39: +47 -77 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Nov 16 00:49:03 2005 UTC (18 years, 5 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, ktrace-lwp-base
Changes since 1.39: +47 -77 lines
Diff to previous 1.39 (colored)

ANSIify function declarations/defintions.  Use uint<N>_t.
Propagate "static" to function definitions.  Drop trailing whitespace.
Same binary code is produced for GENERIC.MP + KGDB + DDB.

Revision 1.34.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:55 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.4: +12 -12 lines
Diff to previous 1.34.2.4 (colored)

Sync with HEAD. Here we go again...

Revision 1.39 / (download) - annotate - [select for diffs], Sat Jun 4 04:32:11 2005 UTC (18 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Changes since 1.38: +12 -12 lines
Diff to previous 1.38 (colored)

Fix for gcc -Wcast-qual.

Revision 1.34.2.4 / (download) - annotate - [select for diffs], Fri Feb 4 07:09:16 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.3: +8 -8 lines
Diff to previous 1.34.2.3 (colored)

Adapt to branch.

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:22:01 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.2: +2 -2 lines
Diff to previous 1.34.2.2 (colored)

Fix the sync with head I botched.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:40:27 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.1: +0 -0 lines
Diff to previous 1.34.2.1 (colored)

Sync with HEAD.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:40:45 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34: +42 -44 lines
Diff to previous 1.34 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 13 03:09:28 2003 UTC (20 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, 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-1, 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, netbsd-3-0, netbsd-3, 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-1, 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, netbsd-2-0, netbsd-2, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.37: +40 -45 lines
Diff to previous 1.37 (colored)

eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed.  however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors.  most of
the callers of uvm_useracc() make the above incorrect assumption.  the
rest are all misguided optimizations, which optimize for the case
where an operation will fail.  we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors.  since there appear to be no good uses of uvm_useracc(), we'll
just remove it.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 25 17:50:25 2003 UTC (20 years, 7 months ago) by uwe
Branch: MAIN
Changes since 1.36: +2 -4 lines
Diff to previous 1.36 (colored)

Undo previous as it broke things.

There are some scattered implicit RASTERCONSOLE dependencies,
so there should be a better way.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Aug 24 17:32:00 2003 UTC (20 years, 7 months ago) by uwe
Branch: MAIN
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored)

#include "opt_rcons.h"

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 15 00:04:52 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.34: +4 -1 lines
Diff to previous 1.34 (colored)

__KERNEL_RCSID()

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:54 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.33: +6 -6 lines
Diff to previous 1.33 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 29 09:56:24 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.32: +7 -7 lines
Diff to previous 1.32 (colored)

More changes for providing lwpid for ktrace (sparc GENERIC built)

Revision 1.32 / (download) - annotate - [select for diffs], Wed Apr 2 04:35:27 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Fri Nov 22 17:36:00 2002 UTC (21 years, 4 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.23.4.1: +3 -3 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Pull up revision 1.25 (requested by martin in ticket #948):
Use the structures defined in bsd_openprom.h for "reg", "range",
and "intr" properties, rather than having identical-except-for-names
sbus_* and iommu_* versions.

Revision 1.21.4.8 / (download) - annotate - [select for diffs], Mon Nov 11 22:04:25 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.21.4.7: +3 -3 lines
Diff to previous 1.21.4.7 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Catch up to -current

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 23 09:12:07 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.21.4.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:39:51 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.4.6: +4 -5 lines
Diff to previous 1.21.4.6 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.20.4.7 / (download) - annotate - [select for diffs], Thu Oct 10 18:36:09 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.20.4.6: +15 -45 lines
Diff to previous 1.20.4.6 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 2 16:02:13 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 1 18:57:51 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +3 -4 lines
Diff to previous 1.28 (colored)

Use CFATTACH_DECL().

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 27 20:35:42 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Declare all cfattach structures const.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 27 02:24:24 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.

Revision 1.21.4.6 / (download) - annotate - [select for diffs], Tue Sep 17 21:17:40 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.4.5: +12 -16 lines
Diff to previous 1.21.4.5 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 7 months ago) by gehenna
Branch: MAIN
Changes since 1.25: +12 -16 lines
Diff to previous 1.25 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.20.4.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:40:49 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.20.4.5: +41 -41 lines
Diff to previous 1.20.4.5 (colored) to branchpoint 1.20 (colored)

sync kqueue branch with HEAD

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Sat Aug 31 14:52:13 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.23.2.1: +41 -41 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

catch up with -current.

Revision 1.21.4.5 / (download) - annotate - [select for diffs], Tue Aug 27 23:45:28 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.4.4: +4 -4 lines
Diff to previous 1.21.4.4 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Aug 23 02:53:11 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Use the structures defined in bsd_openprom.h for "reg", "range",
and "intr" properties, rather than having identical-except-for-names
sbus_* and iommu_* versions.

Revision 1.21.4.4 / (download) - annotate - [select for diffs], Tue Aug 13 02:18:52 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.4.3: +38 -38 lines
Diff to previous 1.21.4.3 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Wed Aug 7 01:32:10 2002 UTC (21 years, 8 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Changes since 1.23: +38 -38 lines
Diff to previous 1.23 (colored)

Pull up revision 1.24 (requested by itojun in ticket #616):
correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls.  from openbsd

Revision 1.24 / (download) - annotate - [select for diffs], Sat Aug 3 00:12:59 2002 UTC (21 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.23: +38 -38 lines
Diff to previous 1.23 (colored)

correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls.  from openbsd

Revision 1.20.4.5 / (download) - annotate - [select for diffs], Fri Jun 28 08:04:22 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.20.4.4: +1 -1 lines
Diff to previous 1.20.4.4 (colored) to branchpoint 1.20 (colored)

hook fbkqfilter to leaf drivers' kqfilter

Revision 1.20.4.4 / (download) - annotate - [select for diffs], Fri Jun 28 07:50:43 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.20.4.3: +26 -1 lines
Diff to previous 1.20.4.3 (colored) to branchpoint 1.20 (colored)

prove kqfilter hook; it's very simple equivalent of seltrue()

Revision 1.20.4.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:41:43 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.20.4.2: +37 -16 lines
Diff to previous 1.20.4.2 (colored) to branchpoint 1.20 (colored)

catch up with -current on kqueue branch

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Fri May 17 15:40:51 2002 UTC (21 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.23: +12 -16 lines
Diff to previous 1.23 (colored)

Add device switch.

Revision 1.21.4.3 / (download) - annotate - [select for diffs], Wed Apr 17 00:04:24 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.4.2: +37 -16 lines
Diff to previous 1.21.4.2 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 3 16:34:11 2002 UTC (22 years ago) by darrenr
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.22: +37 -16 lines
Diff to previous 1.22 (colored)

apply patches from PR#10170

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Mon Apr 1 07:42:39 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.4.1: +861 -0 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:45 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.20.4.1: +4 -6 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored)

Catch up with -current.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 11 16:27:01 2002 UTC (22 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.21: +4 -6 lines
Diff to previous 1.21 (colored)

* `bus_type_t' is gone.
* Use BUS_ADDR() where appropriate to encode I/O space and physical
  address offset into a `bus_addr_t' value.
* Drop obio_bus_map() since it's now completely equivalent to bus_space_map()
* Use bus_space_map2() to map device space at a fixed virtual address.
* Remove the virtual address argument from sbus_sbus_addr()

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:48:44 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.20: +8 -15 lines
Diff to previous 1.20 (colored)

Sync kqueue branch with -current.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Wed Oct 10 11:56:31 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.20.2.1: +19 -15 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Convert all remaining devices.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:41:56 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.20: +8 -15 lines
Diff to previous 1.20 (colored)

Catch up with -current.

Revision 1.21.4.1, Mon Sep 24 23:49:31 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21: +0 -863 lines
FILE REMOVED

file cgfourteen.c was added on branch nathanw_sa on 2002-04-01 07:42:39 +0000

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 24 23:49:31 2001 UTC (22 years, 6 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, newlock-base, newlock, ifpoll-base
Branch point for: nathanw_sa
Changes since 1.20: +8 -15 lines
Diff to previous 1.20 (colored)

Change bus_space_mmap() signature to the official one.

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:25:30 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.15: +16 -17 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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.20 / (download) - annotate - [select for diffs], Tue Aug 22 21:28:30 2000 UTC (23 years, 7 months ago) by pk
Branch: 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, kqueue
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Use the framebuffer drivers & header files that now live in /sys/dev/sun.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 9 20:38:35 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.18: +7 -4 lines
Diff to previous 1.18 (colored)

Re-arrange headers; drop <machine/cpu.h>.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:38 2000 UTC (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: 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
Changes since 1.16: +7 -6 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 29 07:40:06 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored)

remove include of <vm/vm.h> and <machine/pmap.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:04 2000 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.16: +7 -6 lines
Diff to previous 1.16 (colored)

Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Mar 19 15:38:45 2000 UTC (24 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.15: +3 -7 lines
Diff to previous 1.15 (colored)

Use fb_is_console(); retract fbconstty & fbnode from service.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:10 1999 UTC (25 years ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi
Changes since 1.14: +1 -23 lines
Diff to previous 1.14 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Mon Nov 23 03:12:56 1998 UTC (25 years, 4 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Fix many real and potential security problems with character device
driver mmap routines that did not properly bounds check offsets.
See NetBSD security advisory NetBSD-SA1998-005 for details.  Done
as a patch because it's large, and a fair number of bits are different
in -current.  (mrg)

Revision 1.14 / (download) - annotate - [select for diffs], Thu Nov 19 15:38:24 1998 UTC (25 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

fix problems in many d_mmap routines:
	- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jul 29 18:36:08 1998 UTC (25 years, 8 months ago) by pk
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.12: +10 -14 lines
Diff to previous 1.12 (colored)

We no longer need to get the register sets by ourselves.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Apr 7 20:18:18 1998 UTC (26 years ago) by pk
Branch: MAIN
Changes since 1.11: +39 -33 lines
Diff to previous 1.11 (colored)

bus_space_mmap() has changed to take a `bus_space_handle_t *' argument,
like other bus space methods.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 21 20:11:30 1998 UTC (26 years ago) by pk
Branch: MAIN
Changes since 1.10: +110 -128 lines
Diff to previous 1.10 (colored)

Account for changed bus attachment scheme.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 10 14:11:32 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 5 07:57:51 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.8: +21 -1 lines
Diff to previous 1.8 (colored)

initial import of the new virtual memory system, UVM, into -current.

UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code.  i provided some help
getting swap and paging working, and other bug fixes/ideas.  chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the sparc portion.

this will be KNF'd shortly.  :-)

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 12 20:23:43 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +2 -4 lines
Diff to previous 1.7 (colored)

Update for changes to config.

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 24 20:16:08 1997 UTC (26 years, 10 months ago) by pk
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Branch point for: netbsd-1-3
Changes since 1.6: +4 -5 lines
Diff to previous 1.6 (colored)

Remove all `bustype' arguments from map[io]dev() and REG2PHYS().

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 10 22:54:49 1996 UTC (27 years, 4 months ago) by pk
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

Comply with recent autoconfiguration changes. Diffs graciously
supplied by Chris Demetriou.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 13 02:59:36 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.4: +9 -9 lines
Diff to previous 1.4 (colored)

backout previous kprintf change

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 11 00:46:25 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.3: +14 -14 lines
Diff to previous 1.3 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 4 20:34:35 1996 UTC (27 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +7 -8 lines
Diff to previous 1.2 (colored)

Returning ENODEV is not correct in a poll entry point.  Instead, since
read/write returns an error, use seltrue().

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 1 00:06:45 1996 UTC (27 years, 6 months ago) by abrown
Branch: MAIN
Changes since 1.1: +11 -1 lines
Diff to previous 1.1 (colored)

Add cgfourteen_poll() entry point to sync with recent changes in frame
buffer cdev code.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 30 22:41:01 1996 UTC (27 years, 6 months ago) by abrown
Branch: MAIN

Initial commit of cg14 framebuffer driver for Sun4m SPARCs.
- This driver supports the on-board mbus-based cgfourteen (sometimes referred
  to as "SX") video hardware present on SS20-class machines.
- It does *not* support any of the SX acceleration features.
- It does support the 8-bit mode of the hardware, and looks to X like
  a cgthree.
- It does support the cg6-style hardware cursor, even when running X in
  cgthree emulation.
- It does support DPMS power-down of compatible displays on later-revision
  cg14's.
- There is code to support the true color (32-bit) mode of the cg14 as
  cg8 emulation, but it is disabled by default because it is most likely
  broken. #define CG14_CG8 to turn it on.

The driver is not yet installed in the conf files, but I will do so
shortly...

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>