<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/include/sbi/sbi_types.h, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/include/sbi/sbi_types.h?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/include/sbi/sbi_types.h?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2025-12-15T13:12:00Z</updated>
<entry>
<title>include: sbi: Make "s8" actually signed.</title>
<updated>2025-12-15T13:12:00Z</updated>
<author>
<name>Benedikt Freisen</name>
<email>b.freisen@gmx.net</email>
</author>
<published>2025-11-14T20:38:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=d65c1e95a737d8365a6b170c2074c27b56fc5bcb'/>
<id>urn:sha1:d65c1e95a737d8365a6b170c2074c27b56fc5bcb</id>
<content type='text'>
Since plain "char" is implicitly unsigned on RISC-V, "s8" should be an alias for "signed char".

Signed-off-by: Benedikt Freisen &lt;b.freisen@gmx.net&gt;
Reviewed-by: Radim Krčmář &lt;rkrcmar@ventanamicro.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
Link: https://lore.kernel.org/r/20251114203842.13396-2-b.freisen@gmx.net
Signed-off-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Simplify structure member offset checking</title>
<updated>2025-04-15T05:56:36Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2025-03-19T12:39:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=169b4b8ae2f3f1b337179a176a299284d0bed4fe'/>
<id>urn:sha1:169b4b8ae2f3f1b337179a176a299284d0bed4fe</id>
<content type='text'>
Add a macro assert_member_offset() to perform structure member offset
checking.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
Link: https://lore.kernel.org/r/20250319123919.505443-1-wxjstz@126.com
Signed-off-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>include: sbi: Fix compiling with C23 enabled compilers</title>
<updated>2024-12-21T16:08:50Z</updated>
<author>
<name>Michael Neuling</name>
<email>michaelneuling@tenstorrent.com</email>
</author>
<published>2024-12-21T16:08:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=d539d64a23bbd64ba324eed595449bcc9c7be0cb'/>
<id>urn:sha1:d539d64a23bbd64ba324eed595449bcc9c7be0cb</id>
<content type='text'>
C23 pre-defines bool so we need to gate our defines.

Signed-off-by: Michael Neuling &lt;michaelneuling@tenstorrent.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>include: sbi: Don't unconditionally define '__always_inline'</title>
<updated>2024-09-27T05:22:32Z</updated>
<author>
<name>Elyes Haouas</name>
<email>ehaouas@noos.fr</email>
</author>
<published>2024-09-15T16:04:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=7b3de48cd583dbd8c0b9efa65f417c4e5d5a6b79'/>
<id>urn:sha1:7b3de48cd583dbd8c0b9efa65f417c4e5d5a6b79</id>
<content type='text'>
Update __always_inline macro define to fix opensbi upstream
build for coreboot.
Refer, https://qa.coreboot.org/job/coreboot-gerrit/257449/testReport/junit/(root)/clang/EMULATION_QEMU_RISCV_RV64_/

Closes: https://github.com/riscv-software-src/opensbi/issues/366
Signed-off-by: Elyes Haouas &lt;ehaouas@noos.fr&gt;
Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
</content>
</entry>
<entry>
<title>include: types: Add typedefs for endianness</title>
<updated>2023-02-08T12:54:13Z</updated>
<author>
<name>Rahul Pathak</name>
<email>rpathak@ventanamicro.com</email>
</author>
<published>2023-02-02T04:44:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b224ddb41fe1f9cbdfb246ebf22036ae1fe3f40f'/>
<id>urn:sha1:b224ddb41fe1f9cbdfb246ebf22036ae1fe3f40f</id>
<content type='text'>
If any variable/memory-location follows certain
endianness then its important to annotate it properly
so that proper conversion can be done before read/write
from that variable/memory.

Also, use these new typedefs in libfdt_env.h for deriving
its own custom fdtX_t types

Signed-off-by: Rahul Pathak &lt;rpathak@ventanamicro.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>include: types: add always inline compiler attribute</title>
<updated>2023-01-22T12:02:35Z</updated>
<author>
<name>Yu Chien Peter Lin</name>
<email>peterlin@andestech.com</email>
</author>
<published>2023-01-20T03:05:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b1818ee244adae3c07fcd4494873a74f7aaeb21a'/>
<id>urn:sha1:b1818ee244adae3c07fcd4494873a74f7aaeb21a</id>
<content type='text'>
Provide __always_inline to sbi_types header.

Signed-off-by: Yu Chien Peter Lin &lt;peterlin@andestech.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>treewide: Replace TRUE/FALSE with true/false</title>
<updated>2023-01-06T11:56:35Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng@tinylab.org</email>
</author>
<published>2022-12-21T11:38:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=440fa818fbffd0771d75890c4fcda062ceab7ebd'/>
<id>urn:sha1:440fa818fbffd0771d75890c4fcda062ceab7ebd</id>
<content type='text'>
C language standard uses true/false for the boolean type.
Let's switch to that for better language compatibility.

Signed-off-by: Bin Meng &lt;bmeng@tinylab.org&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
Reviewed-by: Samuel Holland &lt;samuel@sholland.org&gt;
Tested-by: Samuel Holland &lt;samuel@sholland.org&gt;
</content>
</entry>
<entry>
<title>include: types: Use __builtin_offsetof when supported</title>
<updated>2021-07-17T11:10:07Z</updated>
<author>
<name>Alex Richardson</name>
<email>Alexander.Richardson@cl.cam.ac.uk</email>
</author>
<published>2021-07-12T12:39:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=f3a8f603a702b10f13f0fad7c0c815b21fb2384a'/>
<id>urn:sha1:f3a8f603a702b10f13f0fad7c0c815b21fb2384a</id>
<content type='text'>
Clang provides a __builtin_offsetof which can be detected using
__has_builtin().

Signed-off-by: Alex Richardson &lt;Alexander.Richardson@cl.cam.ac.uk&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>include: types: Add __aligned(x) to define the minimum alignement</title>
<updated>2021-04-09T13:07:06Z</updated>
<author>
<name>Christoph Muellner</name>
<email>cmuellner@linux.com</email>
</author>
<published>2021-04-06T01:53:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=d4a94ea471451f0a24e02e2e7ebf869bb4f7dbf4'/>
<id>urn:sha1:d4a94ea471451f0a24e02e2e7ebf869bb4f7dbf4</id>
<content type='text'>
The __aligned(x) macro is a common wrapper around compiler's
aligned attribute, which allow to define the minimum alignement
of a data type. Let's add this macro.

Signed-off-by: Christoph Muellner &lt;cmuellner@linux.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>include: Add array_size() macro</title>
<updated>2020-05-01T04:27:24Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-04-24T13:07:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=1ac794cb618fea55db81cc697f46442bf70469d8'/>
<id>urn:sha1:1ac794cb618fea55db81cc697f46442bf70469d8</id>
<content type='text'>
Getting array size of a dynmaic array can be very handy hence
this patch.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
</feed>
