rt-thread-official/libcpu
Shell 9a27de92ae feat: smart: user space context optimization
This patch optimizes the user-space context handling in the ARM64
architecture, specifically improving how the context is saved and
restored during system calls and interrupts. The changes make the
code more efficient and easier to maintain, while ensuring proper
preservation of user context during system transitions.

Changes:
- Introduced a parameter for context saving to improve flexibility.
- Replaced hardcoded stack pointer operations with frame-relative
  references for better readability and code reuse.
- Simplified context restoration, removing redundant operations like
  loading/storing floating-point registers.

Signed-off-by: Shell <smokewood@qq.com>
2024-09-19 23:02:39 -04:00
..
aarch64 feat: smart: user space context optimization 2024-09-19 23:02:39 -04:00
arc [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
arm add readme files 2024-08-29 11:58:52 +08:00
avr32 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
blackfin [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
c-sky [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
ia32 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
m16c [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
mips [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
nios [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
ppc [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
risc-v [libcpu]优化rv构建脚本中选择vendor目录的判断条件 2024-09-18 22:00:35 -04:00
rx [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
sim [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
sparc-v8 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
ti-dsp [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
unicore32 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
v850 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
xilinx [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
Kconfig feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
SConscript [libcpu] Fix the build directory issue 2019-03-26 13:36:01 +00:00