Features

Features

LightOS is purpose-built for silicon validation and embedded firmware development. Every feature is designed for deterministic behavior, minimal footprint, and production readiness.


โšก Ultra-Fast Boot

<5ฮผs Cold Boot

Boot your entire RTOS in less than 5 microseconds. Critical for silicon validation where every simulation cycle counts.

Why It Matters:

How We Achieve It:


๐Ÿงต Thread Management

Priority-Based Scheduler

Thread States

Stack Management

Thread Control

Example:

#include <lightos/thread.hpp>

lightos::thread worker("Worker", priority::normal, [](void*) {
    while (true) {
        process_task();
        lightos::thread::yield();
    }
});
worker.start();

๐Ÿ”’ Synchronization Primitives

Mutex

Semaphore

Message Queue

Condition Variable

Example:

#include <lightos/mutex.hpp>
#include <lightos/queue.hpp>

lightos::mutex data_lock;
lightos::queue<sensor_reading, 16> sensor_queue;

// Producer (ISR context)
void sensor_isr() {
    sensor_queue.send_from_isr(reading);
}

// Consumer (thread context)
void consumer_thread() {
    auto reading = sensor_queue.receive(timeout::infinite);
    scoped_lock lock(data_lock);
    process(reading);
}

โฑ๏ธ Timer System

Hardware Timers

Software Timers

Time APIs

Power-Aware


๐Ÿ’พ Memory Management

Static Pools

Dynamic Pools

MPU/MMU Support

Debug Features


๐Ÿ—๏ธ Architecture Support

ArchitectureFeaturesStatus
ARM Cortex-R52EL1/EL2, GICv3, MPU, VFPโœ… Hardware Verified
ARM Cortex-A53MMU, Kernel/User, Syscallsโœ… QEMU Tested
RISC-V RV64GCCLINT, PLIC, SMPโœ… QEMU Tested
RISC-V RV32IMCEmbedded targetsโœ… QEMU Tested

๐Ÿ”Œ Language Bindings

C++ (Native)

Modern C++20 API with RAII, type safety, and zero-cost abstractions.

C API

Full C99 API for legacy codebases and integration.

Rust FFI

#![no_std] compatible bindings for Rust embedded development.

use lightos_ffi::*;

let thread = Thread::new("Worker", Priority::Normal, worker_fn)?;
thread.start()?;

๐Ÿ›ก๏ธ Safety & Security

ISO 26262 ASIL-B

TrustZone Support

Fault Handling

AUTOSAR OS


๐Ÿ“Š Debugging & Profiling


Ready to Evaluate?

Request Evaluation View Docs


Performance Disclaimer: Performance metrics such as boot times, memory usage, and latency figures are measured under specific test conditions (ARM Cortex-R52 simulation environment, default configuration). Actual performance may vary significantly depending on hardware platform, compiler, configuration options, and application workload. These figures are provided for general guidance only.

Safety Disclaimer: “ASIL-B ready” and similar statements indicate that LightOS is designed with ISO 26262 automotive safety requirements in mind and includes supporting documentation. This does not constitute certification. Final safety certification is the responsibility of the system integrator and their designated assessment body.