Simple OS
Go to file
Mathieu Maret 44fa5967dd Fix uninitialized variable 2023-03-21 23:41:23 +01:00
arch/x86 OnDemand paging for heap 2022-09-03 23:32:31 +02:00
core Fix uninitialized variable 2023-03-21 23:41:23 +01:00
docs Add diagram to doc 2022-07-30 15:59:50 +02:00
drivers keyboard: add alt modifier 2023-03-21 22:40:10 +01:00
tests Import ringbuffer implementation 2021-11-05 23:31:28 +01:00
userspace tinyc : add > support 2023-03-21 23:40:28 +01:00
.clang-format vim and clang-format configuration file 2020-04-27 00:13:43 +02:00
.gitignore Add doc generation 2022-09-03 23:31:51 +02:00
Makefile Add doc generation 2022-09-03 23:31:51 +02:00
README.md Add serialOut info in doc 2022-09-03 22:55:11 +02:00
custom_gdb_extension.py Add partition table support 2021-11-05 08:57:17 +01:00
debug.gdb Add debug link for kernel symbols 2022-04-05 22:00:14 +02:00
disk.sfdisk Add partition table support 2021-11-05 08:57:17 +01:00
linker.ld First step for memory management 2018-08-06 18:41:45 +02:00
screenshot_1.png update screenshot 2021-11-08 22:53:49 +01:00

README.md

Introduction

Matos is a simple OS.

It's targetting x86 and inspirated by http://sos.enix.org/fr/PagePrincipale

screenshot

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

Serial log will be saved in the serialOut file.

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 partitions

You can either modify the disk.sfdisk file

or

modify the disk image with 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

TODO

  • ringbuffer protected by mutex
  • blocking read