Skip to content
Main Menu edited this page Mar 6, 2021 · 1 revision

Kernel

This is the main folder that contains the Kernels of the OS. This folder contains the C kernel for loading the IDT / ISR / GDT / IRQ and the main c++ Kernel.

Kernel.c

This file contains the main entry point for the higher-level lang used (basically higher then asm). This file calls the loaders for IDT / ISR / GDT / IRQ and the main c++ Kernel.

Calls

gdt_install();
idt_install();
isr_install();
irq_install();

KernStart();

BUILD.h

This is just the counter for how many times the os has been built. It also allows us to read the current build number inside the OS.

Defines

#define BUILD xxx // <-- Build number goes here

CppKern.cpp

This is the C++ Kernel entry

Calls

console.Handle();
Clone this wiki locally