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

RE: [Xen-ia64-devel] CONFIG_DOMAIN0_CONTIGUOUS in domain.c

To: "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>, "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Subject: RE: [Xen-ia64-devel] CONFIG_DOMAIN0_CONTIGUOUS in domain.c
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 28 Feb 2006 14:14:40 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Feb 2006 06:15:02 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcY8Ks2PGQpymMWOQ9Othys6NU6q4wAAr5wg
Thread-topic: [Xen-ia64-devel] CONFIG_DOMAIN0_CONTIGUOUS in domain.c
>From: Isaku Yamahata
>Sent: 2006年2月28日 13:47
>Hi.
>
>I think that construct_dom0() is broken for
>CONFIG_DOMAIN0_CONTIGUOUS.
>I had to modify it heavily to boot dom0 with P2M/VP model.
>
>For example
>construct_dom0()
>    ...
>    memcpy(__va(pinitrd_start),initrd_start,initrd_len);
>    This memcpy() assumes p==m.
>
>
>I thought that CONFIG_DOMAIN0_CONTIGUOUS option was introduced
>at the eary develpment stage and it remained just because
>no one removed it. However I don't know its history.
>

That option might be introduced because dom0 can have more memories
spanning machine holes, even when p==m was the model that time. 
To simplify the early design, thus limitation was added to ensure constraints 
within one continuous trunk. So it should be removed now as a step of 
your P2M effort.

Thanks,
Kevin

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