readme

来自「linux下的MPEG1」· 代码 · 共 39 行

TXT
39
字号
dhahelper is small driver to provide some kernel function into userspace.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~The main reason you need to use dhahelper is for busmastering.(Btw, lacking of possibility to implement conversion ofvirtual addresses into physical in userspace causedimplementing of so-called DRM drivers for Linux fromXFree86 side).Second goal (still is unfinished) - provide possibilityto control port and physical memory access throughgroups and access rights of this driver. (Unix way).Installation:~~~~~~~~~~~~~just type in this directory:make all installThe device node /dev/dhahelper will be created.  The initialpermissions of this node are restrictive.  See below for informationon how to make it available to non-root users.Porting:~~~~~~~~This driver was developed only for Linux.So if someone will port that on other unicesthen any patches are gladly accepted.WARNING:~~~~~~~~This driver violates some kernel security rules.  To keep this driverfrom anonymous access I suggest you create a new group (e.g. dha) for/dev/dhahelper and set the permissions to 660 (or ug+rw,o-rw).  Thendo one of the following:- add trusted users to group dha.- make trusted applications SGID to dha.Good luck!

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?