Date: Tue, 1 Jan 2008 09:02:37 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132235 for review Message-ID: <200801010902.m0192bv8083398@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132235 Change 132235 by jb@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801010902.m0192bv8083398>