[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] 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.)

Signed-off-by: Tomohiro Takahashi <takatom@xxxxxxxxxxxxxx>

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




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.