<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/src/cpu_mp.c, branch riscv64</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/src/cpu_mp.c?h=riscv64</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/src/cpu_mp.c?h=riscv64'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2024-05-16T07:45:12Z</updated>
<entry>
<title>[libcpu/arm64] add C11 atomic ticket spinlock (#8882)</title>
<updated>2024-05-16T07:45:12Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-16T07:45:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e25fc8b5118fba87acd5bc677641926a913bb3a5'/>
<id>urn:sha1:e25fc8b5118fba87acd5bc677641926a913bb3a5</id>
<content type='text'>
* [libcpu/arm64] add C11 atomic ticket spinlock

Replace the former implementation of flag-based spinlock which is unfair

Besides, C11 atomic implementation is more readable (it's C anyway),
and maintainable. Cause toolchain can use their builtin optimization and
tune for different micro-architectures. For example armv8.5 introduces a
better instruction. The compiler can help with that when it knows your
target platform in support of it.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* fixup: RT_CPUS_NR

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[hrtimer] fixup use-after-free (#8928)</title>
<updated>2024-05-11T00:53:42Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-11T00:53:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=989cc61f48486034abd925d83cae1fbe8b680947'/>
<id>urn:sha1:989cc61f48486034abd925d83cae1fbe8b680947</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[src] add rt_hw_cpu_id() wrapper API (#8894)</title>
<updated>2024-05-08T01:22:09Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-08T01:22:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6977cf91013724b8bf632cf4ad08f8dbb0392fb2'/>
<id>urn:sha1:6977cf91013724b8bf632cf4ad08f8dbb0392fb2</id>
<content type='text'>
* [src] add rt_hw_cpu_id() wrapper API

rt_hw_cpu_id() is an unsafe API which should not be used by most codes
directly. It's error-prone because it must be used in proper context,
otherwise it can lead to errors and unpredictable behavior.

This patch adds a wrapper API for rt_hw_cpu_id() to address this risk.
It includes the context-checking functionality and provides a safer
alternative for obtaining CPU IDs, ensuring that it is used correctly
within the appropriate context.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* fixup UMP

* update API &amp; comment

* ci: cpp_check

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>fixup: debug</title>
<updated>2024-04-20T01:30:12Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-04-19T03:27:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8c4db32d041153abab4484ac4118b147cf40fe32'/>
<id>urn:sha1:8c4db32d041153abab4484ac4118b147cf40fe32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add cpu up</title>
<updated>2024-04-20T01:30:12Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-04-19T02:45:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=451ac0396512d9fbf2ccad48e08774b8da3cb5ac'/>
<id>urn:sha1:451ac0396512d9fbf2ccad48e08774b8da3cb5ac</id>
<content type='text'>
</content>
</entry>
</feed>
