kernel - Fix bogus compiler warning
[dragonfly.git] / usr.bin / doscmd / callback.h
blob59dd6b1f9ab5296847284a1ab49e7f0b34cc3444
1 /*
2 ** No copyright?!
3 **
4 ** $FreeBSD: src/usr.bin/doscmd/callback.h,v 1.2.2.1 2002/04/25 11:04:50 tg Exp $
5 ** $DragonFly: src/usr.bin/doscmd/callback.h,v 1.2 2003/06/17 04:29:25 dillon Exp $
6 */
7 typedef void (*callback_t)(regcontext_t *);
9 void register_callback(u_long, callback_t, const char *);
10 callback_t find_callback(u_long);
11 u_long insert_generic_trampoline(size_t, u_char *);
12 u_long insert_softint_trampoline(void);
13 u_long insert_hardint_trampoline(void);
14 u_long insert_null_trampoline(void);