changeset: 9751:d8726d7827b42c4c3254751aaafb306cc0f12590
user: jimix@xxxxxxxxxxxxxxxxxxxxx
date: Tue Apr 4 08:20:42 2006 -0400
files: xen/arch/ppc/ofd_fixup.c
description:
[ppc] add a xen cons package with enough information to help the OFH use it
diff -r e0afa5ac4a4f6e33e18a19227ae4bff6a2a29248 -r
d8726d7827b42c4c3254751aaafb306cc0f12590 xen/arch/ppc/ofd_fixup.c
--- a/xen/arch/ppc/ofd_fixup.c Mon Apr 3 13:30:03 2006 -0400
+++ b/xen/arch/ppc/ofd_fixup.c Tue Apr 4 08:20:42 2006 -0400
@@ -421,6 +421,7 @@ static ofdn_t ofd_xen_props(void *m, str
{
ofdn_t n;
static const char path[] = "/xen";
+ static const char console[] = "/xen/console";
n = ofd_node_add(m, OFD_ROOT, path, sizeof (path));
if (n > 0) {
@@ -446,6 +447,12 @@ static ofdn_t ofd_xen_props(void *m, str
val[1] = RMA_LAST_DOM0 * PAGE_SIZE;
val[0] = d->arch.rma_size - val[1];
ofd_prop_add(m, n, "reserved", val, sizeof (val));
+
+ n = ofd_node_add(m, n, console, sizeof (console));
+ if (n > 0) {
+ val[0] = 0;
+ ofd_prop_add(m, n, "reg", &val[0], sizeof (val[0]));
+ }
}
return n;
}
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|