This repository contains the bootloader, kernel, and kernel modules of DarkSide OS.
DarkSide OS is a modern OS designed from the kernel up. Early prototypes of DarkSide OS were developed by George Klees as early as 2010, with Noah Singer, Artemis Tosini, and Noah Kim joining and the project actually kicking off in 2013. DarkSide OS is designed to have a fully preemptive, reentrant kernel with support for multiple processors. The operating system will have a userspace written from scratch by the development team, with a GUI and several applications. It will contain its own powerful API, as well as compatibility APIs to eventually provide support for running POSIX, Windows, and OS X applications. DarkSide OS and all its code is part of the DarkSide Project, which is owned and operated by and solely by George Klees (georgeklees), Noah Singer (singerng), Artemis Tosini (artemist), and Noah Kim (noahbkim).
There is a Makefile at the root of the repository used for building all components. Here are the Makefile targets for each platform:
- x86 PCs (by default, FIRMWARE=bios and FS=ext2) →
i686-pc
- x86-64 PCs (by default, FIRMWARE=bios and FS=ext2) →
amd64-pc
- Raspberry Pis (by default, FS=ext2) →
raspi
- Wii U's →
wiiu
The FIRMWARE variable can be passed to override a target's default firmware, and the FS variable can be passed to override a target's default filesystem.
If you would like to contribute to the DarkSide Kernel (or other components of DarkSide OS), sumbit a pull request here on GitHub. The DarkSide Project executive team will review the pull request and decide whether to merge or decline it. If you've made several major contributions to the project, we'll consider adding you to the DarkSide OS development team.
The project is laid out as follows:
- bal - Boot Abstraction Layer (platform-specific component of bootloader)
- biosldr - MBR and VBRs for BIOS-based PCs, responsible for loading the boot application
- bootvid - Boot video driver (includes text output and graphics primitive drawing routines)
- img - Disk images and scripts to manage them
- kernel - Kernel
- kldr - Kernel Loader (platform-independent component of bootloader)
- libadt - Library of abstract data types (contains types such as arrays, linked lists, maps, and dictionaries)
- libc - Minimal C library
- libgcc - Low-level runtime support library
- modules - Kernel modules (includes device drivers, filesystem drivers, executable formats, and device driver interfaces)