(Redoing check-in lost by SourceForge's failure.)

Add method for hooking real-mode interrupt vectors.
This commit is contained in:
Michael Brown
2006-05-13 11:19:06 +00:00
parent f7b963da51
commit 847f38f4ac
2 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#ifndef BIOSINT_H
#define BIOSINT_H
/**
* @file BIOS interrupts
*
*/
struct segoff;
extern void hook_bios_interrupt ( unsigned int interrupt, unsigned int handler,
struct segoff *chain_vector );
extern int unhook_bios_interrupt ( unsigned int interrupt,
unsigned int handler,
struct segoff *chain_vector );
#endif /* BIOSINT_H */