<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/libcpu/risc-v/common64, branch v5.2.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/libcpu/risc-v/common64?h=v5.2.1</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/libcpu/risc-v/common64?h=v5.2.1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-05-30T06:06:28Z</updated>
<entry>
<title>[libcpu][risc-v]:add comment for the round down of symb_pc</title>
<updated>2025-05-30T06:06:28Z</updated>
<author>
<name>zhangjing</name>
<email>zhangjing@ultrarisc.com</email>
</author>
<published>2025-05-28T09:38:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9777a9662b777727411fd7783f9586b4736579fe'/>
<id>urn:sha1:9777a9662b777727411fd7783f9586b4736579fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libcpu][risc-v] fix:only map the 1GB space where the original code segment is located</title>
<updated>2025-05-30T06:06:27Z</updated>
<author>
<name>zhangjing</name>
<email>zhangjing@ultrarisc.com</email>
</author>
<published>2025-04-03T02:30:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3c2897fe9242b9d6f557b213a87d89a41047b04c'/>
<id>urn:sha1:3c2897fe9242b9d6f557b213a87d89a41047b04c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libcpu: riscv: declare external symbols inside</title>
<updated>2025-04-11T06:15:12Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-04-11T03:50:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=312f9dbc083b2e598d0f8d4ac0c3ed1d4760bd96'/>
<id>urn:sha1:312f9dbc083b2e598d0f8d4ac0c3ed1d4760bd96</id>
<content type='text'>
libcpu/risc-v/common64/mmu.c uses the external
symbol "__bss_end" (this symbol generally is
defined in the link script file) and depends
on the extern declaration of this symbol in
the bsp's "board.h". This is not a problem in
implementation, but it is not a good habit.

If this extern symbol is used locally, just
declare it locally should be better.

In this way, there will be no dependency of
the kernel core on the bsp header file. And
there will be no special requirements for the
bsp board code, such as the need to make
extern declarations for these "__bss_end"
symbols in "board.h".

This patch currently only explicitly externly
declares "__bss_end" inside libcpu itself.
The code of "#include &lt;board.h&gt;" is kept, because
the modification involved is too large, it is
necessary to clean up the bsp involved before
cleaning this include code line uniformly.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>libcpu: cleanup undefined rt_hw_mmu_kernel_map_init (#10177)</title>
<updated>2025-04-10T23:54:21Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-04-10T23:54:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5c9f61879c8e745c89aaa728cfd86e6e9e912914'/>
<id>urn:sha1:5c9f61879c8e745c89aaa728cfd86e6e9e912914</id>
<content type='text'>
* libcpu: cleanup undefined rt_hw_mmu_kernel_map_init

rt_hw_mmu_kernel_map_init() is declared in header files but
no definition found, cleanup the code.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;

* bsp: allwinner: d1: remove calling of rt_hw_mmu_kernel_map_init

rt_hw_mmu_kernel_map_init is an undefined function, calling it
is meaningless.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;

---------

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;</content>
</entry>
<entry>
<title>[libcpu][risc-v]add code for handling exception scenarios in _unmap_area.</title>
<updated>2025-03-17T09:40:55Z</updated>
<author>
<name>ligr</name>
<email>liguorui1213@163.com</email>
</author>
<published>2025-03-13T04:29:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9da813b1511fc61de192b6255d7a3abc030d3b54'/>
<id>urn:sha1:9da813b1511fc61de192b6255d7a3abc030d3b54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libcpu][risc-v]remove unused parameter 'size' for func _unmap_area.</title>
<updated>2025-03-17T09:40:55Z</updated>
<author>
<name>ligr</name>
<email>liguorui1213@163.com</email>
</author>
<published>2025-03-13T03:43:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b04aacbd9470e1aee0fe2dd0e6f06a520ea98d0d'/>
<id>urn:sha1:b04aacbd9470e1aee0fe2dd0e6f06a520ea98d0d</id>
<content type='text'>
Signed-off-by: ligr &lt;liguorui1213@163.com&gt;
</content>
</entry>
<entry>
<title>[libcpu][risc-v]add comments for rt_hw_mem_setup_early. (#10102)</title>
<updated>2025-03-12T01:40:46Z</updated>
<author>
<name>Guorui Li</name>
<email>liguorui1213@163.com</email>
</author>
<published>2025-03-12T01:40:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5a09694f05b3882a1e22cb4cbabdf8d4d031c4ec'/>
<id>urn:sha1:5a09694f05b3882a1e22cb4cbabdf8d4d031c4ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libcpu][risc-v]add comments for rv64 sv39 mmu APIs. (#10053)</title>
<updated>2025-03-01T16:03:13Z</updated>
<author>
<name>Guorui Li</name>
<email>liguorui1213@163.com</email>
</author>
<published>2025-03-01T16:03:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7f055925927700478e68a79b6b4dab270818ba6d'/>
<id>urn:sha1:7f055925927700478e68a79b6b4dab270818ba6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[bugfix][risc-v]fix the PPN length error in GET_PPN(pte). (#10020)</title>
<updated>2025-02-28T00:23:46Z</updated>
<author>
<name>Guorui Li</name>
<email>liguorui1213@163.com</email>
</author>
<published>2025-02-28T00:23:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8adae0725d9fa37665ad9b5d83359705b1a9bc8c'/>
<id>urn:sha1:8adae0725d9fa37665ad9b5d83359705b1a9bc8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libcpu: riscv: fixed ARCH_RISCV_VECTOR issue</title>
<updated>2025-02-22T19:17:54Z</updated>
<author>
<name>kenneth.liu</name>
<email>kenneth.liu@sophgo.com</email>
</author>
<published>2025-01-24T03:35:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2be83d5cadff3a3b7a3015b90ec138b7d4614627'/>
<id>urn:sha1:2be83d5cadff3a3b7a3015b90ec138b7d4614627</id>
<content type='text'>
description: Using the vector instruction set to trigger
an illegal instruction exception when ARCH_SISCV_VECTOR=y.

analysis: When initializing the thread stack,
the rt_cw_stack_init function did not enable VS for SSTATUS.

Solution: When ARCH_SISCV_VECTOR=y,
increment the initial value of sstatus by 0x600(SSTATUS_VS).

Signed-off-by: Liu Gui &lt;kenneth.liu@sophgo.com&gt;
</content>
</entry>
</feed>
