PERFORCE change 132235 for review
    John Birrell 
    jb at FreeBSD.org
       
    Tue Jan  1 01:02:39 PST 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=132235
Change 132235 by jb at jb_freebsd1 on 2008/01/01 09:01:36
	Revise the trap hook function. Add an external variable definition for
	the hook and a prototype of the function that is in the dtrace module.
Affected files ...
.. //depot/projects/dtrace/src/sys/sys/dtrace_bsd.h#9 edit
Differences ...
==== //depot/projects/dtrace/src/sys/sys/dtrace_bsd.h#9 (text+ko) ====
@@ -53,7 +53,11 @@
  * This type definition is used in the trap handler to provide a
  * hook for the dtrace module to register it's handler with.
  */
-typedef int (*dtrace_trap_func_t)(struct trapframe *);
+typedef int (*dtrace_trap_func_t)(struct trapframe *, u_int);
+
+int	dtrace_trap(struct trapframe *, u_int);
+
+extern dtrace_trap_func_t	dtrace_trap_func;
 
 /* Used by the machine dependent trap() code. */
 typedef	int (*dtrace_invop_func_t)(uintptr_t, uintptr_t *, uintptr_t);
    
    
More information about the p4-projects
mailing list