OpenKernel is a 32-bit x86 operating system kernel project written in C and intended to be reused as a base layer by your own operating system. This folder contains the full documentation set for OpenKernel version 5.0.
Read the documents in the numbered order below. Every document has a "previous" and "next" link at the top and bottom so you can move through the set like pages in a book.
Before you start: OpenKernel compiles and links out of the box (
makeproducesbuild/os.bin), but it does not boot: it is a kernel library that expects you to supply your own bootloader and entry point. Read 09 - Project Status early if your goal is to get something running.
| # | Document | What it covers |
|---|---|---|
| 0 | This file | Index of the whole documentation set. |
| 1 | 01 - Introduction | What OpenKernel is, what it is not, its goals, and the technology it uses. |
| 2 | 02 - Getting Started | Toolchain requirements, environment setup, bootstrapping your own OS, and how to build and run. |
| 3 | 03 - Architecture | Directory layout, the build pipeline, the linker script, and how the release package is produced. |
| 4 | 04 - Kernel Services | Panic handling, logging, system power control, paging, and the security checker. |
| 5 | 05 - System Library | Memory allocation, string functions, port I/O, time, task management, type conversion, and the internal syscall dispatcher. |
| 6 | 06 - Drivers | VGA, CPU, keyboard, mouse, serial, sound, ATA, AHCI, PCI, and network drivers. |
| 7 | 07 - File Systems | OFS, FAT12, FAT16, FAT32, and the VFS dispatch layer. |
| 8 | 08 - Kernel API | The stable API façade, the universal/non-universal split, and the full syscall number table. |
| 9 | 09 - Project Status | Honest report of what works, what is partial, what is a stub, and the current build blockers. |
| 10 | 10 - Contributing | How to contribute, coding conventions, the release process, and the license. |
The documentation is split by responsibility so you can look up only what you need:
- Orientation - documents 01 to 03 explain the project, the setup, and the structure. Start here if you are new.
- Reference - documents 04 to 08 describe each subsystem and its public functions. Use these while writing code.
- Assessment and process - documents 09 and 10 describe the real state of the codebase and how to work on it.
No document describes a feature that does not exist in the source tree. Where a feature is incomplete or broken, the document says so explicitly.