Fuchsia使用的内核Magenta

代码下载地址


https://fuchsia.googlesource.com/magenta


使用github的镜像


https://github.com/fuchsia-mirror/magenta


简介

https://github.com/fuchsia-mirror/magenta/blob/master/docs/index.md


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

The Magenta Kernel is a medium-sized microkernel. It provides services(via syscalls) to manage processes, threads, virtual memory, inter-processcommunication, waiting on object state changes, and locking (via futexes).

Currently there are some temporary syscalls that have been used for earlybringup work, which will be going away in the future as the long termsyscall API/ABI surface is finalized. The expectation is that there willbe 10s, not 100s of syscalls.

Magenta syscalls are generally non-blocking. The wait (one, many, set)family of syscalls, ioport reads, and thread sleep being the notableexceptions.

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

  • Getting Started
  • Relationship with LK
  • Kernel Objects
    • Process Objects
    • Thread Objects
  • Handles
  • Futexes
  • System Calls

你可能感兴趣的:(Fuchsia)