Skip to content

bajdcc/MiniOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniOS

=============================== Simple x86-based OS.

开发阶段

  1. [0.2.0] 从零开始,保留核心文件,慢慢添加功能,实现Hello world
  2. [0.2.1] 添加GDT和IDT
  3. [0.2.2] 添加ISR和IRQ
  4. [0.2.3] 添加PMM
  5. [0.2.4] 添加VMM
  6. [0.2.5] 添加多进程机制,完善注释
  7. [0.2.6] 实现进程间通信IPC

运行截图

进程间通信

ipc

构建工具

平台:Ubuntu 16.04.2 x86

  • make
  • nasm
  • gcc
  • binutils
  • cgdb
  • qemu
sudo apt install make nasm gcc binutils cgdb qemu
sudo ln -s /usr/bin/qemu-system-i386 /usr/bin/qemu

编译并运行

make init   # only for first time
make fs     # build root file system and user routines, root privilege required
make        # build kernel
make run    # run with qemu

References

  • OS67
  • osdev
  • Orange'S:一个操作系统的实现 - 于渊