Skip to contentSkip to conversation

Fix libfsimage/fat/fat.h for IA64 support.

PATCH New Takahashi Tomohiro 1 participant 1 message Apr 11, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix libfsimage/fat/fat.h for IA64 support.

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.)

Thanks,
Tomohiro Takahashi.

tools/libfsimage/fat/fat.h Tue Apr 10 20:30:05 2007 +0900 renamed from tools/libfsimage/fat/fat.h Mon Apr 09 13:40:25 2007 -0600 +0 -0
diff -r 1bde28f762a6 -r 8e08fd1ffa24 tools/libfsimage/fat/fat.h
@@ -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)))