Skip to content

Exbilar/aOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • 《操作系统真相还原》(郑纲)

About

a simple OS kernel for learning purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published