Migrate most of the logic for interacting with decoded instructions into vcpu and out of the device implementations. The VCPU will dispatch the appropriate read/write request based on the decoded instruction and then handle updating any required VCPU state. The new handle_mmio_read/handle_mmio_write functions in vcpu.cpp are the MMIO counterparts to the existing handle_input/handle_output methods that implement IO port accesses. Change-Id: I7a41c2ecb32871d8ebf4568951a5c9cc8f9d3a12
Magenta
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: https://fuchsia.googlesource.com/magenta
A read-only mirror of the code is present at: https://github.com/fuchsia-mirror/magenta
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.