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] [PATCH 0 of 2] [PATCH][UPDATED] move devtree creation to libxc

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [PATCH 0 of 2] [PATCH][UPDATED] move devtree creation to libxc
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Tue, 16 Jan 2007 17:04:01 -0500
Delivery-date: Tue, 16 Jan 2007 15:04:00 -0800
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
Updated patchset rebased on 13943:5568efb41da4.

Changes include feedback from Jimi:
- Drop MIN() from read() in readfile()
- renamed find_cpu to find_cpu0 as we _are_ looking for cpu0
- modified find_cpu0 to check the 'reg' property for value 0 to
  confirm the node is cpu0.
- fixed bug in match(); use strlen() rather than sizeof()
- skip checking for NULLs passed to match()
- check snprintf() return vs buffer len rather than rv < 0
- remove hard-coded PHANDLE, add get_phandle() for static
  increasing value.
- moved rma_log out into xc_linux_build()
- re-ordered xc_linux_build() to load initrd if present and
  pass initrd base and length to make_devtree()
- make_devtree() now only reserves initrd space if needed
- changed rma reservation to be relative to rma_bytes
- changed remaining memory node-name to memory@<rma_bytes>
- changed dtb outputfile back to /tmp/domU.dtb
- removed get_rma_pages from util.c, use rma_log to calc rma_pages now.
- killed load_devtree()
- removed all ft_*() calls from xc_linux_build() as make_devtree()
  does it all.
- removed devtree arg from creat_start_info()
- updated copyright header in touched files.

Signed-off-by: Ryan Harper <ryanh@xxxxxxxxxx>
11 files changed, 717 insertions(+), 683 deletions(-)
tools/python/xen/xend/FlatDeviceTree.py |  359 ------------------
tools/libxc/powerpc64/Makefile          |    1 
tools/libxc/powerpc64/mk_flatdevtree.c  |  605 +++++++++++++++++++++++++++++++
tools/libxc/powerpc64/mk_flatdevtree.h  |   42 ++
tools/libxc/powerpc64/utils.c           |   25 -
tools/libxc/powerpc64/utils.h           |    3 
tools/libxc/powerpc64/xc_linux_build.c  |  143 ++-----
tools/libxc/powerpc64/xc_prose_build.c  |  124 ------
tools/libxc/xenguest.h                  |   21 -
tools/python/xen/lowlevel/xc/xc.c       |   24 -
tools/python/xen/xend/image.py          |   53 --
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
<Prev in Thread] Current Thread [Next in Thread>