summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/callback.h
blob: f81127e59f7929f0302ae2511eb212520f5c41d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 
** No copyright?!
**
** $Id: callback.h,v 1.4 1996/09/22 15:42:48 miff Exp $
*/
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);
OpenPOWER on IntegriCloud