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
leilei175@gmail.com
2009-May-27 09:34 UTC
Re: [Xen-devel] Where does M2P and P2M table defined?
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
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel