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-ppc-devel

[XenPPC] [xenppc-unstable] [ppc] assign d->tot_pages since we don; t all

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [ppc] assign d->tot_pages since we don; t allocate this memory from the domain heap yet.
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Jun 2006 18:26:18 +0000
Delivery-date: Wed, 14 Jun 2006 11:46:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 1263c0f17bd09f1f3af00c94f1042aa1280fa6a1
# Parent  1cef59998284f834c96b66331a359f35b0baf99a
[ppc] assign d->tot_pages since we don;t allocate this memory from the domain 
heap yet.

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 xen/arch/ppc/domain.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 1cef59998284 -r 1263c0f17bd0 xen/arch/ppc/domain.c
--- a/xen/arch/ppc/domain.c     Wed Jun 14 12:31:28 2006 -0400
+++ b/xen/arch/ppc/domain.c     Wed Jun 14 14:08:21 2006 -0400
@@ -82,6 +82,7 @@ int arch_domain_create(struct domain *d)
     /* XXX the hackage... hardcode 64M domains */
     d->arch.rma_base = (64<<20) * (d->domain_id + 1);
     d->arch.rma_size = (64<<20);
+    d->tot_pages = d->arch.rma_size >> PAGE_SHIFT;
 
     printk("clearing RMO: 0x%lx[0x%lx]\n", d->arch.rma_base, d->arch.rma_size);
     memset((void*)d->arch.rma_base, 0, d->arch.rma_size);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [ppc] assign d->tot_pages since we don; t allocate this memory from the domain heap yet., Xen patchbot-xenppc-unstable <=