Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

irq.h File Reference

#include "list.h"
#include "types.h"

Include dependency graph for irq.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

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

struct  Handler_registers
 This struct encapsulates the register information available within interrupt handlers. More...

class  Int_handler
 This class encapsulates a single interrupt handler function. More...

class  Interrupts
 This class represents the interrupt descriptor table (IDT), and allows callers to register and unregister interrupt handlers. More...


Typedefs

typedef bool(* Handler_func )()

Functions

void isr0 () asm("isr0")
void interrupt_dispatcher (volatile Handler_registers reg)

Variables

Interrupts interrupts
const unsigned INTERRUPT_COUNT = 48
const unsigned char PAGE_FAULT_INTERRUPT = 0x0e
const unsigned char TIMER_INTERRUPT = 0x20
const unsigned char KEYBOARD_INTERRUPT = 0x21
const unsigned char FLOPPY_INTERRUPT = 0x26


Typedef Documentation

typedef bool(* Handler_func)()
 


Function Documentation

void interrupt_dispatcher volatile Handler_registers  reg  ) 
 

The general interrupt handler called by the assembly isr.

void isr0  ) 
 

Assembly interrupt service routine for int 0.


Variable Documentation

const unsigned char FLOPPY_INTERRUPT = 0x26 [static]
 

const unsigned INTERRUPT_COUNT = 48 [static]
 

Interrupts interrupts
 

const unsigned char KEYBOARD_INTERRUPT = 0x21 [static]
 

const unsigned char PAGE_FAULT_INTERRUPT = 0x0e [static]
 

const unsigned char TIMER_INTERRUPT = 0x20 [static]
 


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