mpv/libdha
alex 518ad9894c pci_scan cleanup, idea and initial patch by Aurelien Jacobs <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8777 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 19:01:36 +00:00
..
bin
kernelhelper removed -W -Wall -g and other gcc-specific warning/debug options 2002-08-22 23:29:46 +00:00
oth Radeon 9000 support by Marcus Blomenkamp <Marcus.Blomenkamp@epost.de> 2002-12-25 18:38:07 +00:00
sysdep svgalib kernelhelper support (based on patch by Matan Ziv-Av <matan@svgalib.org>) and some reordering/cleanup (part #1 ;) 2002-12-20 21:07:27 +00:00
.cvsignore updated 2002-12-21 18:11:10 +00:00
AsmMacros.h
Makefile pci_names.c creation fixup 2002-12-21 17:49:52 +00:00
README ooh. many mistakes 2002-12-21 18:13:55 +00:00
config.h svgalib kernelhelper support (based on patch by Matan Ziv-Av <matan@svgalib.org>) and some reordering/cleanup (part #1 ;) 2002-12-20 21:07:27 +00:00
libdha.c svgalib kernelhelper support (based on patch by Matan Ziv-Av <matan@svgalib.org>) and some reordering/cleanup (part #1 ;) 2002-12-20 21:07:27 +00:00
libdha.h
mtrr.c
pci.c pci_scan cleanup, idea and initial patch by Aurelien Jacobs <aurel@gnuage.org> 2003-01-04 19:01:36 +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 finely run, 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 priviliges)
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)