Changeset View
Changeset View
Standalone View
Standalone View
head/sys/cddl/dev/dtrace/mips/dtrace_subr.c
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
#include <vm/pmap.h> | #include <vm/pmap.h> | ||||
#define DELAYBRANCH(x) ((int)(x) < 0) | #define DELAYBRANCH(x) ((int)(x) < 0) | ||||
extern int (*dtrace_invop_jump_addr)(struct trapframe *); | extern int (*dtrace_invop_jump_addr)(struct trapframe *); | ||||
extern dtrace_id_t dtrace_probeid_error; | extern dtrace_id_t dtrace_probeid_error; | ||||
int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t); | int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t); | ||||
void dtrace_invop_init(void); | |||||
void dtrace_invop_uninit(void); | |||||
typedef struct dtrace_invop_hdlr { | typedef struct dtrace_invop_hdlr { | ||||
int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t); | int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t); | ||||
struct dtrace_invop_hdlr *dtih_next; | struct dtrace_invop_hdlr *dtih_next; | ||||
} dtrace_invop_hdlr_t; | } dtrace_invop_hdlr_t; | ||||
dtrace_invop_hdlr_t *dtrace_invop_hdlr; | dtrace_invop_hdlr_t *dtrace_invop_hdlr; | ||||
▲ Show 20 Lines • Show All 224 Lines • Show Last 20 Lines |