Kernel Structure and Assembly

Assembly (x86 / x86_64)

x86

Directories:

Purpose:

These files must be integrated into a real boot pipeline.

x86_64

Directories:

Purpose:

Requires a bootloader that already enabled long mode.

Kernel Directory

The kernel directory provides:

Key directories:

Key files:

Example Kernel Entry

void kmain(void) {
    kernel_init();
    kernel_run();
}

C++ Layer

Files:

Purpose:

Linker Script

File:

Purpose:

Extending mck

You can add:

mck is designed to be extended freely.