All of lore.kernel.org
 help / color / mirror / Atom feed
From: BVK Chaitanya <bayapuneni_chaitanya@symantec.com>
To: "Lin.Yu" <yulin724@gmail.com>
Cc: Xen-devel@lists.xensource.com
Subject: Re: about: XENMEM_machphys_mfn_list
Date: Fri, 18 Jul 2008 14:40:39 +0530	[thread overview]
Message-ID: <48805E0F.9000208@symantec.com> (raw)
In-Reply-To: <8eeed7950807180149y44b1a2eq56e866a490c2c2af@mail.gmail.com>

Lin.Yu wrote:
> 
> XENMEM_machphys_mfn_list command is used to acquire the mapping between 
> the pseudo-physical to machine. And the hypercall will fill in the 
> struct xen_machphys_mfn_list.
> 
> I do not understand "This table is an array of pseudo-physical frame 
> numbers of the start of 2MB extents, corresponding to 2MB rangs in the 
> pseudo-physical address space".
> "This table" means the array pointed by xen_machphys_mfn_list.extent_start.
> 
> I am reading the code about this struct, still in confusion.
> :-)
> Who can help me?
> 


AFAIU, here "table" is nothing more than an array of xen_pfn_ts.

Only complication is, mfns returned are `base-mfns' for 2MB memory regions.

For example, if mfn 100 is returned, it means mfns 100-612 hold the 2MB 
region (612 = 100 + 512; 512 pages make 2MB)


--
bvk-chaitanya

  reply	other threads:[~2008-07-18  9:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18  8:49 about: XENMEM_machphys_mfn_list Lin.Yu
2008-07-18  9:10 ` BVK Chaitanya [this message]
2008-07-18  9:22   ` Lin.Yu

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=48805E0F.9000208@symantec.com \
    --to=bayapuneni_chaitanya@symantec.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=yulin724@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.