<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/src, 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?h=riscv64</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/src?h=riscv64'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2024-06-29T03:27:39Z</updated>
<entry>
<title>[src][thread]fix rt_thread_resume return value error (#9114)</title>
<updated>2024-06-29T03:27:39Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-06-29T03:27:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c018a3e3fd701402a4b83da614e79ea5ba66514d'/>
<id>urn:sha1:c018a3e3fd701402a4b83da614e79ea5ba66514d</id>
<content type='text'>
fix rt_thread_resume return value error</content>
</entry>
<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 warning in comment</title>
<updated>2024-06-25T17:21:57Z</updated>
<author>
<name>supperthomas</name>
<email>78900636@qq.com</email>
</author>
<published>2024-06-25T02:20:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=038ff8b2e502133e931c70e93e751f13637932ac'/>
<id>urn:sha1:038ff8b2e502133e931c70e93e751f13637932ac</id>
<content type='text'>
kservice.c:474: warning: The following parameter of rt_backtrace_to_buffer(rt_thread_t thread, struct rt_hw_backtrace_frame *frame, long skip, rt_ubase_t *buffer, long buflen) is not documented:
  parameter 'thread'
kernel.h:157: warning: unable to resolve reference to '_rt_errno' for \ref command

Signed-off-by: supperthomas &lt;78900636@qq.com&gt;
</content>
</entry>
<entry>
<title>[timer]add all soft timer config (#9048)</title>
<updated>2024-06-19T20:20:38Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-06-19T20:20:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=59193dfeeb25a781288ef242d2dcc9e67925b064'/>
<id>urn:sha1:59193dfeeb25a781288ef242d2dcc9e67925b064</id>
<content type='text'>
* add all soft timer

* update wq

* add timer test

* shield LOG_D</content>
</entry>
<entry>
<title>[libcpu] rv64: support for ARCH_REMAP_KERNEL (#9067)</title>
<updated>2024-06-18T03:15:59Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-06-18T03:15:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=65c99472253051521eaa5a670085b2cc0da4be3e'/>
<id>urn:sha1:65c99472253051521eaa5a670085b2cc0da4be3e</id>
<content type='text'>
* [libcpu] support for ARCH_REMAP_KERNEL

These changes introduce support for the ARCH_REMAP_KERNEL configuration,
which isolates kernel space in high virtual address regions. This feature
is necessary to enhance memory protection and management by segregating
user and kernel spaces more effectively.

Changes:
- Updated conditional macros to check for ARCH_REMAP_KERNEL instead of
  ARCH_KERNEL_IN_HIGH_VA in board initialization files to reflect the new
  configuration option.
- Modified qemu-virt64-riscv Kconfig and SConstruct files to include and
  utilize ARCH_REMAP_KERNEL.
- Created a new linker script `link_smart.lds` for smart linking in qemu-virt64-riscv.
- Updated rtconfig.py to use a more flexible execution path setup.
- Enhanced user address space definitions in `lwp_arch.h` to support the
  new virtual address mappings.
- Adjusted kernel memory initialization and mapping logic in `c906/mmu.c`
  and `virt64/mmu.c` to account for high virtual address regions.
- Added Kconfig option to enable ARCH_REMAP_KERNEL for RISCV64 architectures.
- Enhanced memory setup functions to support new mapping scheme, including
  updates to early page table setup and address relocation logic.

These modifications ensure that the system can utilize high memory
addresses for the kernel, improving memory isolation and system stability.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* fixup: CI run failed

* bsp: default config without using smart

* fixup: static checks

* restore rt_hw_mmu_kernel_map_init for D1

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[src][kservice]fix shutdown log (#9061)</title>
<updated>2024-06-13T08:09:56Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-06-13T08:09:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1e287b2591c1d9d75f80aa932077b867f0b2ac50'/>
<id>urn:sha1:1e287b2591c1d9d75f80aa932077b867f0b2ac50</id>
<content type='text'>
fix shutdown log</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>[smart] add CPU/thread usage tracing config (#8947)</title>
<updated>2024-06-03T16:06:41Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-06-03T16:06:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6ca327d8ce1d9c98204ab7c6d62123cfd5e12dcf'/>
<id>urn:sha1:6ca327d8ce1d9c98204ab7c6d62123cfd5e12dcf</id>
<content type='text'>
* [smart] add CPU usage tracing config

This patch introduces following features:

- Added CPU usage tracing functionality, enabled by default, for
  applications like 'top'
- update time as smart independent

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* fixup: add ump idle thread

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[IDLE] 修改注释,避免造成歧义 (#9010)</title>
<updated>2024-05-29T14:18:13Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2024-05-29T14:18:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8e54e31c7437893c849aa192101bcaa441fd004b'/>
<id>urn:sha1:8e54e31c7437893c849aa192101bcaa441fd004b</id>
<content type='text'>
</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>
</feed>
