Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!newsfeed.internetmci.com!info.ucla.edu!library.ucla.edu!agate!tfs.com!mailhub.tfs.com!julian From: julian@mailhub.tfs.com (Julian Elischer) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Question: How to inportb() and outportb() ....? Date: 11 Nov 1995 13:10:12 GMT Organization: TRW Financial Systems, Oakland, CA Lines: 23 Message-ID: <4827bk$o91@times.tfs.com> References: <48016i$42a@bob.ludd.luth.se> <30A40C97.15FB7483@FreeBSD.org> NNTP-Posting-Host: mailhub.tfs.com In article <30A40C97.15FB7483@FreeBSD.org>, Jordan K. Hubbard <jkh@FreeBSD.org> wrote: >I think we do expect you to use gcc's asm() statement to invoke the >inb/outb insns directly (see X server sources for examples) and I'm not >sure if there are C callable wrappers, but I could be wrong. Not a >feature I use very much.. :-) check out /usr/include/machine/cpufunc.h (/usr/include/machine should be a link to /usr/src/sys/i386/include) julian +----------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / On assignment | / \ julian@tfs.com +------>x USA \ in a very strange | ( OZ ) 300 lakeside Dr. oakland CA. \___ ___ | country ! +- X_.---._/ USA+(510) 645-3137(wk) \_/ \\ ><DARWIN> v LL LL