PERFORCE change 112680 for review

Paolo Pisati piso at FreeBSD.org
Mon Jan 8 00:45:08 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=112680

Change 112680 by piso at piso_newluxor on 2007/01/08 08:44:39

	Compilation.

Affected files ...

.. //depot/projects/soc2006/intr_filter/amd64/amd64/intr_machdep.c#20 edit
.. //depot/projects/soc2006/intr_filter/kern/kern_intr.c#31 edit
.. //depot/projects/soc2006/intr_filter/sys/interrupt.h#16 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/amd64/amd64/intr_machdep.c#20 (text+ko) ====

@@ -79,6 +79,7 @@
 static void intr_eoi_src(void *arg);
 static void intr_disab_eoi_src(void *arg);
 void intr_callout_reset(void);
+static void intr_event_stray(void *cookie);
 
 #ifdef SMP
 static int assign_cpu;

==== //depot/projects/soc2006/intr_filter/kern/kern_intr.c#31 (text+ko) ====

@@ -613,7 +613,7 @@
 			return (EINVAL);
 	} else {
 		error = intr_event_create(&ie, NULL, IE_SOFT, NULL,
-		    NULL, "swi%d:", pri);
+		    NULL, NULL, NULL, "swi%d:", pri);
 		if (error)
 			return (error);
 		if (eventp != NULL)

==== //depot/projects/soc2006/intr_filter/sys/interrupt.h#16 (text+ko) ====

@@ -119,16 +119,15 @@
 int     intr_filter_loop(struct intr_event *ie, struct trapframe *frame, 
 			 struct intr_thread **ithd);
 void    stray_detection(void *_arg);
-int     intr_event_handle(struct intr_event *ie, struct trapframe *frame,
-	    void (*intr_eoi_src)(void *), void (*intr_disab_eoi_src)(void *));
+int     intr_event_handle(struct intr_event *ie, struct trapframe *frame);
 u_char	intr_priority(enum intr_type flags);
 int	intr_event_add_handler(struct intr_event *ie, const char *name,
-	    driver_filter_t filter, driver_intr_t handler, void *arg, u_char pri, enum intr_type flags,
-	    void **cookiep);
+	    driver_filter_t filter, driver_intr_t handler, void *arg, 
+	    u_char pri, enum intr_type flags, void **cookiep);	    
 int	intr_event_create(struct intr_event **event, void *source,
 	    int flags, void (*enable)(void *), int (*pending)(void *),
-            const char *fmt, ...)
-	    __printflike(6, 7);
+            void (*eoi)(void *), void (*disab)(void *), const char *fmt, ...)
+	    __printflike(8, 9);
 int	intr_event_destroy(struct intr_event *ie);
 int	intr_event_remove_handler(void *cookie);
 int	intr_event_schedule_thread(struct intr_event *ie, struct intr_thread *ithd);


More information about the p4-projects mailing list