Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Itay2805/TomatOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TomatOS

A 64bit tomato kernel

Building

Toolchain

First you would need to build a custom clang toolchain, the reason for this is that we use a patched version of the sources to allow c code to make use of the llvm coroutines builtins.

You can get the download the patched sources from here (note how the branch is not master but tomatos), simply follow the normal guidelines of building clang, you will also need to build ld.lld.

Kernel

To build the kernel image simply invoke make:

make PREFIX=<path to clang bin dir> -j

To create an image with limine:

make PREFIX=<path to clang bin dir> image -j

To create an image and run it in qemu:

make PREFIX=<path to clang bin dir> qemu -j

Make Options:

  • DEBUG=[1/0] - allows to turn on/off debug mode (default is 1)

Releases

No releases published

Packages

No packages published

Languages