tsutsui
ccc34e8d3e
u_intNN_t -> uintNN_t
2009-08-22 17:38:06 +00:00
cegger
9b87d582bd
kill MALLOC and FREE macros.
2008-12-17 20:51:31 +00:00
joerg
85d049a760
- device/softc split
...
- make sfbplus at least compilable
2008-07-09 13:19:33 +00:00
nisimura
540dfe3a95
- 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
2008-05-26 10:31:22 +00:00
ad
a2a3828545
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
2007-10-19 11:59:34 +00:00
yamt
348fa25c95
fix fallout from caddr_t changes.
2007-03-04 15:57:25 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
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
c8dd740fd0
Use ANSI function decls, apply static.
2006-03-31 17:39:33 +00:00
thorpej
07c30f824f
Use device_private().
2006-03-30 16:09:28 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
mhitch
b603617fbc
Fix and simplify incorrect check for screen blanking in WSDISPLAYIO_SVIDEO.
2005-01-02 20:41:20 +00:00
nisimura
8dc9a144ab
- Minor coding modifications for VDAC register access.
...
- De-__P() this time.
Tested valid with 4MAXINE.
2003-12-20 07:10:00 +00:00
ad
35a755ce3a
- Restore the display to a sane state when leaving mapped mode.
...
- OR updates into sc_changed, and protect with spltty()/splx().
2003-12-17 03:59:32 +00:00
chs
e07f0b9362
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.
2003-11-13 03:09:28 +00:00
chs
3b6d3c710c
uninitialized variables
2003-10-27 07:07:34 +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
simonb
168c4e411f
Fix 'struct lwp *' lossage.
2003-06-29 15:07:08 +00:00
thorpej
b75a007d9f
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:51:16 +00:00
thorpej
ab29a17b64
Use CFATTACH_DECL().
2002-10-01 01:05:50 +00:00
itohy
125a1bc0a9
Leaving overflow-sensitive code, very similar to what was fixed
...
in the previous changes to cfb.c / sfb.c / xcfb.c, would not be clever.
Just modify in the similar way.
2002-08-19 13:05:42 +00:00
junyoung
3d826105dc
alloc_attr -> allocattr
...
Approved by Matthias Drochner.
2002-07-04 14:37:10 +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
ad
b89e39b91a
Reorganise the wsfont stuff slightly so that multiple display adapters
...
with different bit/byte order requirements can co-exist happily.
2002-03-13 15:05:13 +00:00
lukem
6a3181d38f
add/cleanup RCSIDs
2001-11-13 06:26:09 +00:00
nisimura
b7f1b6d54b
Nuke fb_devconfig data structure which was found unnecessary to have.
2001-08-22 02:24:29 +00:00
jdolecek
74954dadf9
use unsigned variable types as appropriate
2001-08-05 18:07:51 +00:00
nisimura
bd7039cbdb
- relocate the code to place sprite cursor inside interrupt handlers
...
called on every virtical replace.
- efforts to make the code strucutures similar across TC framebuffers.
2001-01-16 05:32:16 +00:00
nisimura
8a54846748
Fix errors in initializing the software copy of 256 entry colormap
...
stored in device softc. rasops_cmap[] array is orginazed in 256
iteration of 3 byte long RBG triplet, which does not match with
struct wsdisplay_cmap design.
2000-10-27 07:24:04 +00:00
nisimura
bf7a6e6857
Found glyph pixel order inverted on screen.
2000-09-13 02:11:14 +00:00
mrg
a14baa8257
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-28 17:05:20 +00:00
simonb
889c658b5b
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.
2000-06-26 04:55:19 +00:00
nisimura
f52c9620bc
Place 34 by 80 console at the center of screen.
2000-03-16 05:50:57 +00:00
nisimura
2eb68c00d2
Respect video console colour designation by configration file.
2000-03-14 08:04:06 +00:00
nisimura
80c0893a8b
Switch to improved flexible video console text rasterizer provided by
...
rasops and wsfont.
2000-03-14 06:25:21 +00:00
drochner
0893832078
update for changed struct wsdisplay_accessops:show_screen signature.
...
no functional changes
1999-12-06 19:25:56 +00:00
nisimura
558c978dea
Const poisoning.
1999-11-29 07:50:54 +00:00
nisimura
7b3b03bea6
Enable 'WSSCREEN_REVERSE' scr-capability.
1999-10-19 00:49:33 +00:00
nisimura
1f50d00cc1
Add one new dispaly type for DEC TC TX 8/24bpp framebuffer. Currently acts
...
as an 8bpp pseudo color device.
1999-09-20 06:29:06 +00:00
nisimura
de9efb01d3
- Fix an error in cursor image manipulation. I learned a pair of Bt431
...
were populated in reverse order from PMAG-A MX ...
1999-08-25 07:56:22 +00:00
nisimura
0bdb76e5cf
- 24bit per pixel TX framebuffer occupies 0x600000.
1999-08-25 02:02:22 +00:00
nisimura
e78e58a7b8
- Fix TX 8bpp framebuffer size, which occupies 2MB.
...
- Rework CX RAMDAC register access like as other TC framebuffers.
1999-08-02 04:19:03 +00:00
nisimura
c03616646c
- Fix TX 66Hz interrupt handling. Verified ok with PMAG-JA as an 8bpp
...
console. XXX troubles in cursor color.
- Typo in comments of MX.
1999-07-30 16:23:43 +00:00
nisimura
09a2fed6f9
- Show 1bpp for MX during configuration stage.
...
- Replace memory layout 'struct' with array/pointer access.
1999-06-25 03:33:20 +00:00
nisimura
1d082ddc15
- Sweep abit preparing for code merge to have common 'vdacops' across
...
various graphics cards.
1999-05-07 08:00:30 +00:00
nisimura
ed7699b360
- Unnecessary to have '#include <machine/autoconf.h>' for those.
1999-03-29 07:22:02 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
nisimura
f85c9832ac
- Fix cursor image validity check error in set_cursor().
1999-03-01 02:45:04 +00:00
thorpej
8ce7166aa3
__pmax__ -> pmax, like other ports.
1999-01-15 23:29:55 +00:00