Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.28 KB

README.md

File metadata and controls

63 lines (46 loc) · 1.28 KB

SOS - sbw's Operating System

It's just a toy for learning OS technology.

Build from source

Build dependencies

Archlinux

pacman -S g++ cmake grub xorriso mtools

Extra build dependencies on Debian/Ubuntu

  • grub-pc-bin

Windows

Using Cygwin to install following dependency tools:

  • mingw
  • cmake
  • make
  • xorriso

Build

Must using g++/MinGW as compiler, clang or other else is NOT support yet.

mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_ASM_COMPILER=g++ ..
make # or ninja when using Ninja as generator

When build done, you can found sos.iso and sos_kernel in your build dir.

sos.iso is a bootable image so you can start from it using VirtualBox or QEMU.

Try SOS in QEMU emulator

Runtime dependencies

  • QEMU

Run

Basic

qemu-system-x86_64 -boot d -cdrom sos.iso -m 256

Enable KVM & IOMMU (Intel VT-d/AMD-Vi) support on Linux

qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -boot d -cdrom sos.iso -m 256

Enable HAXM on Windows

qemu-system-x86_64 -accel hax -boot d -cdrom sos.iso -m 256

Screenshots

sos screenshots

License

This project is licensed under the MIT license.