My Kernel v0.1.0
interrupts.h File Reference

x86 specific interrupt interface implementation More...

#include <kernel/types.h>
#include <kernel/arch/i686/gdt.h>
#include <utils/compiler.h>
Include dependency graph for interrupts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  idtr
 The location of the IDT is kept inside the IDTR (IDT register). More...
 
struct  idt_descriptor
 inside the IDT More...
 
struct  interrupt_frame
 Frame passed onto the interrupt handlers by our stub handler. More...
 
struct  interrupt_frame::registers_dump
 Dump of the process's registers. More...
 
struct  interrupt_frame::cpu_interrupt_frame
 Default x86 interrupt frame pushed by the cpu Intel developper manual, figure 6-4. More...
 

Enumerations

enum  x86_exceptions
 List of all x86 CPU exceptions Intel developper manual, Table 6-1.
 
enum  idt_gate_type
 The different types of interrupt gates Intel developper manual, section 6-11.
 

Functions

void idt_log (void)
 Print the content of the IDT and IDTR.
 

Detailed Description