Module Name:    src
Committed By:   bouyer
Date:           Sun Nov 14 13:40:32 UTC 2010

Modified Files:
        src/sys/arch/xen/include: i82489var.h

Log Message:
Explain why we hardwire lapic_cpu_number() to 0 on Xen.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/xen/include/i82489var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/xen/include/i82489var.h
diff -u src/sys/arch/xen/include/i82489var.h:1.1 src/sys/arch/xen/include/i82489var.h:1.2
--- src/sys/arch/xen/include/i82489var.h:1.1	Thu Sep 28 18:53:15 2006
+++ src/sys/arch/xen/include/i82489var.h	Sun Nov 14 13:40:31 2010
@@ -1,5 +1,11 @@
-/*	$NetBSD: i82489var.h,v 1.1 2006/09/28 18:53:15 bouyer Exp $	*/
+/*	$NetBSD: i82489var.h,v 1.2 2010/11/14 13:40:31 bouyer Exp $	*/
 
 #include <x86/i82489var.h>
+
+/*
+ * Xen doesn't give acces to the lapic. In addition, the lapic number provided
+ * by the dom0 to Xen when setting up iopics is ignored, the hypervisor will
+ * decide itself to which physical CPU the interrupt should be routed to.
+ */
 #undef lapic_cpu_number
 #define lapic_cpu_number() (0)

Reply via email to