view 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
line wrap: on
line source

libdha - Library of Direct Hardware Access.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This library was designed for direct hardware access under different
OS and architectures. It's not linux specific only (like harddrake
and other).

This library is based on gfxdump utility from GATOS project.
Full list of supported OS'es see in libdha.h

Note: This library requires ROOT privileges or SUID'ed executable
file (same as XServer).
(Or use newly developed libdha kernel helper. Look at kernelhelper/dhahelper.c)