mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Guoqiang Shu" <guoqiang@itechs.iscas.ac.cn>
To: <linux-kernel@vger.kernel.org>
Subject: static buffer in module
Date: Wed, 20 Mar 2002 17:47:55 +0800	[thread overview]
Message-ID: <000701c1cff4$5beb6d50$17c0c0c0@shu> (raw)

[-- 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

                 reply	other threads:[~2002-03-20  9:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000701c1cff4$5beb6d50$17c0c0c0@shu' \
    --to=guoqiang@itechs.iscas.ac.cn \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®