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] [IA64][MINIOS] cleanup ia64_boot_paramP a

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64][MINIOS] cleanup ia64_boot_paramP and add ARCH_LDFLAGS
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Mar 2007 05:30:30 -0700
Delivery-date: Fri, 23 Mar 2007 06:21:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 awilliam@xxxxxxxxxxxx
# Date 1173714228 21600
# Node ID d1853a39e063ea82f8900fa91208258492845f6a
# Parent  9ea0c5f469c871f3b6a387a61555a725cecdd1b6
[IA64][MINIOS] cleanup ia64_boot_paramP and add ARCH_LDFLAGS

Signed-off-by: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
---
 extras/mini-os/arch/ia64/arch.mk  |    2 ++
 extras/mini-os/arch/ia64/common.c |    5 ++++-
 extras/mini-os/include/ia64/os.h  |    2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff -r 9ea0c5f469c8 -r d1853a39e063 extras/mini-os/arch/ia64/arch.mk
--- a/extras/mini-os/arch/ia64/arch.mk  Mon Mar 12 09:39:59 2007 -0600
+++ b/extras/mini-os/arch/ia64/arch.mk  Mon Mar 12 09:43:48 2007 -0600
@@ -3,3 +3,5 @@ ARCH_ASFLAGS := -x assembler-with-cpp
 ARCH_ASFLAGS := -x assembler-with-cpp
 ARCH_ASFLAGS += -mfixed-range=f2-f5,f12-f15,f32-f127 -fomit-frame-pointer
 ARCH_ASFLAGS += -fno-builtin -fno-common -fno-strict-aliasing -mconstant-gp
+
+ARCH_LDFLAGS = -warn-common
diff -r 9ea0c5f469c8 -r d1853a39e063 extras/mini-os/arch/ia64/common.c
--- a/extras/mini-os/arch/ia64/common.c Mon Mar 12 09:39:59 2007 -0600
+++ b/extras/mini-os/arch/ia64/common.c Mon Mar 12 09:43:48 2007 -0600
@@ -59,6 +59,9 @@ shared_info_t *HYPERVISOR_shared_info = 
 
 struct machine_fw machineFwG;
 
+/* This pointer is initialized in ia64.S with the address of the boot param
+ * area passed by the bootloader. */
+struct xen_ia64_boot_param* ia64_boot_paramP;
 
 struct xen_ia64_boot_param ia64BootParamG;
 char boot_cmd_line[COMMAND_LINE_SIZE+1];
@@ -104,6 +107,7 @@ map_pal_code(void)
        xen_set_virtual_psr_ic(1);
 }
 
+/* In ivt.S */
 extern char hypervisor_callback;
 
 static void
@@ -139,7 +143,6 @@ static void
 static void
 init_boot_params(void)
 {
-       /* ia64_boot_paramP is initialised in ia64.S!  */
        ia64BootParamG.command_line = SWAP(ia64_boot_paramP->command_line);
        ia64BootParamG.efi_systab = SWAP(ia64_boot_paramP->efi_systab);
        ia64BootParamG.efi_memmap = SWAP(ia64_boot_paramP->efi_memmap);
diff -r 9ea0c5f469c8 -r d1853a39e063 extras/mini-os/include/ia64/os.h
--- a/extras/mini-os/include/ia64/os.h  Mon Mar 12 09:39:59 2007 -0600
+++ b/extras/mini-os/include/ia64/os.h  Mon Mar 12 09:43:48 2007 -0600
@@ -52,7 +52,7 @@ void arch_print_info(void);           /* in commo
 /* Size of xen_ia64_boot_param.command_line */
 #define COMMAND_LINE_SIZE       512
 
-struct xen_ia64_boot_param* ia64_boot_paramP;
+extern struct xen_ia64_boot_param* ia64_boot_paramP;
 extern struct xen_ia64_boot_param ia64BootParamG;
 extern char boot_cmd_line[];
 extern efi_system_table_t* efiSysTableP;

_______________________________________________
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] [IA64][MINIOS] cleanup ia64_boot_paramP and add ARCH_LDFLAGS, Xen patchbot-unstable <=