[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-ia64-devel] [patch] calculate dom0 metaphysical load address correctly
On Tue, May 22, 2007 at 02:55:41PM +0200, Jes Sorensen wrote: > This one is needed to handle system where metaphysical doesn't start > at 0x4000000. Hi Jes. elilo tries the physical address given by its elf header at first, then tries to relocate the image only when administrater allows elilo to relocate explicitly with warning message. Although I'm not sure how this relocation affects because Linux/ia64 kernel image is position independent in (pseudo) physical address, could you try something like the following pseudo code? phys_load_offset = 0 if (rough check elf.pstart in EFI table) { if (relocation isn't allowed /* default is not-allowed */) panic(); warn! /* * comment... */ phys_load_offset = xen_pstart - elf.pstart; } thanks, -- yamahata _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |