<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/include/rtthread.h, branch riscv64</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/include/rtthread.h?h=riscv64</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/include/rtthread.h?h=riscv64'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2024-06-27T15:05:12Z</updated>
<entry>
<title>[doc][doxygen] Fix hook struct error.</title>
<updated>2024-06-27T15:05:12Z</updated>
<author>
<name>supperthomas</name>
<email>78900636@qq.com</email>
</author>
<published>2024-06-27T13:37:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b79d5013ff4e53e913975db4794b3ea061cbffd9'/>
<id>urn:sha1:b79d5013ff4e53e913975db4794b3ea061cbffd9</id>
<content type='text'>
Signed-off-by: supperthomas &lt;78900636@qq.com&gt;
</content>
</entry>
<entry>
<title>[doc][doxygen] Fix doxygen struct error.</title>
<updated>2024-06-26T12:22:43Z</updated>
<author>
<name>supperthomas</name>
<email>78900636@qq.com</email>
</author>
<published>2024-06-26T05:40:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=14e4c45408bec8d87028187c29fba2a03222da4b'/>
<id>urn:sha1:14e4c45408bec8d87028187c29fba2a03222da4b</id>
<content type='text'>
Signed-off-by: supperthomas &lt;78900636@qq.com&gt;
</content>
</entry>
<entry>
<title>[kservice] Enhance support for backtrace service (#9037)</title>
<updated>2024-06-13T00:55:53Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-06-13T00:55:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e5b7f3fdd842e95979111b9d3a9d487a217619b5'/>
<id>urn:sha1:e5b7f3fdd842e95979111b9d3a9d487a217619b5</id>
<content type='text'>
[feat] Enhance support for backtrace service

rt_backtrace_formatted_print() and rt_backtrace_to_buffer() to help
debug routines.

Also, following modification are included:
- make rt_backtrace_frame patchable with weak attr
- replace lwp backtrace with sync output

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[arm64] add hw thread self (#8942)</title>
<updated>2024-05-28T06:27:55Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-28T06:27:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f17f994f8c85a0ca58d42c81a14f1134af6ada91'/>
<id>urn:sha1:f17f994f8c85a0ca58d42c81a14f1134af6ada91</id>
<content type='text'>
* [libcpu] arm64: Add hardware thread_self support

This patch introduces hardware-based thread self-identification
for the AArch64 architecture. It optimizes thread management by
using hardware registers to store and access the current thread's
pointer, reducing overhead and improving overall performance.

Changes include:
- Added `ARCH_USING_HW_THREAD_SELF` configuration option.
- Modified `rtdef.h`, `rtsched.h` to conditionally include
  `critical_switch_flag` based on the new config.
- Updated context management in `context_gcc.S`, `cpuport.h`
  to support hardware-based thread self.
- Enhanced `scheduler_mp.c` and `thread.c` to leverage the new
  hardware thread self feature.

These modifications ensure better scheduling and thread handling,
particularly in multi-core environments, by minimizing the
software overhead associated with thread management.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* fixup: address suggestion

* fixup: rt_current_thread as global

* scheduler: add cpu object for UP scheduler

Also, maintain the rt_current_thread in cpu object on UP scheduler.

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[smart] select console device dynamically (#8949)</title>
<updated>2024-05-17T05:19:00Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-17T05:19:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f2d6325b43ea1e390f034e03340b41662351b441'/>
<id>urn:sha1:f2d6325b43ea1e390f034e03340b41662351b441</id>
<content type='text'>
* [smart] select console device dynamically

- Fixed compiler warning on terminal subsystem for
  `components/lwp/terminal/terminal.h`
- Updated default console setup to dynamically select an appropriate tty
  device based on the configured console device name.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* fixup: remove useless codes

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[include/rtthread.h] rt_thread_close函数声明应当与RT_USING_HEAP无关</title>
<updated>2024-05-11T17:42:27Z</updated>
<author>
<name>Yang Xijing</name>
<email>814370731@qq.com</email>
</author>
<published>2024-05-11T15:51:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f55187f83023b05a59e3e31e35422acbc5cbceea'/>
<id>urn:sha1:f55187f83023b05a59e3e31e35422acbc5cbceea</id>
<content type='text'>
</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>[src][Kconfig]make RT_ASSERT independent of RT_USING_DEUBG</title>
<updated>2024-05-07T00:40:30Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-05-07T00:40:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9112dffec8bd249c0c66e4cc87083c8b37c100ae'/>
<id>urn:sha1:9112dffec8bd249c0c66e4cc87083c8b37c100ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[kernel] add rt_thread_close()</title>
<updated>2024-05-01T04:49:09Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-01T04:49:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2c9b7c10b9ff6b4509945376bb4e25dd18c1ce25'/>
<id>urn:sha1:2c9b7c10b9ff6b4509945376bb4e25dd18c1ce25</id>
<content type='text'>
* [thread] Add rt_thread_close()

This patch introduces a new function `rt_thread_close()` to enhances the
usability and maintainability by providing a dedicated mechanism for
closing threads.

- A new function `rt_thread_close()` is added to the API, providing a
  standardized approach for closing threads.
- The `rt_thread_close()` function removes a thread from the thread
  queue, updates its status to indicate closure, and performs the thread
  timer detaching which is a embedded timer in thread object.
- Additionally, the `rt_thread_detach()` function is modified to utilize
  `rt_thread_close()` internally, streamlining the thread detachment
  process.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[kernel] move errno functions into klibc</title>
<updated>2024-04-20T04:57:17Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2024-03-30T06:31:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=792c3c0603f8d4dbadacee8b9e2bdca95be3a322'/>
<id>urn:sha1:792c3c0603f8d4dbadacee8b9e2bdca95be3a322</id>
<content type='text'>
</content>
</entry>
</feed>
