commit | 78e80047a43c25d0b3092e05fca98244eac1c91f | [log] [tgz] |
---|---|---|
author | Miguel Young de la Sota <mcyoung@google.com> | Tue Dec 10 17:24:03 2019 +0000 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Tue Jan 07 13:28:05 2020 +0000 |
tree | 9fd73ee2dffac3dcac01afd09a08b02c861c392a | |
parent | d5251ac2e44548649a2945a5532d8ec07c1aea79 [diff] |
[sw, base] Introduce a MMIO access library This change introduces a library of functions for explicitly manipulating volatile MMIO memory (comparable to Rust's read_volatile and write_volatile). This allows us to: - Track volatile access somewhat better, rather than just casting integers into pointers all over the place. - Better-control the implementation of volatile reads and writes. If we decide we don't trust the compiler's lowering, we can provide our own inline-assembly implementation. This API potentially could be revised in future to handle non-atomic R-M-W operations differently. Signed-off-by: Miguel Young de la Sota <mcyoung@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can either access it online or build it locally by following the steps below.
$ sudo apt install curl python3 python3-pip $ pip3 install --user -r python-requirements.txt
$ ./util/build_docs.py --preview
This compiles the documentation into ./build/docs
and starts a local server, which allows you to access the documentation at http://127.0.0.1:1313.
Have a look at CONTRIBUTING for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).