#
1.22 |
|
16-Oct-2022 |
jsg |
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
In ISO/IEC 9899:2023 drafts, there is only one form of function definition. "N2432 Remove support for function definitions with identifier lists".
ok kettenis@
|
Revision tags: OPENBSD_7_2_BASE
|
#
1.21 |
|
15-Jul-2022 |
kettenis |
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released.
ok miod@
|
Revision tags: OPENBSD_7_1_BASE
|
#
1.20 |
|
13-Mar-2022 |
mpi |
Constify struct cfattach.
ok miod@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
|
#
1.19 |
|
20-Oct-2013 |
miod |
Use C99 named initializers for struct wsdisplay_accessops fields. No functional change.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.18 |
|
27-Dec-2008 |
miod |
Sync the sparc64 fb* api with the recent changes done on sparc.
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.17 |
|
17-Dec-2006 |
miod |
Remove unnecessary <dev/wscons/wscons_raster.h> inclusion.
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.16 |
|
02-Jun-2006 |
miod |
sbus_establish() and the associated linked list in the sbus softc is now only used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.15 |
|
15-Mar-2005 |
miod |
Take care of updating the PROMs view of the cursor position in the common fb code, rather than doing this in only a subset of the fb drivers.
|
#
1.14 |
|
07-Mar-2005 |
miod |
Do not bother passing the blanking routine to fbwscons_console_init(), as fbwscons_attach() can find it on its own.
|
#
1.13 |
|
01-Mar-2005 |
miod |
Display hardware name and display resolution at attach time, as done on sparc.
|
#
1.12 |
|
05-Jan-2005 |
miod |
Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - most of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error.
|
#
1.11 |
|
29-Nov-2004 |
miod |
Move the struct wsscreen_descr from a per-driver global to a per-instance field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information.
Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.10 |
|
27-Jun-2003 |
jason |
These don't need linear mappings either.
|
#
1.9 |
|
18-Jun-2003 |
miod |
Switch to fbxxx() API. cgsix tested and ok jason@, the rest tested by me.
|
#
1.8 |
|
02-Jun-2003 |
jason |
Nuke my clause 3 and 4 (and a couple of files jointly (c) with Theo).
|
Revision tags: UBC_SYNC_A
|
#
1.7 |
|
27-Mar-2003 |
jason |
branches: 1.7.2; map the vid mem based on linebytes and height
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.6 |
|
12-Feb-2003 |
henric |
Labels must be followed by a statement. (Pointed out by gcc3.)
ok jason@
|
Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
|
#
1.5 |
|
10-Sep-2002 |
jason |
Register more wsscreen properties to take advantage of wsemul_sun changes.
|
#
1.4 |
|
12-Aug-2002 |
jason |
Update rom cursor position if we're the console framebuffer
|
#
1.3 |
|
06-Aug-2002 |
jason |
Set RI_CLEAR if the card isn't the console framebuffer; based on discussion with miod.
|
#
1.2 |
|
25-Jul-2002 |
miod |
Adapt the framebuffer code to the WSDISPLAY_TYPE constant changes, and add the necessary magic for wsemul_sun color handling.
Initially based on a patch from jason@, then some tinkering by me.
|
#
1.1 |
|
04-Jun-2002 |
jason |
branches: 1.1.2; driver for the sbus bwtwo cards (completely untested).
|
#
1.21 |
|
15-Jul-2022 |
kettenis |
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released.
ok miod@
|
Revision tags: OPENBSD_7_1_BASE
|
#
1.20 |
|
13-Mar-2022 |
mpi |
Constify struct cfattach.
ok miod@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
|
#
1.19 |
|
20-Oct-2013 |
miod |
Use C99 named initializers for struct wsdisplay_accessops fields. No functional change.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.18 |
|
27-Dec-2008 |
miod |
Sync the sparc64 fb* api with the recent changes done on sparc.
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.17 |
|
17-Dec-2006 |
miod |
Remove unnecessary <dev/wscons/wscons_raster.h> inclusion.
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.16 |
|
02-Jun-2006 |
miod |
sbus_establish() and the associated linked list in the sbus softc is now only used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.15 |
|
15-Mar-2005 |
miod |
Take care of updating the PROMs view of the cursor position in the common fb code, rather than doing this in only a subset of the fb drivers.
|
#
1.14 |
|
07-Mar-2005 |
miod |
Do not bother passing the blanking routine to fbwscons_console_init(), as fbwscons_attach() can find it on its own.
|
#
1.13 |
|
01-Mar-2005 |
miod |
Display hardware name and display resolution at attach time, as done on sparc.
|
#
1.12 |
|
05-Jan-2005 |
miod |
Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - most of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error.
|
#
1.11 |
|
29-Nov-2004 |
miod |
Move the struct wsscreen_descr from a per-driver global to a per-instance field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information.
Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.10 |
|
27-Jun-2003 |
jason |
These don't need linear mappings either.
|
#
1.9 |
|
18-Jun-2003 |
miod |
Switch to fbxxx() API. cgsix tested and ok jason@, the rest tested by me.
|
#
1.8 |
|
02-Jun-2003 |
jason |
Nuke my clause 3 and 4 (and a couple of files jointly (c) with Theo).
|
Revision tags: UBC_SYNC_A
|
#
1.7 |
|
27-Mar-2003 |
jason |
branches: 1.7.2; map the vid mem based on linebytes and height
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.6 |
|
12-Feb-2003 |
henric |
Labels must be followed by a statement. (Pointed out by gcc3.)
ok jason@
|
Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
|
#
1.5 |
|
10-Sep-2002 |
jason |
Register more wsscreen properties to take advantage of wsemul_sun changes.
|
#
1.4 |
|
12-Aug-2002 |
jason |
Update rom cursor position if we're the console framebuffer
|
#
1.3 |
|
06-Aug-2002 |
jason |
Set RI_CLEAR if the card isn't the console framebuffer; based on discussion with miod.
|
#
1.2 |
|
25-Jul-2002 |
miod |
Adapt the framebuffer code to the WSDISPLAY_TYPE constant changes, and add the necessary magic for wsemul_sun color handling.
Initially based on a patch from jason@, then some tinkering by me.
|
#
1.1 |
|
04-Jun-2002 |
jason |
branches: 1.1.2; driver for the sbus bwtwo cards (completely untested).
|
#
1.20 |
|
13-Mar-2022 |
mpi |
Constify struct cfattach.
ok miod@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
|
#
1.19 |
|
20-Oct-2013 |
miod |
Use C99 named initializers for struct wsdisplay_accessops fields. No functional change.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.18 |
|
27-Dec-2008 |
miod |
Sync the sparc64 fb* api with the recent changes done on sparc.
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.17 |
|
17-Dec-2006 |
miod |
Remove unnecessary <dev/wscons/wscons_raster.h> inclusion.
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.16 |
|
02-Jun-2006 |
miod |
sbus_establish() and the associated linked list in the sbus softc is now only used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.15 |
|
15-Mar-2005 |
miod |
Take care of updating the PROMs view of the cursor position in the common fb code, rather than doing this in only a subset of the fb drivers.
|
#
1.14 |
|
07-Mar-2005 |
miod |
Do not bother passing the blanking routine to fbwscons_console_init(), as fbwscons_attach() can find it on its own.
|
#
1.13 |
|
01-Mar-2005 |
miod |
Display hardware name and display resolution at attach time, as done on sparc.
|
#
1.12 |
|
05-Jan-2005 |
miod |
Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - most of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error.
|
#
1.11 |
|
29-Nov-2004 |
miod |
Move the struct wsscreen_descr from a per-driver global to a per-instance field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information.
Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.10 |
|
27-Jun-2003 |
jason |
These don't need linear mappings either.
|
#
1.9 |
|
18-Jun-2003 |
miod |
Switch to fbxxx() API. cgsix tested and ok jason@, the rest tested by me.
|
#
1.8 |
|
02-Jun-2003 |
jason |
Nuke my clause 3 and 4 (and a couple of files jointly (c) with Theo).
|
Revision tags: UBC_SYNC_A
|
#
1.7 |
|
27-Mar-2003 |
jason |
branches: 1.7.2; map the vid mem based on linebytes and height
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.6 |
|
12-Feb-2003 |
henric |
Labels must be followed by a statement. (Pointed out by gcc3.)
ok jason@
|
Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
|
#
1.5 |
|
10-Sep-2002 |
jason |
Register more wsscreen properties to take advantage of wsemul_sun changes.
|
#
1.4 |
|
12-Aug-2002 |
jason |
Update rom cursor position if we're the console framebuffer
|
#
1.3 |
|
06-Aug-2002 |
jason |
Set RI_CLEAR if the card isn't the console framebuffer; based on discussion with miod.
|
#
1.2 |
|
25-Jul-2002 |
miod |
Adapt the framebuffer code to the WSDISPLAY_TYPE constant changes, and add the necessary magic for wsemul_sun color handling.
Initially based on a patch from jason@, then some tinkering by me.
|
#
1.1 |
|
04-Jun-2002 |
jason |
branches: 1.1.2; driver for the sbus bwtwo cards (completely untested).
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.19 |
|
20-Oct-2013 |
miod |
Use C99 named initializers for struct wsdisplay_accessops fields. No functional change.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.18 |
|
27-Dec-2008 |
miod |
Sync the sparc64 fb* api with the recent changes done on sparc.
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.17 |
|
17-Dec-2006 |
miod |
Remove unnecessary <dev/wscons/wscons_raster.h> inclusion.
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.16 |
|
02-Jun-2006 |
miod |
sbus_establish() and the associated linked list in the sbus softc is now only used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.15 |
|
15-Mar-2005 |
miod |
Take care of updating the PROMs view of the cursor position in the common fb code, rather than doing this in only a subset of the fb drivers.
|
#
1.14 |
|
07-Mar-2005 |
miod |
Do not bother passing the blanking routine to fbwscons_console_init(), as fbwscons_attach() can find it on its own.
|
#
1.13 |
|
01-Mar-2005 |
miod |
Display hardware name and display resolution at attach time, as done on sparc.
|
#
1.12 |
|
05-Jan-2005 |
miod |
Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - most of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error.
|
#
1.11 |
|
29-Nov-2004 |
miod |
Move the struct wsscreen_descr from a per-driver global to a per-instance field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information.
Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.10 |
|
27-Jun-2003 |
jason |
These don't need linear mappings either.
|
#
1.9 |
|
18-Jun-2003 |
miod |
Switch to fbxxx() API. cgsix tested and ok jason@, the rest tested by me.
|
#
1.8 |
|
02-Jun-2003 |
jason |
Nuke my clause 3 and 4 (and a couple of files jointly (c) with Theo).
|
Revision tags: UBC_SYNC_A
|
#
1.7 |
|
27-Mar-2003 |
jason |
branches: 1.7.2; map the vid mem based on linebytes and height
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.6 |
|
12-Feb-2003 |
henric |
Labels must be followed by a statement. (Pointed out by gcc3.)
ok jason@
|
Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
|
#
1.5 |
|
10-Sep-2002 |
jason |
Register more wsscreen properties to take advantage of wsemul_sun changes.
|
#
1.4 |
|
12-Aug-2002 |
jason |
Update rom cursor position if we're the console framebuffer
|
#
1.3 |
|
06-Aug-2002 |
jason |
Set RI_CLEAR if the card isn't the console framebuffer; based on discussion with miod.
|
#
1.2 |
|
25-Jul-2002 |
miod |
Adapt the framebuffer code to the WSDISPLAY_TYPE constant changes, and add the necessary magic for wsemul_sun color handling.
Initially based on a patch from jason@, then some tinkering by me.
|
#
1.1 |
|
04-Jun-2002 |
jason |
branches: 1.1.2; driver for the sbus bwtwo cards (completely untested).
|