commit | e06ddf7f45fee1120a2b051f365efb2d4ed13836 | [log] [tgz] |
---|---|---|
author | George Kulakowski <kulakowski@google.com> | Mon Sep 17 23:23:25 2018 -0700 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Sep 19 18:46:16 2018 +0000 |
tree | 77e969a33fc59050efd604e5465b1a1a6c32c1bb | |
parent | e1221c7c626d9b6b4627133beb0c1bf4f2e50b5f [diff] |
[compiler.h] Add a __RESTRICT macro __restrict is a common C++ extension, which is legal in roughly the same places as C's restrict keyword (that is, on declarations of pointer variables, including parameters). While not especially useful for C++'s own sake, this is useful for matching C interfaces which use restrict. In particular, I want to use it in fdio when converting it to C++, as fdio has many function signatures which parallel standard C or POSIX ones containing restrict. Test: compiles Change-Id: I48498fbac4c00f9f5074ab8eab7b311bf03fed57
Zircon is the core platform that powers the Fuchsia OS. Zircon 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 Zircon Git repository is located at: https://fuchsia.googlesource.com/zircon
A read-only mirror of the code is present at: https://github.com/fuchsia-mirror/zircon
The Zircon 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.
Zircon 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 zircon documentation.