PERFORCE change 59365 for review
Scott Long
scottl at FreeBSD.org
Tue Aug 10 19:30:38 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=59365
Change 59365 by scottl at scottl-wv1u on 2004/08/11 02:30:23
Add stub msi_init() hook
Affected files ...
.. //depot/projects/newint/sys/i386/i386/local_apic.c#3 edit
.. //depot/projects/newint/sys/i386/i386/msi.c#2 edit
.. //depot/projects/newint/sys/i386/include/msi.h#1 add
Differences ...
==== //depot/projects/newint/sys/i386/i386/local_apic.c#3 (text+ko) ====
@@ -606,6 +606,9 @@
/* Last, setup the cpu topology now that we have probed CPUs */
mp_topology();
#endif
+
+ /* Initialize the MSI subsystem */
+ msi_init();
}
SYSINIT(apic_init, SI_SUB_CPU, SI_ORDER_FIRST, apic_init, NULL)
==== //depot/projects/newint/sys/i386/i386/msi.c#2 (text+ko) ====
@@ -160,3 +160,13 @@
{
return (0);
}
+
+void msi_init(void)
+{
+
+ if ((cpu_id & 0xf00) != 0xf00)
+ return;
+
+ if (bootverbose || 1)
+ printf("Initializing MSI\n");
+}
More information about the p4-projects
mailing list