#
af87979a |
| 06-Dec-2021 |
abs <abs@NetBSD.org> |
Add WSDISPLAYIO_GET_FBINFO support to most TURBOchannel framebuffers
This adds WSDISPLAYIO_GET_FBINFO to cfb, mfb, sfb, tfb and xcfb TURBOchannel framebuffers as used by pmax and alpha
It does not
Add WSDISPLAYIO_GET_FBINFO support to most TURBOchannel framebuffers
This adds WSDISPLAYIO_GET_FBINFO to cfb, mfb, sfb, tfb and xcfb TURBOchannel framebuffers as used by pmax and alpha
It does not add support to px and pxg (they handle ioctls in common code in stic.c and more careful wiring is required)
These changes allow an Xswfb X server to use the framebuffer directly, albeit without any special acceleration
A subsequent change will re-enable X server building on pmax, and also hopefully switch alpha from Xorg 1.10 to 1.20
show more ...
|
#
beecddb6 |
| 07-Aug-2021 |
thorpej <thorpej@NetBSD.org> |
Merge thorpej-cfargs2.
|
#
3bee0c11 |
| 24-Apr-2021 |
thorpej <thorpej@NetBSD.org> |
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 a
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?).
show more ...
|
#
70747dc1 |
| 10-Nov-2019 |
chs <chs@NetBSD.org> |
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
#
a6d12054 |
| 24-Jan-2018 |
riastradh <riastradh@NetBSD.org> |
Fix integer overflows noted by Silvio Cesare of InfoSect.
Someone^TM should name these idioms so we can eliminate this class of copypasta bug.
|
#
858e7480 |
| 11-Jan-2012 |
macallan <macallan@NetBSD.org> |
adjust wsfont_find()
|
#
8184d5dc |
| 13-Nov-2010 |
uebayasi <uebayasi@NetBSD.org> |
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and some other constants. These are provided by sys/param.h now.
|
#
a9edf814 |
| 15-May-2010 |
tsutsui <tsutsui@NetBSD.org> |
Clear RI_NO_AUTO in actual attach functions during autoconf(9) for console devices that set the flag during consinit().
|
#
83f23f32 |
| 15-May-2010 |
tsutsui <tsutsui@NetBSD.org> |
Set RI_NO_AUTO in ri_flg if *fb_common_init() is invoked from cnattach. Untested.
|
#
ccc34e8d |
| 22-Aug-2009 |
tsutsui <tsutsui@NetBSD.org> |
u_intNN_t -> uintNN_t
|
#
9b87d582 |
| 17-Dec-2008 |
cegger <cegger@NetBSD.org> |
kill MALLOC and FREE macros.
|
#
85d049a7 |
| 09-Jul-2008 |
joerg <joerg@NetBSD.org> |
- device/softc split - make sfbplus at least compilable
|
#
540dfe3a |
| 26-May-2008 |
nisimura <nisimura@NetBSD.org> |
- assign 2 clause TNF license to the files cited as my ownership. - abandon and remove my copyright notice from the three files were copied in order to adapt HW I don't have; pvr.c, pm.c and stic.c
|
#
a2a38285 |
| 19-Oct-2007 |
ad <ad@NetBSD.org> |
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
#
dd46610b |
| 04-Mar-2007 |
yamt <yamt@NetBSD.org> |
fix fallout from caddr_t changes.
XXX what "volatile caddr_t" in if_le_ioasic.c was for?
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
7a51d4dd |
| 12-Apr-2006 |
jmmv <jmmv@NetBSD.org> |
Add an extra cookie to the ioctl and mmap wsdisplay accessops that points to the screen on which they are being called. The driver cannot guess this by itself but it is needed to implement, at least
Add an extra cookie to the ioctl and mmap wsdisplay accessops that points to the screen on which they are being called. The driver cannot guess this by itself but it is needed to implement, at least, the getwschar and putwschar functions in the correct place. There are no functional changes yet.
Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64. Suggested and reviewed by macallan@.
show more ...
|
#
c8dd740f |
| 31-Mar-2006 |
thorpej <thorpej@NetBSD.org> |
Use ANSI function decls, apply static.
|
#
07c30f82 |
| 30-Mar-2006 |
thorpej <thorpej@NetBSD.org> |
Use device_private().
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
f31bd063 |
| 27-Feb-2005 |
perry <perry@NetBSD.org> |
nuke trailing whitespace
|
#
b603617f |
| 02-Jan-2005 |
mhitch <mhitch@NetBSD.org> |
Fix and simplify incorrect check for screen blanking in WSDISPLAYIO_SVIDEO.
|
#
8dc9a144 |
| 20-Dec-2003 |
nisimura <nisimura@NetBSD.org> |
- Minor coding modifications for VDAC register access. - De-__P() this time. Tested valid with 4MAXINE.
|
#
35a755ce |
| 17-Dec-2003 |
ad <ad@NetBSD.org> |
- Restore the display to a sane state when leaving mapped mode. - OR updates into sc_changed, and protect with spltty()/splx().
|
#
e07f0b93 |
| 13-Nov-2003 |
chs <chs@NetBSD.org> |
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, a
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.
show more ...
|