*BSD News Article 28940


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!zip.eecs.umich.edu!panix!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!news.ans.net!inca.gate.net!sendai!mahesh
From: mahesh@sendai.seq.com (Mahesh Neelakanta)
Subject: Re: Gnu Inline Assembly question
Message-ID: <1994Mar29.163424.9397@sendai.seq.com>
Organization: Sequoia International, Inc.
Date: Tue, 29 Mar 1994 16:34:24 GMT
References: <2n76gvINNbjn@uwm.edu>
Lines: 14

In article <2n76gvINNbjn@uwm.edu> knier@miller.cs.uwm.edu (Robert Knier ) writes:
>	Sorry if this doesn't belong here - but since this is for developing a Future Domain, Seagate ST01/02 device driver here goes.  Does any one have info  on inline assembly with the gnu compiler?  More specifically, I am trying to 
>write some assembly code to speed up data transfer to and from a future domain
>card.  I am wondering on the syntax of inline assembly code. 
>
You might want to look in the kernel sources for some examples of using the 
asm calls. I saw a couple of instances in /usr/src/sys/i386/isa/npx.c and
i386/isa/sound/audio.c and i386/i386/*.c

mahesh
--
mahesh neelakanta (mahesh@seq.com)               Sequoia International, Inc. 
[ OSF/Motif 1.2.3 (SWiM) for Linux | FreeBSD | NetBSD | BSD/386 | Coherent ]
             Danger past, God forgotten. - [South Indian Proverb]