WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-devel] [PATCH] Fix libfsimage/fat/fat.h for IA64 support.

To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix libfsimage/fat/fat.h for IA64 support.
From: "Takahashi Tomohiro" <takatom@xxxxxxxxxxxxxx>
Date: Wed, 11 Apr 2007 16:48:38 +0900
Delivery-date: Wed, 11 Apr 2007 03:22:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix libfsimage/fat/fat.h for IA64 support., Takahashi Tomohiro <=