direct-io.hg

changeset 11362:1bbb88b5dfeb

[POWERPC][TOOLS] sync with start_info_t changes
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Hollis Blanchard <hollisb@us.ibm.com>
date Tue Aug 29 14:18:23 2006 -0500 (2006-08-29)
parents 512078953bbb
children 5c2501d81ee1
files tools/libxc/powerpc64/xc_linux_build.c
line diff
     1.1 --- a/tools/libxc/powerpc64/xc_linux_build.c	Fri Aug 18 05:39:01 2006 -0400
     1.2 +++ b/tools/libxc/powerpc64/xc_linux_build.c	Tue Aug 29 14:18:23 2006 -0500
     1.3 @@ -309,7 +309,7 @@ static unsigned long create_start_info(s
     1.4      si->store_evtchn = store_evtchn;
     1.5      si->console.domU.mfn = si->nr_pages - 3;
     1.6      si->console.domU.evtchn = console_evtchn;
     1.7 -    si_addr = eomem - (PAGE_SIZE * 4);
     1.8 +    si_addr = si->nr_pages - 4;
     1.9  
    1.10      return si_addr;
    1.11  }
    1.12 @@ -388,7 +388,7 @@ int xc_linux_build(int xc_handle,
    1.13      }
    1.14  
    1.15      si_addr = create_start_info(&si, console_evtchn, store_evtchn);
    1.16 -    *console_mfn = page_array[si.console_mfn];
    1.17 +    *console_mfn = page_array[si.console.domU.mfn];
    1.18      *store_mfn = page_array[si.store_mfn];
    1.19      
    1.20      if (install_image(xc_handle, domid, page_array, &si, si_addr,