From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 27 23:37:48 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 555DE16A422 for ; Mon, 27 Mar 2006 23:37:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id D65F043D46 for ; Mon, 27 Mar 2006 23:37:47 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k2RNb9fR092565; Mon, 27 Mar 2006 16:37:09 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 27 Mar 2006 16:37:47 -0700 (MST) Message-Id: <20060327.163747.26928323.imp@bsdimp.com> To: ederbsd@gmail.com From: "M. Warner Losh" In-Reply-To: <9dd63e580603271523p2571f66cye1230815de021bd1@mail.gmail.com> References: <9dd63e580603271523p2571f66cye1230815de021bd1@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Direct access to hadware X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 23:37:48 -0000 In message: <9dd63e580603271523p2571f66cye1230815de021bd1@mail.gmail.com> Eder writes: : I would like to know if exite some header ".h" in FreeBSD so : that I can make a direct access to hadware in machine with C. Yes. There is. However, without knowing what you want to do, it is impossible to recommend which one of the many .h files can enable this functionality. What's your hardware look like that you wish to get access to. One caveat: unless you have a driver, you can't have a interrupt. Warner