[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-ia64-devel] Picking the P2M address range
Isaku Yamahata wrote:
> On Thu, Jun 07, 2007 at 06:01:17PM +0200, Jes Sorensen wrote:
>> When dom0 boots it prints out a couple of lines like these:
>> Xen p2m: assign p2m table of [0x0000003000000000, 0x0000003024000000)
>> Xen p2m: to [0x000001b040000000, 0x000001b043ffc000) (65536 KBytes)
>> I am trying to figure out where the addresses in the first line
>> originate from. They are obviously picked by Xen and provided to dom0
>> somehow, but how and where?
> I'm not sure I understand your question fully.
> It comes from memory descriptor which xen creates.
> I.e. it is calculated based on ia64_boot_param->efi_memmap.
> dom_fw_init() creates it in xen.
> Presumably you have heavily modified those code and
> real memory map which boot loader(elilo?) creates is passed thourgh to dom0.
I see, so the addresses are calculated by dom0, not by Xen? Yes they
match my memory map, but because I have a hole in that space in the
physical map I see evtchn_set_pending() (in Xen) trying to scribble into
non existing memory which causes me an MCA :-(
Xen-ia64-devel mailing list