[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [PATCH 0 of 2] [PATCH][UPDATED] move devtree creation to libxc
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |