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-changelog

[Xen-changelog] domain.c:

ChangeSet 1.1276, 2005/04/05 10:45:36-06:00, djm@xxxxxxxxxxxxxxxxxx

        domain.c:
          Adapt to unstable change to parseelfimage



 domain.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


diff -Nru a/xen/arch/ia64/domain.c b/xen/arch/ia64/domain.c
--- a/xen/arch/ia64/domain.c    2005-04-06 09:03:38 -04:00
+++ b/xen/arch/ia64/domain.c    2005-04-06 09:03:38 -04:00
@@ -50,7 +50,7 @@
 
 #define IS_XEN_ADDRESS(d,a) ((a >= d->xen_vastart) && (a <= d->xen_vaend))
 
-extern int loadelfimage(char *);
+//extern int loadelfimage(char *);
 extern int readelfimage_base_and_size(char *, unsigned long,
                      unsigned long *, unsigned long *, unsigned long *);
 
@@ -627,7 +627,9 @@
 //printk("First word of image: %lx\n",*(unsigned long *)image_start);
 
 //printf("construct_dom0: about to call parseelfimage\n");
-       rc = parseelfimage(image_start, image_len, &dsi);
+       dsi.image_addr = (unsigned long)image_start;
+       dsi.image_len  = image_len;
+       rc = parseelfimage(&dsi);
        if ( rc != 0 )
            return rc;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] domain.c:, BitKeeper Bot <=