diff -Napur -X /home/jbarnes/dontdiff --exclude=eliloalt --exclude='*.efi' --exclude='*.so' elilo-sgi/elilo-3.4/elilo.h elilo-work.fixed/elilo-3.4/elilo.h --- elilo-sgi/elilo-3.4/elilo.h 2003-08-20 11:02:22.000000000 -0700 +++ elilo-work.fixed/elilo-3.4/elilo.h 2004-08-04 15:30:09.000000000 -0700 @@ -105,6 +105,7 @@ extern EFI_SYSTEM_TABLE *systab; typedef struct { VOID *start_addr; UINTN pgcnt; + UINTN size; } memdesc_t; typedef struct { diff -Napur -X /home/jbarnes/dontdiff --exclude=eliloalt --exclude='*.efi' --exclude='*.so' elilo-sgi/elilo-3.4/ia64/system.c elilo-work.fixed/elilo-3.4/ia64/system.c --- elilo-sgi/elilo-3.4/ia64/system.c 2003-08-19 09:46:49.000000000 -0700 +++ elilo-work.fixed/elilo-3.4/ia64/system.c 2004-08-04 15:26:48.000000000 -0700 @@ -64,7 +64,7 @@ sysdeps_create_boot_params(boot_params_t bp->efi_memdesc_version = mdesc.desc_version; bp->command_line = (UINTN)cmdline; bp->initrd_start = (UINTN) initrd->start_addr; - bp->initrd_size = initrd->pgcnt << EFI_PAGE_SHIFT; + bp->initrd_size = initrd->size; /* fetch console parameters: */ conout = systab->ConOut; diff -Napur -X /home/jbarnes/dontdiff --exclude=eliloalt --exclude='*.efi' --exclude='*.so' elilo-sgi/elilo-3.4/initrd.c elilo-work.fixed/elilo-3.4/initrd.c --- elilo-sgi/elilo-3.4/initrd.c 2003-08-19 09:47:18.000000000 -0700 +++ elilo-work.fixed/elilo-3.4/initrd.c 2004-08-04 15:30:31.000000000 -0700 @@ -67,7 +67,8 @@ load_initrd(CHAR16 *filename, memdesc_t } /* round up to get required number of pages (4KB) */ - initrd->pgcnt = pgcnt = EFI_SIZE_TO_PAGES(size); + initrd->size = size; + pgcnt = EFI_SIZE_TO_PAGES(size);