Skip to content

plos-clan/CoolPotOS

Repository files navigation

CoolPotOS

A simple toy operating system.

GitHub Repo stars GitHub issues GitHub License GitHub release (latest by date) Hardware Ask DeepWiki


Languages : English | 简体中文 | Français | 日本語

Introduction

This is a simple operating system for ia32 and amd64 architecture.

Modules

Build & Run

You need to install them on your computer:

  • cmake
  • xorriso
  • QEMU
  • git (x86_64 only, for GIT_VERSION macro)
  • clang
  • lld (for linking LTO objects)
  • openssl (kernel module key)
  • python3 cryptography (sign kernel module)

Options

You can use the command to set the target architecture (x86_64 default):

cmake -S . -B build/ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=<mode> -DTARGET_ARCH=<arch>
cmake --build build/ --target run
  • mode - Release | Debug
  • arch - x86_64 | riscv64 | aarch64

Copy build/compile_commands.json to the project root directory.

License

This project is licensed under MIT License.

Feature

Based on UEFI BIOS boot.
Use Limine bootloader.

AMD64

RISCV64

LOONGARCH

AARCH64

Contributing

Welcome to create pull requests or issues to this project. Then sit back and relax.

Contributors