Magenta Kernel, Core Drivers and Services

Clone this repo:
  1. 8d345f7 [kernel][libc] Mark memcpy as used to avoid it being optimized away by Petr Hosek · 47 minutes ago master
  2. e34da99 [utest][mxtl] Fix tests of mxtl::String::compare by Roland McGrath · 75 minutes ago
  3. 3b5f9da [build] LTO, ThinLTO implies Clang by Petr Hosek · 2 hours ago
  4. 44d3026 [kernel] Remove unused copy_to_user_<type>/copy_from_user_<type> functions by Mark Seaborn · 5 hours ago
  5. 1cd173c [musl] Make thrd_{create,exit,join} call non-public pthread functions by George Kulakowski · 6 hours ago


Magenta is the core platform that powers the Fuchsia OS. Magenta is composed of a microkernel (source in kernel/...) as well as a small set of userspace services, drivers, and libraries (source in system/...) necessary for the system to boot, talk to hardware, load userspace processes and run them, etc. Fuchsia builds a much larger OS on top of this foundation.

The canonical Magenta Git repository is located at:

A read-only mirror of the code is present at:

The Magenta Kernel provides syscalls to manage processes, threads, virtual memory, inter-process communication, waiting on object state changes, and locking (via futexes).

Currently there are some temporary syscalls that have been used for early bringup work, which will be going away in the future as the long term syscall API/ABI surface is finalized. The expectation is that there will be about 100 syscalls.

Magenta syscalls are generally non-blocking. The wait_one, wait_many port_wait and thread sleep being the notable exceptions.

This page is a non-comprehensive index of the magenta documentation.