mpv/libdha
diego 8308e63eb1 DragonFly BSD support
patch by Joerg Sonnenberger <joerg - at - britannica - dot - bec - dot - de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15567 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 08:48:32 +00:00
..
bin
dhahelperwin
kernelhelper
oth add support for one more radeon 9200 model (the one included in the Mac Mini) 2005-04-10 17:39:18 +00:00
sysdep Use the public sys/kbio.h header instead of messing with the MI headers, which 2005-05-23 21:24:47 +00:00
.cvsignore
AsmMacros.h
Makefile Install libdha into LIBDIR. 2005-01-01 14:45:11 +00:00
README
config.h
libdha.c openbsd xf86 aperture support 2005-01-21 21:36:30 +00:00
libdha.h
mtrr.c
pci.c DragonFly BSD support 2005-05-25 08:48:32 +00:00
pci_db2c.awk
test.c

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)