<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/lib/sbi/riscv_asm.c, branch v0.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/lib/sbi/riscv_asm.c?h=v0.7</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/lib/sbi/riscv_asm.c?h=v0.7'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2020-03-18T03:28:26Z</updated>
<entry>
<title>lib: sbi: Update pmp_get() to return decoded size directly</title>
<updated>2020-03-18T03:28:26Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2020-03-17T14:59:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=5fbcd625bc8f8980164b4c905dc8097269461419'/>
<id>urn:sha1:5fbcd625bc8f8980164b4c905dc8097269461419</id>
<content type='text'>
Currently pmp_get() returns the log2 length of the PMP memory
region size. The caller has to calculate the size based on that
and the same codes are duplicated.

Update this function to return decoded size directly.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Fix coding style issues</title>
<updated>2020-03-10T04:57:28Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2020-03-09T03:52:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=650c0e525ce60e80b6756aa8cc4eeae5b20ccbd8'/>
<id>urn:sha1:650c0e525ce60e80b6756aa8cc4eeae5b20ccbd8</id>
<content type='text'>
This fixes various coding style issues found in the SBI codes.
No functional changes.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>Revert "lib: Use __builtin_ctzl() in pmp_get()"</title>
<updated>2020-02-18T03:58:33Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-02-18T03:56:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=0b414532c41303ce42fa2b9cc4861c5b01e76b40'/>
<id>urn:sha1:0b414532c41303ce42fa2b9cc4861c5b01e76b40</id>
<content type='text'>
This reverts commit 897b8fbdd92fcfad194417d348b8dad16ab0e17a.

We are seeing compile errors using newlib based GCC cross-toolchain
so we restore back old ctz() implementation.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Use __builtin_ctzl() in pmp_get()</title>
<updated>2020-02-13T03:40:57Z</updated>
<author>
<name>Li Jinpei</name>
<email>leekingp1994@163.com</email>
</author>
<published>2020-02-11T10:07:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=897b8fbdd92fcfad194417d348b8dad16ab0e17a'/>
<id>urn:sha1:897b8fbdd92fcfad194417d348b8dad16ab0e17a</id>
<content type='text'>
We should should __builtin_ctzl() in pmp_get() instead of
custom ctz() function.

Signed-off-by: Li Jinpei &lt;leekingp1994@163.com&gt;
Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Add error detection for misa_extension</title>
<updated>2019-11-27T06:40:33Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2019-11-27T06:16:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=813f7f4c250af9f7c9546f64778e9b35bb7d7dcb'/>
<id>urn:sha1:813f7f4c250af9f7c9546f64778e9b35bb7d7dcb</id>
<content type='text'>
Add assertions for misa_extension to prevent incoming illegal
characters.

Signed-off-by: Xiang Wang &lt;merle@hardenedlinux.org&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Fix CPU capabilities detection function</title>
<updated>2019-11-26T10:36:29Z</updated>
<author>
<name>Xiang Wang</name>
<email>merle@hardenedlinux.org</email>
</author>
<published>2019-11-26T10:36:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c96cc03fcc2723fa007b65e5ae6fe2673ea41413'/>
<id>urn:sha1:c96cc03fcc2723fa007b65e5ae6fe2673ea41413</id>
<content type='text'>
On some platforms, misa may not be implemented. On such a platform,
reading misa will get 0. At this time, platform is required to
implement a non-standard function to detect the CPU's capabilities.
Therefore, this modification add interfaces for non-standard function.

The MXL field of misa is always at the highest two bits, whether it
is a 32-bit 64-bit or a 128-bit machine. Therefore, this modification
fixes the use of a fixed offset to detect the machine length.

Signed-off-by: Xiang Wang &lt;merle@hardenedlinux.org&gt;
Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Move sbi core library to lib/sbi</title>
<updated>2019-06-19T04:18:51Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-06-18T21:54:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=749b0b093242a4c27f7c4f66121afd7852b2de48'/>
<id>urn:sha1:749b0b093242a4c27f7c4f66121afd7852b2de48</id>
<content type='text'>
Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
</feed>
