* static buffer in module
@ 2002-03-20 9:47 Guoqiang Shu
0 siblings, 0 replies; only message in thread
From: Guoqiang Shu @ 2002-03-20 9:47 UTC (permalink / raw)
To: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 520 bytes --]
hello,
when I declare a buffer statically in a module ( char buf[1024]), and
later use __pa(buf) and virt_to_phys(buf),I get an address beyond the physical
memory bound. how to get the real physical address of such buffers if I wanna
mmap them to user space?
thank you very much .
any instructions pls. fwd to my address.
George .Shu
ý:.˱Êâmçë¢kaÉb²ßìzwm
ébïî˱Êâmébìÿêçz_âØ^nr¡ö¦zË\x1aëh¨èÚ&£ûàz¿äz¹Þú+Ê+zf£¢·h§~Ûiÿÿïêÿêçz_è®\x0fæj:+v¨þ)ߣømSåy«\x1eæ¶\x17
\x01\x06ÛiÿÿðÃ\x0fí»\x1fè®\x0fåi\x7f
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-20 9:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-20 9:47 static buffer in module Guoqiang Shu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®