All of lore.kernel.org
 help / color / mirror / Atom feed
* Where does M2P and P2M table defined?
@ 2009-05-27  9:02 p z
  2009-05-27  9:34 ` leilei175
  0 siblings, 1 reply; 4+ messages in thread
From: p z @ 2009-05-27  9:02 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 132 bytes --]

Hi all ,

Where does M2P and P2M tables defined please? I want to know what do the 2
data structures look like?

Thank you,

-- 
zp

[-- Attachment #1.2: Type: text/html, Size: 169 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Where does M2P and P2M table defined?
  2009-05-27  9:02 Where does M2P and P2M table defined? p z
@ 2009-05-27  9:34 ` leilei175
  2009-05-27 13:22   ` p z
  0 siblings, 1 reply; 4+ messages in thread
From: leilei175 @ 2009-05-27  9:34 UTC (permalink / raw)
  To: p z; +Cc: xen-devel

they are just unsigned long arrays
check arch/x86/xen/mmu.c


2009/5/27 p z <zpengxen@gmail.com>:
> Hi all ,
>
> Where does M2P and P2M tables defined please? I want to know what do the 2
> data structures look like?
>
> Thank you,
>
> --
> zp
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Where does M2P and P2M table defined?
  2009-05-27  9:34 ` leilei175
@ 2009-05-27 13:22   ` p z
  2009-05-27 13:27     ` Patrick Colp
  0 siblings, 1 reply; 4+ messages in thread
From: p z @ 2009-05-27 13:22 UTC (permalink / raw)
  To: leilei175; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 733 bytes --]

Thank you very much.

What is  your xen version please? I don't  find arch/x86/xen/mmu.c in xen
3.3.0.

There is xen-3.3.0/xen/arch/x86/mm.c in xen3.3.0,but I don't find M2P and
p2m table.

I find d->arch.p2m which may be p2m, but I don't find m2p.

2009/5/27 <leilei175@gmail.com>

> they are just unsigned long arrays
> check arch/x86/xen/mmu.c
>
>
> 2009/5/27 p z <zpengxen@gmail.com>:
> > Hi all ,
> >
> > Where does M2P and P2M tables defined please? I want to know what do the
> 2
> > data structures look like?
> >
> > Thank you,
> >
> > --
> > zp
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
> >
> >
>



-- 
zp

[-- Attachment #1.2: Type: text/html, Size: 1368 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Where does M2P and P2M table defined?
  2009-05-27 13:22   ` p z
@ 2009-05-27 13:27     ` Patrick Colp
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Colp @ 2009-05-27 13:27 UTC (permalink / raw)
  To: p z; +Cc: leilei175, xen-devel

I think mmu.c was a typo. There is m2p stuff in:

xen/arch/x86/mm/x86_32/mm.c and xen/arch/x86/mm/x86_64/mm.c

p2m stuff is in:

xen/arch/x86/mm/p2m.c


Patrick


p z wrote:
> Thank you very much.
> 
> What is  your xen version please? I don't  find arch/x86/xen/mmu.c in xen
> 3.3.0.
> 
> There is xen-3.3.0/xen/arch/x86/mm.c in xen3.3.0,but I don't find M2P and
> p2m table.
> 
> I find d->arch.p2m which may be p2m, but I don't find m2p.
> 
> 2009/5/27 <leilei175@gmail.com>
> 
>> they are just unsigned long arrays
>> check arch/x86/xen/mmu.c
>>
>>
>> 2009/5/27 p z <zpengxen@gmail.com>:
>>> Hi all ,
>>>
>>> Where does M2P and P2M tables defined please? I want to know what do the
>> 2
>>> data structures look like?
>>>
>>> Thank you,
>>>
>>> --
>>> zp
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-27 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27  9:02 Where does M2P and P2M table defined? p z
2009-05-27  9:34 ` leilei175
2009-05-27 13:22   ` p z
2009-05-27 13:27     ` Patrick Colp

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.