mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 02:28:57 +03:00
(Redoing check-in lost by SourceForge's failure.)
Add method for hooking real-mode interrupt vectors.
This commit is contained in:
17
src/arch/i386/include/biosint.h
Normal file
17
src/arch/i386/include/biosint.h
Normal 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 */
|
||||
Reference in New Issue
Block a user