Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 896 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 896 Bytes

aOS: A Simple i386 Kernel

Environment

  • OS: macOS 14.2.1/(Linux?)
  • Compiler: x86_64-elf-gcc, x86_64-elf-ld, x86_64-elf-as
  • Emulator: qemu

Getting Started

cd aOS
make all           #compile the project
make img           #create virtual hard disk image hdisk.img
make run           #compile and run
make clean         #clean all .o files
make gdb           #debug

NOTICE: hdisk.img is not formatted, so partition_scan() and ide_init() (in kernel/ide.c) may occur error. To handle this problem, you can use fdisk to create a partition for hdisk.img

qemu.gif

ToDo List:

  • kernel thread support
  • user process support
  • syscall
  • disk driver
  • file system
  • shell

Reference:

  • OSDev
  • xv6
  • 《操作系统真相还原》(郑纲)