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-ia64-devel] [PATCH][GFW] Build with gcc-4.1

To: Tristan Gingold <tgingold@xxxxxxx>
Subject: [Xen-ia64-devel] [PATCH][GFW] Build with gcc-4.1
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Mon, 27 Aug 2007 13:17:56 -0600
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 27 Aug 2007 12:20:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: OSLO R&D
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Tristan,

   This allows the GFW to be build w/ gcc-4.1.  Unfortunately the
resulting binary doesn't work, but might as well get these cleaned up.
These are declared non-static in another header files.  Thanks,

        Alex

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---

diff -r 5f6d57d09318 edk2-sparse/EdkXenPkg/Dxe/XenAcpi/XenAcpi.c
--- a/edk2-sparse/EdkXenPkg/Dxe/XenAcpi/XenAcpi.c       Mon Aug 27 06:07:30 
2007 +0200
+++ b/edk2-sparse/EdkXenPkg/Dxe/XenAcpi/XenAcpi.c       Mon Aug 27 12:48:57 
2007 -0600
@@ -3,7 +3,7 @@
 
 #define ACPI_PHYSICAL_ADDRESS 0xEC000
 
-STATIC EFI_GUID gEfiAcpi20TableGuid = EFI_ACPI_20_TABLE_GUID;
+EFI_GUID gEfiAcpi20TableGuid = EFI_ACPI_20_TABLE_GUID;
 
 /* Copy all the ACPI table to buffer. */
 extern int acpi_build_tables(UINT8 *buf);
diff -r 5f6d57d09318 edk2-sparse/EdkXenPkg/Dxe/XenSal/XenSal.c
--- a/edk2-sparse/EdkXenPkg/Dxe/XenSal/XenSal.c Mon Aug 27 06:07:30 2007 +0200
+++ b/edk2-sparse/EdkXenPkg/Dxe/XenSal/XenSal.c Mon Aug 27 12:47:45 2007 -0600
@@ -37,7 +37,7 @@ static struct
     }
   };
 
-STATIC EFI_GUID gEfiSalSystemTableGuid = EFI_SAL_SYSTEM_TABLE_GUID;
+EFI_GUID gEfiSalSystemTableGuid = EFI_SAL_SYSTEM_TABLE_GUID;
 
 extern UINT64 IpfReadKr5(VOID);
 



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

<Prev in Thread] Current Thread [Next in Thread>