From owner-freebsd-hackers Tue Sep 2 22:50:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA19984 for hackers-outgoing; Tue, 2 Sep 1997 22:50:10 -0700 (PDT) Received: from uu4.psi.com (uu4.psi.com [38.146.21.2]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA19976 for ; Tue, 2 Sep 1997 22:50:06 -0700 (PDT) Received: from uu0672.UUCP by uu4.psi.com (5.65b/4.0.940727-PSI/PSINet) via UUCP; id AA29859 for ; Wed, 3 Sep 97 01:45:12 -0400 Received: from conair.aht.com (rblim) by aht.com (4.1/SMI-4.1) id AA03396; Tue, 2 Sep 97 23:48:11 PDT Message-Id: <340CFA64.15FB7483@aht.com> Date: Tue, 02 Sep 1997 22:49:24 -0700 From: Randy Wenjiun Lin Organization: networking integration X-Mailer: Mozilla 3.0Gold (X11; U; BSD/OS 3.0 i386) Mime-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: how to access memory address 0xF1000000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, 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? In other words, how to make an array start at address 0xF100000? I want to declare an array containing all the adresses to which I can access those data pointed. Any ideas? Thanks a lot Randy