mpv/libdha
diego cd48432d6c Remove -fno-PIC check from configure and put -fPIC back at the beginning
of CFLAGS in libdha/ and vidix/drivers/.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20404 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 10:02:21 +00:00
..
bin
dhahelperwin The FSF changed postal address. 2006-09-01 12:11:11 +00:00
kernelhelper Simplify mkdir calls. 2006-04-13 16:49:56 +00:00
oth support for Geforce FX5500 based on patch by Pascal Yu <yu_pascal at hotmail.com> 2006-02-09 18:17:04 +00:00
sysdep Change some printf calls to fprintf. 2006-03-27 07:49:14 +00:00
AsmMacros.h
Makefile Remove -fno-PIC check from configure and put -fPIC back at the beginning 2006-10-23 10:02:21 +00:00
README spelling + grammar 2003-12-31 21:33:28 +00:00
config.h disable dha kernelhelper support by default. 2006-07-29 14:53:38 +00:00
libdha.c openbsd xf86 aperture support 2005-01-21 21:36:30 +00:00
libdha.h
mtrr.c Make MTRR setup work on AMD64 and simplify some #ifdefs 2005-09-03 19:17:28 +00:00
pci.c Change some printf calls to fprintf. 2006-03-27 07:49:14 +00:00
pci_db2c.awk
test.c occured --> occurred typo patch by Clinton Roy <croy@dstc.edu.au> 2003-12-24 22:00:51 +00:00

README

lidbha - Direct Hardware Access library
=======================================

This library was designed for providing direct hardware access under different
OS'es and architectures, so it's platform- and os-independent.

The main project on the top of libdha is Vidix. It provides userspace
video drivers for Matrox, Ati, 3Dlabs, Trident (and it's still evolving).

For the full list of supported OS'es read the sources, anyway here's a 'reported
as working' list (these platforms are used daily):
 Linux/x86
 FreeBSD/x86
 NetBSD/x86
 Linux/PPC

There are different ways to access the hardware, normally only ROOT can do that.
With root privileges libdha will run fine, but there are some others ways
to use it as a normal user:
1, set the SUID bit on the binary (in this way it runs with root privileges)
2, use svgalib kernel helper
3, use dhahelper (not yet finished)

The library is based on XFree86 and gfxdump (a utility from the GATOS project)
sources.

Original import and design by Nick Kurshev and Alex Beregszaszi.
Current maintenance and dhahelper by Alex Beregszaszi.
Svgalib kernelhelper support by Matan Ziv-Av.
(for the e-mail addresses see the AUTHORS file in MPlayer)