KernOS
|
#include <interrupt.h>
#include <common.h>
#include <utilities.h>
#include <gdt.h>
#include <accessright.h>
#include <pic.h>
Go to the source code of this file.
Namespaces | |
TIMER | |
Timer namespace. | |
INTRP | |
interrupt namespace | |
INIT | |
contains all kernel initialization routines | |
Functions | |
void | INTRP::RegisterHandler (DescriptorEntry IdtTable[], size_t Idx, func_ptr Handler) |
Creates interrupt descriptor entries in idt_table, and loads into CPU. More... | |
void | INTRP::UnhandledException () |
default unhandled exception handler More... | |
void | INTRP::TimerInterruptHandler () |
Timer interrupt handler. More... | |
void | INTRP::PageFaultHandler () |
Page fault handler. More... | |
void | INTRP::UnhandledInterrupt () |
default unhandled interrupt handler More... | |
void | INTRP::SetExceptionHandler (DescriptorEntry IdtTable[]) |
Installs default exception handler to all exceptions. More... | |
void | INTRP::SetInterruptHandler (DescriptorEntry IdtTable[]) |
Installs default interrupt handler to all interrupts. More... | |
void | INTRP::Load_lidt (void *lidtAddress, uint16_t LimitUse) |
assembly instruction to load idt table to CPU More... | |
void | INTRP::Install_idt () |
Assigns exception and interrupt handler to idt_table, and load to CPU. More... | |
void | INIT::idt () |
Creates interrupt descriptor table and loads to CPU. More... | |
Variables | |
uint64_t | TIMER::timer_ticks |
DescriptorEntry | INTRP::idt_table [IDT_ENTRIES] |