jmmv
7a51d4dddc
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@.
2006-04-12 19:38:22 +00:00
thorpej
92c7bba3df
Use device_private().
2006-03-29 06:28:38 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
uwe
81bf6b30a3
For HPCFB_CLASS_RGBCOLOR class propagate r/g/b widths and positions
...
from hf_rgb to rasops_info.
2005-09-04 00:54:42 +00:00
christos
7cdea212c0
No 0x in front of %p...
2005-05-22 15:54:45 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
ichiro
b96eb9591c
struct proc * -> struct lwp *
2003-06-29 11:20:44 +00:00
thorpej
72a7af27b0
Use aprint_normal() in cfprint routines.
2003-01-01 00:10:15 +00:00
thorpej
c9b3657ce9
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:33:28 +00:00
reinoud
e46f039e1a
G/c static pow() function that was used to calculate (2^x) only; replaced
...
the two instances with equivalent (1<<x).
2002-10-02 10:43:06 +00:00
thorpej
9d4a640785
Use CFATTACH_DECL().
2002-09-30 21:04:24 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
thorpej
71404bb533
Don't include <sys/map.h>.
2002-09-25 22:21:01 +00:00
takemura
6a286a4f2a
BUGFIX: WSDISPLAYIO_SVIDEO and WSDISPLAYIO_GVIDEO don't work.
2002-09-01 11:38:29 +00:00
junyoung
3d826105dc
alloc_attr -> allocattr
...
Approved by Matthias Drochner.
2002-07-04 14:37:10 +00:00
uwe
c061e3c249
Use symbolic WSCOL_* colour names instead of magic numbers.
2002-05-10 22:01:13 +00:00
takemura
090be59325
Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
...
and backout changes 'fix LCD byte-order setting':
arch/hpcsh/dev/hd64461/hd64461video.c Rev. 1.7 to 1.8
arch/hpcmips/dev/plumvideo.c Rev. 1.23 to 1.24
arch/hpcmips/tx/tx3912video.c Rev. 1.24 to 1.25
2002-04-13 09:29:53 +00:00
atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
takemura
345bbe4615
Do nothing if there is no screen.
2002-01-27 11:08:30 +00:00
tsutsui
c12b5c180d
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
2002-01-12 16:41:02 +00:00
lukem
b84f53efc5
add RCSID
2001-11-13 12:47:33 +00:00
uch
edcb9ebf0f
fix hf_order_flags.
2001-08-15 15:16:53 +00:00
toshii
f2c68887e0
Check if sc->sc_dc is NULL, so that non-console hpcfb can attach without
...
a panic.
2001-08-02 14:40:04 +00:00
sato
52d89f6cf1
Abort redrawing when screen switch was requested.
...
Set virtual text vram when other one is drawing framebuffer.
2001-07-31 10:50:06 +00:00
takemura
64b6b76a21
You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
...
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
2001-07-22 09:56:39 +00:00
takemura
0f960df346
- delete sc->sc_screens[]
...
- BUGFIX: hpcfb_alloc_screen clears real frame buffer
- Doesn't allocate any screen in attach routine
2001-07-21 14:49:58 +00:00
toshii
e267c67b60
"infomation" -> "information"
2001-07-17 01:37:43 +00:00
sato
9879757a53
disable framebuffer drawing while suspending.
2001-07-13 10:23:41 +00:00
toshii
35836fce7a
bcopy -> memcpy, bzero -> memset.
2001-07-07 09:19:39 +00:00
toshii
90b62cfa61
Don't include <machine/autoconf.h>, which should not be necessary.
...
Moreover, hpcarm doesn't have such a header file.
2001-06-22 14:38:44 +00:00
uch
03e1c3aa16
implement HPCFB_SWAP_BYTE.
2001-06-05 17:29:12 +00:00
uch
859a6a49b2
ANSI KNF.
2001-06-04 18:59:31 +00:00
uch
dbb7276f40
fix RCS Id.
2001-05-08 14:46:06 +00:00
sato
daf7016248
* enable HPCFB_MULTI codes.
...
* delete unneed non HPCFB_MULTI codes.
2001-03-17 14:59:33 +00:00
uch
659f65e0ee
hpc common files are moved to dev/hpc.
2001-02-22 18:37:54 +00:00