mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 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_âžØ^n‡r¡ö¦zË\x1aëh™¨è­Ú&£ûàz¿äz¹Þ—ú+€Ê+zf£¢·hšˆ§~†­†Ûiÿÿïêÿ‘êçz_è®\x0fæj:+v‰¨þ)ߣømšSå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®