From owner-freebsd-hackers Wed Sep 3 01:45:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA00417 for hackers-outgoing; Wed, 3 Sep 1997 01:45:09 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA00411 for ; Wed, 3 Sep 1997 01:45:04 -0700 (PDT) Received: from word.smith.net.au (lot.atrad.adelaide.edu.au [203.20.121.21]) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) with ESMTP id SAA04320 for ; Wed, 3 Sep 1997 18:15:00 +0930 (CST) Received: from word.smith.net.au (localhost.atrad.adelaide.edu.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id SAA00388; Wed, 3 Sep 1997 18:07:15 +0930 (CST) Message-Id: <199709030837.SAA00388@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Randy Wenjiun Lin cc: freebsd-hackers@FreeBSD.ORG Subject: Re: how to access memory address 0xF1000000 In-reply-to: Your message of "Tue, 02 Sep 1997 22:49:24 MST." <340CFA64.15FB7483@aht.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Sep 1997 18:07:14 +0930 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I am doing embedded system programming on Freebsd. I need to access data > on a shared memory which start at 0xF1000000. > How to write codes to have the data on the shared memory accessed? You will need to supply more information about your application. Are you writing a user-space program, or a kernel driver? Is the device in question a PCI device? > In other words, how to make an array start at address 0xF100000? You don't do it like that. With some more information as above, we can point you at examples that will help you along. mike