1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.bin/doscmd/callback.h
1999-08-28 01:08:13 +00:00

14 lines
415 B
C

/*
** No copyright?!
**
** $FreeBSD$
*/
typedef void (*callback_t)(regcontext_t *REGS);
extern void register_callback(u_long vec, callback_t func, char *name);
extern callback_t find_callback(u_long vec);
extern u_long insert_generic_trampoline(size_t len, u_char *p);
extern u_long insert_softint_trampoline(void);
extern u_long insert_hardint_trampoline(void);
extern u_long insert_null_trampoline(void);