<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/libcpu/aarch64/common/include/cpuport.h, branch copilot/fix-format-string-injection</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/libcpu/aarch64/common/include/cpuport.h?h=copilot%2Ffix-format-string-injection</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/libcpu/aarch64/common/include/cpuport.h?h=copilot%2Ffix-format-string-injection'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2024-10-11T04:09:01Z</updated>
<entry>
<title>feat: arm64: update thread self on sp-switch</title>
<updated>2024-10-11T04:09:01Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-09-25T02:28:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5796e0d646b9fa97e14065859f308b2f5553cc12'/>
<id>urn:sha1:5796e0d646b9fa97e14065859f308b2f5553cc12</id>
<content type='text'>
This patch improves the atomicity of context switching by ensuring that
the stack pointer (sp) and thread self updates occur simultaneously.
This enhancement is crucial for maintaining thread safety and
preventing potential inconsistencies during context switches.

Changes:
- Modified `cpuport.h` to use `ARM64_THREAD_REG` for thread self access.
- Added an `update_tidr` macro in `context_gcc.S` to streamline thread ID
  updates.
- Adjusted `rt_hw_context_switch_to` and `rt_hw_context_switch` to call
  `update_tidr`, ensuring atomic updates during context switches.
- Cleaned up `scheduler_mp.c` by removing redundant thread self
  assignments.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #9228 from messigogogo/master</title>
<updated>2024-07-25T11:03:37Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2024-07-25T11:03:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bde4817b9e46bf0b1c2b9bac476c01d02b88618a'/>
<id>urn:sha1:bde4817b9e46bf0b1c2b9bac476c01d02b88618a</id>
<content type='text'>
[BSP/Phytium]适配最新驱动</content>
</entry>
<entry>
<title>quality: include the essential only to avoid recursion</title>
<updated>2024-07-24T03:33:48Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-07-23T02:18:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=08b8dfb225f86d578803d54a2ce92d9c7a139b5b'/>
<id>urn:sha1:08b8dfb225f86d578803d54a2ce92d9c7a139b5b</id>
<content type='text'>
The rtdef.h is a big header with multiple dependency inside,
which makes it easier to introduce recursion dependency.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>[BSP/Phytium]适配最新裸机驱动</title>
<updated>2024-07-22T02:33:39Z</updated>
<author>
<name>张衍</name>
<email>zhangyan1491@phytium.com.cn</email>
</author>
<published>2024-07-22T02:33:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0e3c4bd26b34a54910db4da6b0a99bc470c65b08'/>
<id>urn:sha1:0e3c4bd26b34a54910db4da6b0a99bc470c65b08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[format] cleanup libcpu/aarch64 (#8950)</title>
<updated>2024-06-27T16:23:09Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-06-27T16:23:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=90917cc75af9406834c14fd25140405ba6f72d6d'/>
<id>urn:sha1:90917cc75af9406834c14fd25140405ba6f72d6d</id>
<content type='text'>
* [dfs] fixup compiler warning

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* [format] libcpu/arm64: separate context switching codes

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* [format] libcpu/arm64: separate vector

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* [format] libcpu/arm64: separate context_gcc.S

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* [format] libcpu/arm64: moving headers to include directory

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* style: replace tab with space

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
</feed>
