[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Mini-OS as dom0, init_mm questions



LIU Wei, le Tue 27 Oct 2009 23:29:16 +0800, a écrit :
> 2009/10/27 Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>:
> > LIU Wei, le Tue 27 Oct 2009 21:18:34 +0800, a écrit :
> >>   max_pfn:      2000
> >> MM: Initialise page allocator for c1079000(1079000)-0(c2000000)
> >
> >> According to source code, last physical address of that line should
> >> be 2000000, not c2000000, and corresponding virtual address should be
> >> c2000000, not 0. How could this possibly go wrong? I am confused.
> >
> > I am too. Have you somehow modified arch/x86/mm.c?
> 
> Not yet. I just added some debugging output to help my development.
> I'm still working on Mini-OS management module, which is making few
> progress.
> 
> Another strange thing is, though we get a wrong caculation result here,

Mmm, please try to cast the result of PFN_PHYS into (u_long), as the
format is %lx, not suitable for uint64_t returned by PFN_PHYS.

Samuel

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.