Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 1998 20:58:37 -0500 (CDT)
From:      Kevin Day <toasty@home.dragondata.com>
To:        hackers@FreeBSD.ORG
Subject:   Memory Mapped IO
Message-ID:  <199809030158.UAA16855@home.dragondata.com>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809030158.UAA16855>