(Redoing check-in lost by SourceForge's failure.)
Add method for hooking real-mode interrupt vectors.
This commit is contained in:
@@ -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 */
|
||||
Reference in New Issue
Block a user