ia64/xen-unstable

changeset 4483:927255a97d41

bitkeeper revision 1.1276 (4252c0b0fViC5Y9jj660Kez0BWYdJQ)

domain.c:
Adapt to unstable change to parseelfimage
author djm@sportsman.spdomain
date Tue Apr 05 16:45:36 2005 +0000 (2005-04-05)
parents ae3b1e86f62d
children 0c8a248ff045
files xen/arch/ia64/domain.c
line diff
     1.1 --- a/xen/arch/ia64/domain.c	Tue Apr 05 16:27:02 2005 +0000
     1.2 +++ b/xen/arch/ia64/domain.c	Tue Apr 05 16:45:36 2005 +0000
     1.3 @@ -50,7 +50,7 @@ unsigned long initrd_start = 0, initrd_e
     1.4  
     1.5  #define IS_XEN_ADDRESS(d,a) ((a >= d->xen_vastart) && (a <= d->xen_vaend))
     1.6  
     1.7 -extern int loadelfimage(char *);
     1.8 +//extern int loadelfimage(char *);
     1.9  extern int readelfimage_base_and_size(char *, unsigned long,
    1.10  	              unsigned long *, unsigned long *, unsigned long *);
    1.11  
    1.12 @@ -627,7 +627,9 @@ int construct_dom0(struct domain *d,
    1.13  //printk("First word of image: %lx\n",*(unsigned long *)image_start);
    1.14  
    1.15  //printf("construct_dom0: about to call parseelfimage\n");
    1.16 -	rc = parseelfimage(image_start, image_len, &dsi);
    1.17 +	dsi.image_addr = (unsigned long)image_start;
    1.18 +	dsi.image_len  = image_len;
    1.19 +	rc = parseelfimage(&dsi);
    1.20  	if ( rc != 0 )
    1.21  	    return rc;
    1.22