From: "Takahashi Tomohiro" Subject: [PATCH] Fix libfsimage/fat/fat.h for IA64 support. Date: Wed, 11 Apr 2007 16:48:38 +0900 Message-ID: <014001c77c0d$de058030$ecb1220a@fj98229700> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-ia64-devel@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, I made a patch that fixed libfsimage/fat/fat.h for IA64 support. Because there is a problem in data(elilo.conf) with extra information when elilo.conf is acquired. I guess this issue is common problem for 64 bit archtecture. (like x86_64 and ppc etc.) Signed-off-by: Tomohiro Takahashi Thanks, Tomohiro Takahashi. diff -r 1bde28f762a6 -r 8e08fd1ffa24 tools/libfsimage/fat/fat.h --- a/tools/libfsimage/fat/fat.h Mon Apr 09 13:40:25 2007 -0600 +++ b/tools/libfsimage/fat/fat.h Tue Apr 10 20:30:05 2007 +0900 @@ -92,7 +92,7 @@ struct fat_bpb { #define FAT_DIRENTRY_FIRST_CLUSTER(entry) \ ((*((unsigned short *) (entry+26)))+(*((unsigned short *) (entry+20)) << 16)) #define FAT_DIRENTRY_FILELENGTH(entry) \ - (*((unsigned long *) (entry+28))) + (*((uint32_t *) (entry+28))) #define FAT_LONGDIR_ID(entry) \ (*((unsigned char *) (entry)))