diff --git a/README.md b/README.md index 7b142d56..c38f5432 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,9 @@ RISC-V Open Source Supervisor Binary Interface (OpenSBI) The **RISC-V Supervisor Binary Interface (SBI)** is a recommended interface between: -1. A pplatform specific firmware executed in M-mode and a general purpose - OS hypervisor or bootloader executed in S-mode or HS-mode. -2. A hypervisor executed in HS-mode and a general purpose OS or bootloader - executed in VS-mode +1. A platform specific firmware (M-mode) and a general purpose + OS or hypervisor or bootloader (S-mode or HS-mode). +2. A hypervisor (HS-mode) and a general purpose OS or bootloader (VS-mode) The *RISC-V SBI specification* is maintained as an independent project by the RISC-V Foundation in [Github](https://github.com/riscv/riscv-sbi-doc) @@ -59,17 +58,16 @@ Building and Installing platform specific *libsbi.a* and firmwares ------------------------------------------------------------------ The libplatsbi.a and firmware files are only built if the -*PLATFORM=* argument is specified on make command lines. -** must specify the path to one of the leaf directories -under the *platform* directory. For example, to compile the library and -firmware for QEMU generic RISC-V *virt* machine, ** -should be *qemu/virt*. +*`PLATFORM=`* argument is specified on make command lines. +*``* must specify the path to one of the leaf directories +under the *`platform`* directory. For example, to compile the library and +firmware for QEMU RISC-V *virt* machine, *``* +should be *`qemu/virt`*. To build *libsbi, libplatsbi, and firmwares* for a specific platform, run: ``` make PLATFORM= ``` - or ``` @@ -80,7 +78,6 @@ To install *libsbi, headers, libplatsbi, and firmwares*, run: ``` make PLATFORM= install ``` - or ``` @@ -88,7 +85,7 @@ make PLATFORM= I= install` ``` In addition, platform specific make command-line options to top-level make -,such as *PLATFORM_* or *FW_* can also be specified. These +, such as *PLATFORM_* or *FW_* can also be specified. These options are described under *docs/platform/.md* and *docs/firmware/.md*.