home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!pizol!heeb
- From: heeb@watson.ibm.com (Hansruedi Heeb)
- Subject: How to use sys_iopl (to change I/O privilege) ?
- Sender: news@watson.ibm.com (NNTP News Poster)
- Message-ID: <1992Nov20.145858.119338@watson.ibm.com>
- Date: Fri, 20 Nov 1992 14:58:58 GMT
- Disclaimer: This posting represents the poster's views, not necessarily those of IBM
- Nntp-Posting-Host: pizol.watson.ibm.com
- Organization: IBM T.J. Watson Research Center
- Lines: 13
-
- I have to access I/O ports outside the 0x3ff range. After some
- digging in the kernel sources I came accross 'sys_iopl'
- (which changes the IO privilege in the flags register on stack).
- Unfortunately I could not find any code that actually uses this.
-
- So: how do I use sys_iopl ? Or more specific: how do I call
- sys_iopl such that the right internal registers are on the stack ?
-
- Could some kernel guru provide me with a three line example ?
- Thanks!
-
- Hansruedi - heeb@watson.ibm.com
-
-