exectos/README.md

112 lines
5.6 KiB
Markdown
Raw Permalink Normal View History

2022-07-27 07:25:19 +02:00
<p align=center>
<a href="https://git.codingworkshop.eu.org/xt-sys/exectos">
2023-01-23 15:33:33 +01:00
<img alt="GIT Repository" src="https://img.shields.io/badge/Source-GIT-purple">
2022-07-27 07:25:19 +02:00
</a>
2023-01-07 10:02:37 +01:00
<a href="https://git.codingworkshop.eu.org/xt-sys/exectos/activity/monthly">
<img alt="Commits" src="https://img.shields.io/github/commit-activity/m/xt-sys/exectos?label=Commits">
</a>
2023-07-19 20:28:27 +02:00
<a href="https://git.codingworkshop.eu.org/xt-sys/exectos/actions">
<img alt="Build Status" src="https://codingworkshop.eu.org/actions.php?project=xt-sys/exectos">
2022-07-27 07:25:19 +02:00
</a>
2023-01-18 22:29:43 +01:00
<a href="https://artifacts.codingworkshop.eu.org/ExectOS">
2023-01-23 15:33:33 +01:00
<img alt="CI/CD Artifacts" src="https://img.shields.io/badge/Download-%F0%9F%A1%87-blueviolet">
2023-01-18 22:29:43 +01:00
</a>
2022-07-27 07:25:19 +02:00
<a href="https://git.codingworkshop.eu.org/xt-sys/exectos/src/branch/master/COPYING.md">
<img alt="License" src="https://img.shields.io/badge/License-GPLv3-blue.svg">
</a>
2023-10-17 15:01:13 +02:00
<a href="https://codeium.com/">
<img alt="Codeium" src="https://img.shields.io/badge/Powered%20By-Codeium-09B6A2?logo=Codeium">
</a>
2023-01-07 10:02:37 +01:00
<a href="https://github.com/sponsors/xt-sys/">
2023-01-23 15:33:33 +01:00
<img alt="Sponsor" src="https://img.shields.io/badge/Sponsor-%E2%9D%A4-red?logo=GitHub">
2023-01-07 10:02:37 +01:00
</a>
2023-01-27 23:37:20 +01:00
<a href="https://discord.com/invite/zBzJ5qMGX7">
2023-01-07 10:02:37 +01:00
<img alt="Discord" src="https://img.shields.io/discord/723186294540206100?label=Chat">
2022-07-27 07:25:19 +02:00
</a>
</p>
---
# ExectOS Operating System
ExectOS is an open-source, general purpose operating system written from scratch. It aims to be modular,
maintainable and compatible with existing software. It implements a brand new XT architecture and features
own native application interface. On the backend, it contains a powerful driver model between device drivers
and the kernel, that enables kernel level components to be upgraded without a need to recompile all drivers.
# XT Architecture
ExectOS is a preemptive, reentrant multitasking operating system that implements the XT architecture which derives
from NT architecture. It is modular, and consists of two main layers: microkernel and user modes. Its' kernel mode has
full access to the hardware and system resources and runs code in a protected memory area. It consists of executive
services, which is itself made up on many modules that do specific tasks, a kernel and drivers. Unlike the NT, system
2023-11-03 19:51:01 +01:00
does not feature a separate Hardware Abstraction Layer (HAL) between the physical hardware and the rest of the OS.
2022-07-27 07:25:19 +02:00
Instead, XT architecture integrates a hardware specific code with the kernel. The user mode is made up of subsystems
and it has been designed to run applications written for many different types of operating systems. This allows to
implement any environment subsystem to support applications that are strictly written to the corresponding standard
(eg. DOS, or POSIX).
# Features
* Modern, EFI enabled operating system
* Runs on x86 and x86_64 architectures
* Portable to other architectures
* Modular design, open-source project
* Own drivers for commonly used devices
* NT drivers compatibility layer
# Requirements
ExectOS is in very early development stage, thus its requirements have been not specified yet. However according to its
design, it requires a modern EFI enabled hardware. It is not possible currently to boot ExectOS on a legacy BIOS.
# Source structure
2022-08-13 13:21:36 +02:00
| Directory | Description |
|-------------|----------------------------------------------------------|
| bootdata | default configuration and data needed to boot XTOS |
| drivers | XT native drivers source code |
| sdk/cmake | Host toolchain configuration and build-related functions |
| sdk/xtdk | XT Software Development Kit headers |
| services | integral subsystems services source code |
| subsystems | environment subsystems source code |
| xtoskrnl | XTOS kernel source code |
| xtldr | XTOS boot loader source code |
2022-07-27 07:25:19 +02:00
# Build
2023-10-25 18:29:31 +02:00
XTOS can be built only by using [XTChain](https://git.codingworkshop.eu.org/xt-sys/xtchain), a special toolchain
prepared for compiling XT software. Currently, there is only a Linux version available, so a Linux distribution or WSL
is needed. If XTChain is already installed and available, then building ExectOS is quiet easy. First, open a terminal
or WSL console and type the following command to launch XTChain build console:
2022-07-27 07:25:19 +02:00
```
xtchain
```
While the console is already running, navigate to the directory containing ExectOS source code and use the following
2022-08-22 20:18:48 +02:00
commands to first set target build architecture and configure the sources:
2022-07-27 07:25:19 +02:00
```
charch [i686|amd64]
chbuild [DEBUG|RELEASE]
./configure.sh
```
Once the sources are configured, enter the build directory and compile the source code:
```
cd build
xbuild
2022-07-27 07:25:19 +02:00
```
It is also possible to build a disk image ready to use with QEMU with the following command:
```
xbuild diskimg
2022-07-27 07:25:19 +02:00
```
# Contributing
There is a ton of work to do in ExectOS and we appreciate any help. If you are interested in writing features,
porting drivers, fixing bugs, writing tests, creating documentation, or helping out in any other way, we would
2023-10-25 18:29:31 +02:00
love the help. More details on how to contrubite can be found it [CONTRIBUTING.md](CONTRIBUTING.md) file.
2022-07-27 07:25:19 +02:00
# Licensing
ExectOS is licensed to the public under the terms of the GNU General Public License, version 3. For more
2023-10-25 18:29:31 +02:00
detailed information check the [COPYING.md](COPYING.md) file.
2022-07-27 07:25:19 +02:00
# GIT Mirrors
* Main GIT Repository: https://git.codingworkshop.eu.org/xt-sys/exectos
* GitHub Mirror: https://github.com/xt-sys/exectos
* GitLab Mirror: https://gitlab.com/xt-sys/exectos
# Contact
2023-07-18 07:03:50 +02:00
* Discord Server: https://discord.com/invite/zBzJ5qMGX7