#include <irq.h>
Public Methods | |
void | set_handler (void *handler) |
Public Attributes | |
unsigned | handler_low: 16 |
unsigned | handler_selector: 16 |
unsigned | unused: 8 |
unsigned | access_type: 8 |
unsigned | handler_high: 16 |
Static Public Attributes | |
const unsigned short int | INTERRUPT_GATE = 0x8e |
const unsigned short int | TRAP_GATE = 0x8f |
|
Set the interrupt handler and set its segement selector based on the current code segment.
|
|
interrupt, trap, etc.
|
|
high 2 bytes of handler addr.
|
|
low 2 bytes of handler addr.
|
|
segment selector of handler.
|
|
|
|
|
|
unused byte; set to zero.
|
Torsion Operating System, Copyright (C) 2000-2002 Dan Helfman