annotate libdha/README @ 7296:f4710b873abd

SPARC gcc generates bad code accessing an unaligned and packed structure member (See gcc problem report PR c/7847); mplayer crashes with SIGBUS signal. Added a workaround: copy the unaligned stucture member to a temporary local variable using memcpy, and use that in the code.
author jkeil
date Fri, 06 Sep 2002 13:31:33 +0000
parents fc81767343ea
children 3f9940a98d7f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3973
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
1 libdha - Library of Direct Hardware Access.
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
3 This library was designed for direct hardware access under different
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
4 OS and architectures. It's not linux specific only (like harddrake
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
5 and other).
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
6
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
7 This library is based on gfxdump utility from GATOS project.
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
8 Full list of supported OS'es see in libdha.h
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
9
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
10 Note: This library requires ROOT privileges or SUID'ed executable
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
11 file (same as XServer).
4475
fc81767343ea added dhahelper note
alex
parents: 3973
diff changeset
12 (Or use newly developed libdha kernel helper. Look at kernelhelper/dhahelper.c)