From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199702060625.AAA06666@atheist.tamu.edu> Date: Thu, 6 Feb 1997 00:25:11 -0600 (CST) From: Richard Henderson Subject: Re: obtaining physical memory address 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