Simple OS
arch/x86 | ||
core | ||
docs | ||
drivers | ||
tests | ||
.clang-format | ||
custom_gdb_extension.py | ||
debug.gdb | ||
disk.sfdisk | ||
linker.ld | ||
Makefile | ||
README.md |
Introduction
Matos is a simple OS.
It's targetting x86 and inspirated by http://sos.enix.org/fr/PagePrincipale
Dependencies
To generate iso image
mtools xorriso (which is libisoburn on ArchLinux)
- gcc >= 6
- sfdisk (util-linux)
Run it
make run
or
make fd.iso && qemu-system-x86_64 -cdrom fd.iso
you can also test it
make test
Debug
gdb could be launch with debug symbols using :
make debug
Then you can check some matos specific commands or pretty printing with
help user-defined
info pretty-printer
(Should contains matos_pretty_printers)
Change Disk partition
You can either modify the disk.sfdisk file
or
modify the disk image woth your favorit tool (e.g. gparted) and re-generate disk.sfdisk
sfdisk -d > disk.sfdisk
Features
- VGA Driver
- keyboard Driver
- Serial Driver
- Timer
- Virtual memory
- Allocator
- Multithread (Full preempt)
- Mutex
- ATA
- basic userspace with syscall