From 3c7964599e8d2302bf6203a0437ff0a0df1a5f7b Mon Sep 17 00:00:00 2001 From: Dayeol Lee Date: Wed, 26 Feb 2020 14:38:33 -0800 Subject: [PATCH 1/3] Update Install-Dependencies.rst --- docs/source/Getting-Started/Install-Dependencies.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/Getting-Started/Install-Dependencies.rst b/docs/source/Getting-Started/Install-Dependencies.rst index b5c4968ab5..7a85babc8d 100644 --- a/docs/source/Getting-Started/Install-Dependencies.rst +++ b/docs/source/Getting-Started/Install-Dependencies.rst @@ -23,6 +23,7 @@ Ubuntu In order to use the Rust version of the security monitor, you will also need to install `rustup _` and `llvm-9 _` (available in Ubuntu repositories in versions 18.04 and above). Then, run the following commands: :: + rustup toolchain install nightly rustup +nightly component add rust-src rustup +nightly target add riscv64gc-unknown-none-elf From 71fbbc6004339e037652aa33bb9bec5b9ca8b720 Mon Sep 17 00:00:00 2001 From: Dayeol Lee Date: Wed, 26 Feb 2020 14:39:41 -0800 Subject: [PATCH 2/3] Update Install-Dependencies.rst --- docs/source/Getting-Started/Install-Dependencies.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/Getting-Started/Install-Dependencies.rst b/docs/source/Getting-Started/Install-Dependencies.rst index 7a85babc8d..5593183062 100644 --- a/docs/source/Getting-Started/Install-Dependencies.rst +++ b/docs/source/Getting-Started/Install-Dependencies.rst @@ -20,7 +20,7 @@ Ubuntu You need Git version >= 2.11.0 to use ``./fast-setup.sh``, because the script uses ``--shallow-clone`` for faster submodule initializtion. -In order to use the Rust version of the security monitor, you will also need to install `rustup _` and `llvm-9 _` (available in Ubuntu repositories in versions 18.04 and above). Then, run the following commands: +In order to use the Rust version of the security monitor, you will also need to install `rustup `_ and `llvm-9 `_ (available in Ubuntu repositories in versions 18.04 and above). Then, run the following commands: :: From 4a6f2ee371d7ef29ce10636f06c96b6a4d505d47 Mon Sep 17 00:00:00 2001 From: Gui Andrade Date: Wed, 26 Feb 2020 15:03:13 -0800 Subject: [PATCH 3/3] Fix Building-Components doc typo --- .../Building-Components/Security-Monitor-Platform-Build.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/Building-Components/Security-Monitor-Platform-Build.rst b/docs/source/Building-Components/Security-Monitor-Platform-Build.rst index 4bea03d27a..87f028a9b4 100644 --- a/docs/source/Building-Components/Security-Monitor-Platform-Build.rst +++ b/docs/source/Building-Components/Security-Monitor-Platform-Build.rst @@ -35,7 +35,7 @@ Configure and build ``bbl``. The SM can be built by additional flags ``--enable- make -The Keystone Security Monitor also has an experimental port to the `Rust programming language `_. If you would like to try this version of the SM, specify ``--enale-sm_rs`` instead of using ``--enable-sm``. +The Keystone Security Monitor also has an experimental port to the `Rust programming language `_. If you would like to try this version of the SM, specify ``--enable-sm_rs`` instead of using ``--enable-sm``. You may also wish to compile the SM with optimizations enabled. To do this, use the configure flag ``--enable-opt=2``.