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 hp.com>
---
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 lists.xensource.com
http://list
s.xensource.com/xen-ia64-devel
|