home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewse!cbnewsd!asmith
- From: asmith@cbnewsd.cb.att.com (arthur.c.smith)
- Subject: io.h/iopl
- Organization: AT&T
- Date: Tue, 1 Sep 1992 12:36:48 GMT
- Message-ID: <1992Sep1.123648.18859@cbnewsd.cb.att.com>
- Lines: 14
-
- Hi,
- I have been working on an S3 driver for X and have an 80X86 asm program
- under dos that will setup the S3 chip correctly (and uses the enhanced
- rectangle fill command to clear the screen 8-)). I am trying to port this
- over to Linux. I am having two problems. 1) In trying to use sys_iopl()
- I tried to write it as _syscall1(void,110,int,3) and include unistd.h
- (and __LIBRARY__ defined). I get an error when this compiles. Is there
- a better way to do this? 2) Trying to port to C: When I include /usr/src/linux/
- include/asm/io.h and use outb I get undefined _outb referenced in .text. In
- looking at io.h it appears as if the outb function is defined as extern but
- is also defined in io.h???
- Thanks for any help,
- Art asmith@cbnewsd.att.com
-
-