From owner-freebsd-hackers Wed Sep 2 18:59:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA20905 for freebsd-hackers-outgoing; Wed, 2 Sep 1998 18:59:43 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from home.dragondata.com (home.dragondata.com [204.137.237.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA20900 for ; Wed, 2 Sep 1998 18:59:40 -0700 (PDT) (envelope-from toasty@home.dragondata.com) Received: (from toasty@localhost) by home.dragondata.com (8.8.8/8.8.5) id UAA16855 for hackers@freebsd.org; Wed, 2 Sep 1998 20:58:38 -0500 (CDT) From: Kevin Day Message-Id: <199809030158.UAA16855@home.dragondata.com> Subject: Memory Mapped IO To: hackers@FreeBSD.ORG Date: Wed, 2 Sep 1998 20:58:37 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Suppose from userland I want to access a chunk of physical ram directly..... I have a device that maps some ram at 0x40000000 through 0x40010000. I know I can talk to it directly through /dev/mem, but is there an easier way? (i.e. I'd like to be able to directly access that piece of ram, somehow) Can this be done? If so, what am I missing? (as a side note, would mmap'ing the appropriate section of /dev/mem even work?) Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message