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

[Xen-changelog] [xen-unstable] PV-GRUB: xfs support

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] PV-GRUB: xfs support
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Jul 2008 12:10:09 -0700
Delivery-date: Thu, 10 Jul 2008 12:10:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215695848 -3600
# Node ID 40b2048bd8093c62da7c44073cf909f790aa4c36
# Parent  707e10c9a487f1963594c5a221544a1a7c8fb26e
PV-GRUB: xfs support

i386 doesn't have PAE anyway.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 stubdom/grub.patches/99minios |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+)

diff -r 707e10c9a487 -r 40b2048bd809 stubdom/grub.patches/99minios
--- a/stubdom/grub.patches/99minios     Thu Jul 10 14:15:46 2008 +0100
+++ b/stubdom/grub.patches/99minios     Thu Jul 10 14:17:28 2008 +0100
@@ -1465,3 +1465,31 @@ Index: grub/stage2/stage2.c
  # endif /* SUPPORT_DISKLESS */
  
  static int preset_menu_offset;
+Index: grub/stage2/fsys_xfs.c
+===================================================================
+RCS file: /sources/grub/grub/stage2/fsys_xfs.c,v
+retrieving revision 1.5
+diff -u -p -r1.5 fsys_xfs.c
+--- grub/stage2/fsys_xfs.c     8 May 2005 02:18:14 -0000       1.5
++++ grub/stage2/fsys_xfs.c     10 Jul 2008 13:09:50 -0000
+@@ -101,7 +101,7 @@ static inline __const__ xfs_uint16_t
+ le16 (xfs_uint16_t x)
+ {
+       __asm__("xchgb %b0,%h0" \
+-              : "=q" (x) \
++              : "=Q" (x) \
+               :  "0" (x)); \
+               return x;
+ }
+@@ -109,9 +109,9 @@ le16 (xfs_uint16_t x)
+ static inline __const__ xfs_uint32_t
+ le32 (xfs_uint32_t x)
+ {
+-#if 0
++#if 1
+         /* 386 doesn't have bswap.  */
+-      __asm__("bswap %0" : "=r" (x) : "0" (x));
++      __asm__("bswapl %k0" : "=r" (x) : "0" (x));
+ #else
+       /* This is slower but this works on all x86 architectures.  */
+       __asm__("xchgb %b0, %h0" \

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] PV-GRUB: xfs support, Xen patchbot-unstable <=