Miosix Processes Quick Start

From Miosix Wiki
Revision as of 21:02, 17 May 2026 by Fede.tft (talk | contribs) (Created page with "This tutorial assumes you just completed the quick start guide either for Linux, Windows or MacOS. The screenshots in this tutorial are taken from a Linux computer, but the procedure is the same regardless of your host OS. In the quick start you just followed, you used Miosix as a unikernel, thus writing your application in kernelspace. To use Miosix as a fluid kernel, we'll see how we can move part of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This tutorial assumes you just completed the quick start guide either for Linux, Windows or MacOS. The screenshots in this tutorial are taken from a Linux computer, but the procedure is the same regardless of your host OS.

In the quick start you just followed, you used Miosix as a unikernel, thus writing your application in kernelspace. To use Miosix as a fluid kernel, we'll see how we can move part of our hello world example application in a userspace process.

Starting from a template

In a directory of your choice, create a hello_processes directory and download a copy of the Miosix kernel as a subdirectory using git. As a refresher, on Linux that would be:

mkdir hello_processes
cd hello_processes
git clone https://github.com/fedetft/miosix-kernel.git

This time, however, we won't use the perl script init_project_out_of_git_tree.pl and instead manually copy the content of the miosix-kernel/templates/processes in our propject directory.