From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 15 14:22:36 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54A5716A4CE; Wed, 15 Dec 2004 14:22:36 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2450343D41; Wed, 15 Dec 2004 14:22:35 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBFEMXqj020870; Wed, 15 Dec 2004 16:22:33 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 47741-11; Wed, 15 Dec 2004 16:22:32 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBFEMVa3020863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Dec 2004 16:22:32 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iBFEMYtp029608; Wed, 15 Dec 2004 16:22:34 +0200 (EET) (envelope-from ru) Date: Wed, 15 Dec 2004 16:22:34 +0200 From: Ruslan Ermilov To: Andre Oppermann Message-ID: <20041215142234.GB24846@ip.net.ua> References: <41C04593.5070703@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kXdP64Ggrk/fb43R" Content-Disposition: inline In-Reply-To: <41C04593.5070703@freebsd.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: freebsd-hackers Subject: Re: embedded assembler in .c files X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 14:22:36 -0000 --kXdP64Ggrk/fb43R Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 15, 2004 at 03:09:23PM +0100, Andre Oppermann wrote: > I'm trying to access an assembler CPU instructions from within a normal > .c file and function. Unfortunatly I have no idea how this works. >=20 > If you know how to do this please contact me directly. Any help=20 > appreciated. >=20 find /usr/src/lib/libc -name '*.c' | xargs grep -l __asm__ Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --kXdP64Ggrk/fb43R Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBwEiqqRfpzJluFF4RAmYAAJ9tYEpQo+4RqISyUy+VDdtHsHBXZQCfdPtP T582KNJUrXwlakOchiMYDGk= =+ZJ9 -----END PGP SIGNATURE----- --kXdP64Ggrk/fb43R--