# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 4b028786b67e720e8b36b2d9dda0184a09b1f661
# Parent 66cd49a0e239c4ba20a493b8743e712dcaae0391
[POWERPC][TOOLS] sync with start_info_t changes
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
tools/libxc/powerpc64/xc_linux_build.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 66cd49a0e239 -r 4b028786b67e tools/libxc/powerpc64/xc_linux_build.c
--- a/tools/libxc/powerpc64/xc_linux_build.c Fri Aug 18 13:30:01 2006 -0400
+++ b/tools/libxc/powerpc64/xc_linux_build.c Fri Aug 18 14:06:02 2006 -0400
@@ -349,7 +349,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;
}
@@ -435,7 +435,7 @@ int xc_linux_build(int xc_handle,
/* start_info stuff: about to be removed */
si_addr = create_start_info(&si, console_evtchn, store_evtchn, nr_pages);
- *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,
sizeof(start_info_t))) {
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|