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] [pushed] [ppc] In the devtree of a domain, the reg property of

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed] [ppc] In the devtree of a domain, the reg property of the /xen package is the domain id
From: jimix@xxxxxxxxxxxxxx
Date: Mon, 03 Apr 2006 13:31:01 -0400
Delivery-date: Mon, 03 Apr 2006 10:29:09 -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>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   9749:03bdfff6f4d3fdefd879c5058a727e6c1f54f40f
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Mon Apr  3 13:28:06 2006 -0400
files:       xen/arch/ppc/ofd_fixup.c
description:
[ppc] In the devtree of a domain, the reg property of the /xen package is the 
domain id


diff -r 51aa232f2e1c4ef14531fa046395cc1406e7053c -r 
03bdfff6f4d3fdefd879c5058a727e6c1f54f40f xen/arch/ppc/ofd_fixup.c
--- a/xen/arch/ppc/ofd_fixup.c  Mon Apr  3 10:44:25 2006 -0400
+++ b/xen/arch/ppc/ofd_fixup.c  Mon Apr  3 13:28:06 2006 -0400
@@ -427,7 +427,11 @@ static ofdn_t ofd_xen_props(void *m, str
         char xen[256];
         int xl;
         u32 val[2];
-
+        s32 dom_id;
+
+        dom_id = d->domain_id;
+
+        ofd_prop_add(m, n, "reg", &dom_id, sizeof (dom_id));
         ofd_prop_add(m, n, "name", &path[1], sizeof (path) - 1);
 
         xl = snprintf(xen, sizeof (xen), "Xen-%d.%d%s",



_______________________________________________
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] [pushed] [ppc] In the devtree of a domain, the reg property of the /xen package is the domain id, jimix <=