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] Clean up extern declarations in arch/ia64/xen/d

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: [Xen-ia64-devel] [PATCH] Clean up extern declarations in arch/ia64/xen/domain.c
From: Aron Griffis <aron@xxxxxx>
Date: Tue, 03 Oct 2006 11:09:51 -0400
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 03 Oct 2006 08:10:29 -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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User agriffis@xxxxxxxxxxxxxxxxxxxxxxxxx
# Date 1159888068 14400
# Node ID 97d0d53ac021682ee7b6f9303c7b82d6d14b931f
# Parent  6e7cc23ab18c23fdb2a8b4d0a7778c4144851818
Clean up extern declarations in arch/ia64/xen/domain.c

Signed-off-by: Aron Griffis <aron@xxxxxx>

diff -r 6e7cc23ab18c -r 97d0d53ac021 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Mon Oct 02 21:53:07 2006 -0600
+++ b/xen/arch/ia64/xen/domain.c        Tue Oct 03 11:07:48 2006 -0400
@@ -59,13 +59,8 @@ extern unsigned long running_on_sim;
 
 extern char dom0_command_line[];
 
-/* FIXME: where these declarations should be there ? */
-extern void serial_input_init(void);
+/* forward declaration */
 static void init_switch_stack(struct vcpu *v);
-extern void vmx_do_launch(struct vcpu *);
-
-/* this belongs in include/asm, but there doesn't seem to be a suitable place 
*/
-extern struct vcpu *ia64_switch_to (struct vcpu *next_task);
 
 /* Address of vpsr.i (in fact evtchn_upcall_mask) of current vcpu.
    This is a Xen virtual address.  */
@@ -1103,9 +1098,6 @@ int construct_dom0(struct domain *d,
 
        physdev_init_dom0(d);
 
-       // FIXME: Hack for keyboard input
-       //serial_input_init();
-
        return 0;
 }
 
diff -r 6e7cc23ab18c -r 97d0d53ac021 xen/include/asm-ia64/linux-xen/asm/system.h
--- a/xen/include/asm-ia64/linux-xen/asm/system.h       Mon Oct 02 21:53:07 
2006 -0600
+++ b/xen/include/asm-ia64/linux-xen/asm/system.h       Tue Oct 03 11:07:48 
2006 -0400
@@ -189,6 +189,7 @@ do {                                                        
        \
 
 #ifdef XEN
 #define local_irq_is_enabled() (!irqs_disabled())
+extern struct vcpu *ia64_switch_to (struct vcpu *next_task);
 #else
 #ifdef __KERNEL__
 
diff -r 6e7cc23ab18c -r 97d0d53ac021 xen/include/asm-ia64/vmx.h
--- a/xen/include/asm-ia64/vmx.h        Mon Oct 02 21:53:07 2006 -0600
+++ b/xen/include/asm-ia64/vmx.h        Tue Oct 03 11:07:48 2006 -0400
@@ -35,6 +35,7 @@ extern void vmx_save_state(struct vcpu *
 extern void vmx_save_state(struct vcpu *v);
 extern void vmx_load_state(struct vcpu *v);
 extern void vmx_setup_platform(struct domain *d);
+extern void vmx_do_launch(struct vcpu *v);
 extern void vmx_io_assist(struct vcpu *v);
 extern int ia64_hypercall (struct pt_regs *regs);
 extern void vmx_save_state(struct vcpu *v);

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

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