linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Create permanent mapping from PCI bus to region of physical memory
@ 2006-04-11  0:17 Howard, Marc
  2006-04-11  1:32 ` David Hawkins
  0 siblings, 1 reply; 7+ messages in thread
From: Howard, Marc @ 2006-04-11  0:17 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

I'm working on a PPC440GX based board in which a PCI based peripheral
communicates with the host via a shared region of processor memory.  The
peripheral will read and write this region autonomously.  Because of
this I need a fixed mapping FROM the PCI bus TO system memory.

It's easy enough to rope off the top 16 MB or so of system physical
memory by lying to linux in the boot arguments.  What I can't seem find
is a system call to use to create a fixed, permanent mapping of PPC
memory as seen from the PCI bus.

Has anyone out there done this and could share a code snippet with me?

Thanks,

Marc W. Howard

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-04-11 12:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11  0:17 Create permanent mapping from PCI bus to region of physical memory Howard, Marc
2006-04-11  1:32 ` David Hawkins
2006-04-11  2:56   ` Howard, Marc
2006-04-11  3:13     ` David Hawkins
2006-04-11  3:42       ` Howard, Marc
2006-04-11  3:52         ` David Hawkins
2006-04-11 12:03           ` Mark Chambers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).