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

[Xen-devel] incompatible prototypes

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] incompatible prototypes
From: PUCCETTI Armand <armand.puccetti@xxxxxx>
Date: Fri, 27 Apr 2007 10:23:47 +0200
Delivery-date: Fri, 27 Apr 2007 01:23:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070306)
In XEN 3.0.3, some functions have prototypes incompatible with their
body:

- prototype fct "asmlinkage void do_nmi(struct cpu_user_regs *regs)"
in svm.c:57 is incompatible with body in traps.c:1608
- same for fct "do_memory_op" in hypercall.h:46 and memory.c:511 resp.
- same for functions "cyrix_init_mtrr", "centaur_init_mtrr" and "amd_init_mtrr"

perhaps due to porting from x86 to x86_64...

Also, it seems that in the declaration part (file vmx.c:1966) of the following fct, some extern are missing, and that the functions smp_event_check_interrupt and smp_call_function_interrupt
are also incompatible with their body (in file smp.c:326 and smp.c:332)

static inline void vmx_vmexit_do_extint(struct cpu_user_regs *regs)
{
   unsigned int vector;
   int error;
   asmlinkage void do_IRQ(struct cpu_user_regs *);
   fastcall void smp_apic_timer_interrupt(struct cpu_user_regs *);
   extern fastcall void smp_event_check_interrupt(void);
   fastcall void smp_invalidate_interrupt(void);
   extern fastcall void smp_call_function_interrupt(void);
   fastcall void smp_spurious_interrupt(struct cpu_user_regs *regs);
   fastcall void smp_error_interrupt(struct cpu_user_regs *regs);
...
Armand


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

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