Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Int_descriptor Class Reference

Int_descriptor is a single entry in the interrupt descriptor table (IDT). More...

#include <irq.h>

List of all members.

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


Detailed Description

Int_descriptor is a single entry in the interrupt descriptor table (IDT).


Member Function Documentation

void Int_descriptor::set_handler void *    handler [inline]
 

Set the interrupt handler and set its segement selector based on the current code segment.


Member Data Documentation

unsigned Int_descriptor::access_type
 

interrupt, trap, etc.

unsigned Int_descriptor::handler_high
 

high 2 bytes of handler addr.

unsigned Int_descriptor::handler_low
 

low 2 bytes of handler addr.

unsigned Int_descriptor::handler_selector
 

segment selector of handler.

const unsigned short int Int_descriptor::INTERRUPT_GATE = 0x8e [static]
 

const unsigned short int Int_descriptor::TRAP_GATE = 0x8f [static]
 

unsigned Int_descriptor::unused
 

unused byte; set to zero.


The documentation for this class was generated from the following file:

Torsion Operating System, Copyright (C) 2000-2002 Dan Helfman