# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID 1bbb88b5dfeb73d1d6b2cbaab4fa581f252007de
# Parent 512078953bbb65fd900c1df680cdc50fb1524147
[POWERPC][TOOLS] sync with start_info_t changes
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
tools/libxc/powerpc64/xc_linux_build.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 512078953bbb -r 1bbb88b5dfeb tools/libxc/powerpc64/xc_linux_build.c
--- a/tools/libxc/powerpc64/xc_linux_build.c Fri Aug 18 05:39:01 2006 -0400
+++ b/tools/libxc/powerpc64/xc_linux_build.c Tue Aug 29 14:18:23 2006 -0500
@@ -309,7 +309,7 @@ static unsigned long create_start_info(s
si->store_evtchn = store_evtchn;
si->console.domU.mfn = si->nr_pages - 3;
si->console.domU.evtchn = console_evtchn;
- si_addr = eomem - (PAGE_SIZE * 4);
+ si_addr = si->nr_pages - 4;
return si_addr;
}
@@ -388,7 +388,7 @@ int xc_linux_build(int xc_handle,
}
si_addr = create_start_info(&si, console_evtchn, store_evtchn);
- *console_mfn = page_array[si.console_mfn];
+ *console_mfn = page_array[si.console.domU.mfn];
*store_mfn = page_array[si.store_mfn];
if (install_image(xc_handle, domid, page_array, &si, si_addr,
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|