Go to the documentation of this file.
18 #ifndef __INTEL_KERNEL_H
19 #define __INTEL_KERNEL_H
21 #include <FreeNOS/Kernel.h>
virtual void enableIRQ(u32 irq, bool enabled)
Enable or disable an hardware interrupt (IRQ).
Intel 8254 Programmable Interrupt Timer (PIT).
static void clocktick(CPUState *state, ulong param, ulong vector)
i8253 system clock interrupt handler.
unsigned long ulong
Unsigned long number.
Intel 8259 Programmable Interrupt Controller (PIC).
IntelKernel(CoreInfo *info)
Constructor function.
void param(Terminal *term, int key, int value)
Set terminal parameters.
static void trap(CPUState *state, ulong param, ulong vector)
Kernel trap handler (system calls).
IntelPIT m_pit
PIT timer instance.
static void interrupt(CPUState *state, ulong param, ulong vector)
Default interrupt handler.
Implements an x86 compatible kernel.
unsigned int u32
Unsigned 32-bit number.
FreeNOS kernel implementation.
IntelAPIC m_apic
APIC instance (used if available)
Contains all the CPU registers.
Per-Core information structure.
IntelPIC m_pic
PIC instance.
static void exception(CPUState *state, ulong param, ulong vector)
Called when the CPU detects a fault.
Intel Advanced Programmable Interrupt Controller (APIC)