From 75fc0bb454b6da14ca42168006af65577fbdfc39 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 3 Dec 2024 14:52:13 +0100 Subject: Write down the requirement for the Zaamo extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since 2eead36f97fa ("Run a hart lottery on SMP") the kernel is making use of the 'amoadd.w' instruction, which requires the Zaamo extension (included in the base A extension). This is notable and is worth a mention on the list of requirements. Signed-off-by: Miquel Sabaté Solà --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 5c1a049..7b7f113 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,8 @@ things simple. Hence, here there are some limitations/requirements: target, and that's what you are supposed to be passing to the kernel. - RISC-V is ambivalent on the endianness. Not this kernel. Out of simplicity we require a little-endian RISC-V system. +- This kernel makes use of the `Zaamo` Extension for Atomic Memory Operations, + which is included under the `A` Extension for Atomic Instructions. ## Special thanks to -- cgit v1.2.3