[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [pushed] [ppc] In the devtree of a domain, the reg property of the /xen package is the domain id
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |