WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [PATCH/RFC] xensetup rework

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH/RFC] xensetup rework
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Fri, 09 Jun 2006 00:28:24 -0600
Delivery-date: Thu, 08 Jun 2006 23:28:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: OSLO R&D
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

   I've been re-working the early start_kernel() section of xensetup.c
to work better with the newer upstream efi changes required to boot on
Kouya's PRIMEQUEST system.  The main problem is the ordering of calling
reserve_memory() versus setting up the xenheap area and moving the dom0
kernel image and ramdisk.  We also need to make sure the xenheap area is
in a type EFI_LOADER_DATA descriptor to prevent the efi code from using
it to store the kernel copy of the MDT.  The attached patch addresses
these issues.  Not shown is a trivial addition to efi.c called
efi_get_md() which returns a memory descriptor covering a given address.

   One notable difference between this code and what's currently in the
tree is that the dom0 and initrd images are only moved if they overlap
with the xenheap area.  The overlap should be rare, but I have hacked a
version of elilo for testing.  I'm not sure why we unconditionally moved
these before.  I'd appreciate any comments or feedback.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.

Attachment: xensetup_new.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>