commit | 15b774986e6472003553b0fa1af06881423b0486 | [log] [tgz] |
---|---|---|
author | Bailey Forrest <bcf@google.com> | Tue Nov 14 20:33:33 2017 -0800 |
committer | Bailey Forrest <bcf@google.com> | Tue Nov 28 11:33:01 2017 -0800 |
tree | 841b2d24d9a45ae75e211bc3c340f7d8a230e159 | |
parent | aa9cf7ec9d6ea74987e2d0c24f3ccfc1c0638fc3 [diff] |
[dev][gauss led] Implement LED driver for gauss Example usage: echo "1"> /dev/sys/platform/0003:0001:0004/gauss-led/reset echo "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24" > /dev/sys/platform/0003:0001:0004/gauss-led/pwm echo "153" > /dev/sys/platform/0003:0001:0004/gauss-led/duty_cycle cat /dev/sys/platform/0003:0001:0004/gauss-led/pwm cat /dev/sys/platform/0003:0001:0004/gauss-led/duty_cycle Bug: 69431907 Test: Manual on device. Change-Id: Ic229d214af4d7fe389e9ff757d23195fc5bfe2f4
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.