From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: obtaining physical memory address
Date: Thu, 6 Feb 1997 00:25:11 -0600 (CST) [thread overview]
Message-ID: <199702060625.AAA06666@atheist.tamu.edu> (raw)
In-Reply-To: <199702060812.IAA18253@moondance.np.ac.sg>
> Q: How can I get the physical address of a data array in my program? I am
> still using redhat 3, the function phys() does not seem the be implimented.
From user space? You can't.
But if you are writing, as it sounded in the first paragraph, an actual
in-kernel device driver, then the thing to use is virt_to_phys or
virt_to_bus. Please see Documentation/IO-mapping.txt for more complete
details.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1997-02-06 6:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-06 0:19 obtaining physical memory address Robert Allen Barker
1997-02-06 6:25 ` Richard Henderson [this message]
1997-02-06 16:11 ` jestabro
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox