1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/usr.bin/doscmd/callback.h

14 lines
415 B
C
Raw Normal View History

/*
** No copyright?!
**
1999-08-28 01:08:13 +00:00
** $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);