aboutsummaryrefslogtreecommitdiff
path: root/docs/firmware/fw.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/firmware/fw.md')
-rw-r--r--docs/firmware/fw.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/firmware/fw.md b/docs/firmware/fw.md
index cc0cc9e..913f939 100644
--- a/docs/firmware/fw.md
+++ b/docs/firmware/fw.md
@@ -9,6 +9,13 @@ OpenSBI generic library code. The supported firmwares type will differ in how
the arguments passed by the platform early boot stage are handled, as well as
how the boot stage following the firmware will be handled and executed.
+The previous booting stage will pass information via the following registers
+of RISC-V CPU:
+
+* hartid via *a0* register
+* device tree blob address in memory via *a1* register. The address must
+ be aligned to 8 bytes.
+
OpenSBI currently supports three different types of firmwares.
Firmware with Dynamic Information (*FW_DYNAMIC*)