home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9157 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!caen!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!kksys.com!edgar!brainiac!lmt!chrisl.lmt.com!chrisl
  2. From: chrisl@county.lmt.mn.org (Chris Laurel)
  3. Newsgroups: comp.os.linux
  4. Subject: I/O protection level
  5. Message-ID: <chrisl.1.714853947@county.lmt.mn.org>
  6. Date: 26 Aug 92 18:32:27 GMT
  7. Sender: usenet@lmt.mn.org
  8. Organization: LaserMaster R&D, Minneapolis, MN  USA
  9. Lines: 18
  10. Nntp-Posting-Host: chrisl.lmt.com
  11.  
  12. I want play around with the enhanced features of my Fahrenheit 1280 
  13. video board (S3-based), but in order to do this I need to be able to access 
  14. portsabove 0x3ff.  Ports above 0x3ff are not mapped by Linux into the per-
  15. process IO bitmap, so I cannot use the ioperm system call.  I looked through 
  16. the Linux source code and saw code for an 'iopl' system call, but I was 
  17. unable to get this to work (Linux 0.97)--the call was not present in the C
  18. libraries.  Could someone tell me how to use the iopl system call?  Or 
  19. inform me of another method to access high ports?  I presume that writing an
  20. assembly language routine to set the iopl directly by pushing/popping the 
  21. flags register will not work if it is executed by a user process . . .
  22.  
  23. Also, does anyone have any S3 hacks for linux that they would be willing to
  24. share?
  25.  
  26. Thanks,
  27.  
  28. Chris Laurel
  29. CHRISL@county.lmt.mn.org
  30.