Skip to content

Latest commit

 

History

History
76 lines (54 loc) · 2.63 KB

File metadata and controls

76 lines (54 loc) · 2.63 KB

CoolPotOS

一个简单的玩具操作系统

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


Languages : English | 简体中文

介绍

这是一个在 ia32amd64 架构上运行的简单操作系统。

模块

构建与运行

你需要下载以下工具才能编译 CoolPotOS

  • cmake
  • xorriso
  • QEMU
  • git (GIT_VERSION 宏哈希获取)
  • clang
  • lld
  • openssl (内核签名密钥生成)
  • python3 cryptography (签名内核模块)

参数

你可以在命令行指定需要编译的 CoolPotOS 架构 (默认为 x86_64):

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

然后复制 build/compile_commands.json 到你的项目根目录即可.

许可协议

该项目完全遵循 MIT 协议,任何人都可以免费使用它,另见 LICENSE

贡献

欢迎为这个项目提交 PR 或 issue,然后坐和放宽

贡献者们