<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/libcpu, branch riscv64</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/libcpu?h=riscv64</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/libcpu?h=riscv64'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2024-07-11T03:46:26Z</updated>
<entry>
<title>feat: support ARCH_REMAP_KERNEL on libcpu/c906 (#9123) (#9171)</title>
<updated>2024-07-11T03:46:26Z</updated>
<author>
<name>heyuanjie87</name>
<email>sc943313837@gmail.com</email>
</author>
<published>2024-07-11T03:46:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=908f8034732a3fbe485f54e7543dc1934410a990'/>
<id>urn:sha1:908f8034732a3fbe485f54e7543dc1934410a990</id>
<content type='text'>
feat: [libcpu/c906] support ARCH_REMAP_KERNEL

This change was necessary to enable the remapping of the kernel image to
a high virtual address region on the c906 platform.

Changes:
- Introduced new configuration options `ARCH_REMAP_KERNEL`, and
  `ARCH_USING_ASID` under the `ARCH_RISCV64` section.
- Updated MMU initialization and switching functions to incorporate
  remapping handling.
- Modified page table setup for proper memory attribute settings.
- Added support for early memory setup, kernel remapping
- Added conditional compilation for ASID support in the `rt_aspace` struct,
  since this is not enable currently for most architecture.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: Shell &lt;smokewood@qq.com&gt;</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>
<entry>
<title>[libcpu][aarch64]mmu log fixup (#9078)</title>
<updated>2024-06-26T06:37:05Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-06-26T06:37:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ca35f6692cfa6810df3e1a1ab3052913bf5bfa99'/>
<id>urn:sha1:ca35f6692cfa6810df3e1a1ab3052913bf5bfa99</id>
<content type='text'>
mmu log fixup</content>
</entry>
<entry>
<title>[libcpu][aarch64]memory setup using memblock (#9092)</title>
<updated>2024-06-26T06:36:49Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-06-26T06:36:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b785ef9ed76fcf97d3f2d59e02bfaa8b5f6cc74e'/>
<id>urn:sha1:b785ef9ed76fcf97d3f2d59e02bfaa8b5f6cc74e</id>
<content type='text'>
* memory setup using memblock

* map pages later</content>
</entry>
<entry>
<title>[libcpu/c906]与virt同步 (#9095)</title>
<updated>2024-06-26T04:16:37Z</updated>
<author>
<name>heyuanjie87</name>
<email>sc943313837@gmail.com</email>
</author>
<published>2024-06-26T04:16:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b09a9784f99801a76d44fe1ceb33e371322de0dd'/>
<id>urn:sha1:b09a9784f99801a76d44fe1ceb33e371322de0dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[rv]修正signal退出后用户态sp少8的问题 (#9080)</title>
<updated>2024-06-24T13:36:32Z</updated>
<author>
<name>heyuanjie87</name>
<email>943313837@qq.com</email>
</author>
<published>2024-06-24T13:36:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a5a89c439f905f68fee98f7b329b348a1c2171b3'/>
<id>urn:sha1:a5a89c439f905f68fee98f7b329b348a1c2171b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[rv]信号处理进入用户态前恢复gp (#9072)</title>
<updated>2024-06-21T01:09:41Z</updated>
<author>
<name>heyuanjie87</name>
<email>sc943313837@gmail.com</email>
</author>
<published>2024-06-21T01:09:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=06ad67d549533e11fd3a2488ee776e36441a4d27'/>
<id>urn:sha1:06ad67d549533e11fd3a2488ee776e36441a4d27</id>
<content type='text'>
* [rv/virt/stackframe.h]添加GP寄存器保存偏移量宏

* 【rv/c906/stackframe.h]定义GP寄存器存储偏移量

* [rv]信号处理切换到用户态前恢复gp</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>[bsp/phytium]c++支持，gpio，qspi驱动修改 (#9059)</title>
<updated>2024-06-16T07:42:37Z</updated>
<author>
<name>zhangyan</name>
<email>103986797+messigogogo@users.noreply.github.com</email>
</author>
<published>2024-06-16T07:42:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=842b555358a507c05ebdd4ee065177a69745fdaf'/>
<id>urn:sha1:842b555358a507c05ebdd4ee065177a69745fdaf</id>
<content type='text'>
* GPIO驱动与QSPI驱动适配

* C++支持

* update

---------

Co-authored-by: 张衍 &lt;zhangyan1491@phytium.com.cn&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>
</feed>
